jwalker Posted June 6, 2007 Posted June 6, 2007 Hello When someone clicks on a product it states, "This product was added to our catalog on. . .", how do we remove that? :huh:
beano Posted June 6, 2007 Posted June 6, 2007 Hello When someone clicks on a product it states, "This product was added to our catalog on. . .", how do we remove that? :huh: It can be commented out or deleted from within your product_info.php page
Guest Posted June 6, 2007 Posted June 6, 2007 In catalog/product_info.php you will see about line 197 <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td> </tr> Change to <tr> <td align="center" class="smallText"><?php// echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td> </tr> Note the addition of the // (<?php// echo sprintf). You can comment out any php function this way. To find the part you are looking for you need to find the text that is displayed. In this case "his product was added to our catalog on", which is in the corresponding english language file (catalog/includes/languages/product_info.php). There you will see the text define('TEXT_DATE_ADDED', 'This product was added to our catalog on %s.'); Then you look in catalog/product_info.php for the part that says "TEXT_DATE_ADDED". Then comment out as shown above. Make sure you backup first and also find all instances of the text you need to locate.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.