Guest Posted July 16, 2003 Share Posted July 16, 2003 Good afternoon! I have a quick question and hope that someone can help me. In some categories that I have listed on a site for one of my clients, there is no products at this time. I have created a coming soon image. My question is how do I get that image to display where there are no products listed? Thanks, EPar Link to comment Share on other sites More sharing options...
Rumble Posted July 16, 2003 Share Posted July 16, 2003 Open catalog/includes/languages/english/default.php and replace define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.'); with......... define('TEXT_NO_PRODUCTS', tep_image(DIR_WS_IMAGES . 'comingsoon.gif', 'Coming Soon', '', '')); where comingsoon.gif is the name of your coming soon image, uploaded to catalog/images/ folder. Back up before you try! Reddy to Rumble Thank you osCommerce and all who Contribute to her! Link to comment Share on other sites More sharing options...
Guest Posted July 16, 2003 Share Posted July 16, 2003 Go in administration/catalog/categories/products and edit each categorie that you want that image and insert it there HTH The_Bear Link to comment Share on other sites More sharing options...
Rumble Posted July 16, 2003 Share Posted July 16, 2003 I think Epar wanted the image to appear in empty category pages ie a category where no products are available yet! Unless i read it wrong!? Reddy to Rumble Thank you osCommerce and all who Contribute to her! Link to comment Share on other sites More sharing options...
Guest Posted July 16, 2003 Share Posted July 16, 2003 Thanks so much for the help. This post is what I needed. Now when a person clicks on a category that has no products uploaded, they will see an image instead of There are no products to list in this category This really helped! Open catalog/includes/languages/english/default.php and replace Code: define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.'); with......... Code: define('TEXT_NO_PRODUCTS', tep_image(DIR_WS_IMAGES . 'comingsoon.gif', 'Coming Soon', '', '')); where comingsoon.gif is the name of your coming soon image, uploaded to catalog/images/ folder. Back up before you try! _________________ Reddy to Rumble Thank you osCommerce and all who Contribute to her! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.