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

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...