Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

I don?t wanna show when the product came in - how?


muuseec

Recommended Posts

Posted

I don?t wanna show when the product was entered in the catalog.

On the product info page, that is.

 

Does anyone one where to disable this...?

 

Would be happy for help! :)

Information overload!

Posted
I don?t wanna show when the product was entered in the catalog.

On the product info page, that is.

 

Does anyone one where to disable this...?

 

Would be happy for help! :)

 

In your (catalog)/product_info.php look for

	if ($product_info['products_date_available'] > date('Y-m-d H:i:s')) {
?>
  <tr>
	<td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available'])); ?></td>
  </tr>
<?php
} else {
?>
  <tr>
	<td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td>
  </tr>
<?php
}
?>

Comment out the date added part by ie.

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

Archived

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

×
×
  • Create New...