beachcomber1999 Posted January 18, 2007 Posted January 18, 2007 How do I remove the line "This product added to catalog on ... date" at the bottom of product description? Can someone please advise what file to look in and what to comment out. Thanks.
jonquil Posted January 18, 2007 Posted January 18, 2007 admin\includes\languages\english\categories.php Line 36: define('TEXT_PRODUCT_DATE_ADDED', 'This product was added to our catalog on %s.'); includes\languages\english\product_info.php Line 16: define('TEXT_DATE_ADDED', 'This product was added to our catalog on %s.'); jon It's all just ones and zeros....
xtreme-mobile Posted January 18, 2007 Posted January 18, 2007 ive just done this and now it displays TEXT_DATE_ADDED how do i get rid of this please :D Visit my website in my profile for prices on woodburning stoves
Guest Posted January 18, 2007 Posted January 18, 2007 in product_info.php find the following : <tr> <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td> </tr> and delete it - or comment it out.
jonquil Posted January 18, 2007 Posted January 18, 2007 Comment out the lines (//). admin\includes\languages\english\categories.php Line 36: //define('TEXT_PRODUCT_DATE_ADDED', 'This product was added to our catalog on %s.'); includes\languages\english\product_info.php Line 16: //define('TEXT_DATE_ADDED', 'This product was added to our catalog on %s.'); jon It's all just ones and zeros....
jonquil Posted January 18, 2007 Posted January 18, 2007 in product_info.php find the following :and delete it - or comment it out. Brian, Which technique is the better solution? I'm not trying to be funny. jon (learning mode!) It's all just ones and zeros....
xtreme-mobile Posted January 18, 2007 Posted January 18, 2007 um guys ive done what has been said and it just simply displays the words TEXT_DATE_ADDED how do i just remove those words? Visit my website in my profile for prices on woodburning stoves
jonquil Posted January 18, 2007 Posted January 18, 2007 I don't know. As a dirty workaround until a solution is found, put a space between the ' and '. admin\includes\languages\english\categories.php Line 36: define('TEXT_PRODUCT_DATE_ADDED', ' '); includes\languages\english\product_info.php Line 16: define('TEXT_DATE_ADDED', ' '); jon It's all just ones and zeros....
beachcomber1999 Posted January 19, 2007 Author Posted January 19, 2007 Thanks to everyone. I also commented out the following from product_info.php <?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added])); and commented out the following from products_new.php <br>'. TEXT_DATE_ADDED. ' ' . tep_date_long($products_new['products_date_added'] . ' Cheers from NZ
Recommended Posts
Archived
This topic is now archived and is closed to further replies.