Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Commenting out TEXT_DATE_ADDED


marcygiff

Recommended Posts

Posted

When I comment out the define('TEXT_DATE_ADDED', 'This product was added to our catalog on %s.'); on the product_info.php file, it replaces the text w/ just TEXT_DATE_ADDED. How do I get this to be completely removed?

Posted

catelog/product_info.php find this code

	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
}
?>

delete this part

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

My Contributions

 

Stylesheet With Descriptions Glassy Grey Boxtops Our Products Meta Tags On The Fly

Password Protect Admin

"No matter where you go....There you are" - Buccaroo Bonsai

Archived

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

×
×
  • Create New...