bev123 Posted January 1, 2005 Posted January 1, 2005 I am not a php programmer but I've managed to fight my way around the shopping cart page. I need to get rid of the osCommerce banner and replace it with my own. I've seen posts that speak to this but they do not say exactly where to place the code and exactly what to delete. Can someone give me a detailed example on how to customize the shopping cart to match the rest of my site? Thanks :-"
Guest Posted January 1, 2005 Posted January 1, 2005 theres a number of ways #1 is to edit your store front HTML file go into index.php i believe #2 is right click on the banner find the source of hte image, then go into the FTP and repalce it with your own graphic (should be catalog/images/oscommerce.gif) if you're talking about the banner at the bototm just hop into the admin screen there should be a banner where you can change the bottom banner to whatever banners you might want on your site.
bev123 Posted January 1, 2005 Author Posted January 1, 2005 Thanks for your help! But I am not a PHP programmer. Can someone tell me WHERE in the index.php file I would find the HTML that determines the top banner? I've searched but I can't determine what code does this. Also can someone tell me exactly where the catalog/images/oscommerce.gif resides and what code to look for? Thanks :-" theres a number of ways #1 is to edit your store front HTML file go into index.php i believe #2 is right click on the banner find the source of hte image, then go into the FTP and repalce it with your own graphic (should be catalog/images/oscommerce.gif) if you're talking about the banner at the bototm just hop into the admin screen there should be a banner where you can change the bottom banner to whatever banners you might want on your site. <{POST_SNAPBACK}>
Guest Posted January 2, 2005 Posted January 2, 2005 if you don't want to touch the php files at all I'd say opt for #2 go on your FTP or filemanager and replace catalog/images/oscommerce.gif with your own file all you have to do is rename your file oscommerce.gif then replace it +if your file is .jpg you can still rename it... and have it work, but its probably advisable to actually save the file as .gif *
ozcsys Posted January 2, 2005 Posted January 2, 2005 Thanks for your help! But I am not a PHP programmer. Can someone tell me WHERE in the index.php file I would find the HTML that determines the top banner? I've searched but I can't determine what code does this. Also can someone tell me exactly where the catalog/images/oscommerce.gif resides and what code to look for? Thanks :-" <{POST_SNAPBACK}> The problem is the code is not in your index.php file but your includes/header.php file, look for the following <td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td> Now you can as suggested just change the name of your logo file to oscommerce.gif but then whenever a customers cursor is over the logo osCommerce will come up instead of your store name. To change it to your info all you need to do is change the oscommerce.gif to the name of your logo image file and upload the image file to your images folder and change osCommerce to the name of your store. Make sure you do not remove any of the quotes ' ' just change the text inside them. You can use notepad to make your changes but if you are going to do much editing I would get a php editor, there are plenty of free ones out there. The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
Guest Posted January 2, 2005 Posted January 2, 2005 There are also banner options in the admin section under Tools
ozcsys Posted January 2, 2005 Posted January 2, 2005 There are also banner options in the admin section under Tools <{POST_SNAPBACK}> That is for the banner in the footer that links to other sites, it does not affect your store logo. The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
bev123 Posted January 3, 2005 Author Posted January 3, 2005 Oh thank you, thank you so much !!!!! This is exactly what I needed to know! My next steps are: 1) To get rid of the tables/boxes on the right hand side of the page. 2) Change the font style and size in the catalogs table. When you have a moment, could you give me direction on that as well??? Thanks :D The problem is the code is not in your index.php file but your includes/header.php file, look for the following<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td> Now you can as suggested just change the name of your logo file to oscommerce.gif but then whenever a customers cursor is over the logo osCommerce will come up instead of your store name. To change it to your info all you need to do is change the oscommerce.gif to the name of your logo image file and upload the image file to your images folder and change osCommerce to the name of your store. Make sure you do not remove any of the quotes ' ' just change the text inside them. You can use notepad to make your changes but if you are going to do much editing I would get a php editor, there are plenty of free ones out there. <{POST_SNAPBACK}>
Recommended Posts
Archived
This topic is now archived and is closed to further replies.