Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Is it possible to add image next to Category and Product Titles?


Recommended Posts

Is it possible to add gif image added to left of the Category Titles and/or Product Titles?


I’ve added a cute gif on my main page next to the Heading Title by going into includes/languages/english/index.php.

I'd like to use the same gif next to Category Titles and Product Titles. Is this possible?


If so, where would I go to add the code?

And would I use the same format that I used to add it to the Heading Title?


I've tried adding the same code next to Product Name and All Categories ... but that didn't work. Any suggestions?




Coding in index.php reads as follows:






osCommerce, Open Source E-Commerce Solutions



Copyright © 2007 osCommerce


Released under the GNU General Public License



define('TEXT_MAIN', '');

define('TABLE_HEADING_NEW_PRODUCTS', 'Newest Designs');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

define('HEADING_TITLE', tep_image(DIR_WS_IMAGES . 'mouse.gif', NULL, NULL, NULL, 'style="vertical-align: middle; border: none;"') . ' "The perfect gift is only minutes away!"');

define('TABLE_HEADING_IMAGE', '');

define('TABLE_HEADING_MODEL', 'Model');

define('TABLE_HEADING_PRODUCTS', 'Product Name');

define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');

define('TABLE_HEADING_QUANTITY', 'Quantity');

define('TABLE_HEADING_PRICE', 'Price');

define('TABLE_HEADING_WEIGHT', 'Weight');

define('TABLE_HEADING_BUY_NOW', 'Buy Now');

define('TEXT_NO_PRODUCTS', 'Products will be available soon.');

define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');

define('TEXT_SHOW', '<strong>Show:</strong>');

define('TEXT_BUY', 'Buy 1 \'');

define('TEXT_NOW', '\' now');

define('TEXT_ALL_CATEGORIES', 'All Categories');

define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');



Any help would be greatly appreciated.


Thank you.

Link to comment
Share on other sites

You are editing the language file for index.php. That is not typically where you make design changes.


If you want to add it to pages such as http://www.jewellsembroidery.com/shop/index.php?cPath=22 then you will have to edit the actual index.php program and find where it display the category name and add it there. Or you could use it as the Category Image and load it via Admin.


If you want to add it to product pages then you need to edit the product_info program



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...