Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I remove 'This product added to catalog.. on date"


beachcomber1999

Recommended Posts

Posted

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.

Posted

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....

Posted

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

Posted

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.

Posted

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....

Posted
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....

Posted

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

Posted

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....

Posted

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

Archived

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

×
×
  • Create New...