Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Removing Product Added Date


ecgbyme

Recommended Posts

Posted

Would someone be kind enough to let me know what .php file I would be able to get rid of the 'This Product was Added on ......' from the bottom of the product pages.

Appreciate any help!! B)

Posted

Hi,

 

In eather catalog/product_info.php or in catalog/includes/languages/english/product_info.php do a search for TEXT_DATE_ADDED (there should be only on result).

 

You could change the language file easely to empty quotes..like this:

 

define('TEXT_DATE_ADDED', 'This product was added to our catalog on %s.');

 

TO

 

define('TEXT_DATE_ADDED', ' ');

 

Or in the catalog/product_info change:

 

<td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td>

 

TO

 

<td align="center" class="smallText"><?php //echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td>

 

That should get you where you want.

 

Kind Regards,

Tom

Even in this dark place, yes, I am afraid of my own shadow.

 

 

 

Contributions | KnowledgeBase | osCommerce 2.2 pdf

Archived

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

×
×
  • Create New...