Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Removing product added date


pctechiejosh

Recommended Posts

Posted

comment it out in the relevant file or delete the line altogether.

Your online success is Paramount.

Posted

where does it appear - is it the product info page ?

Your online success is Paramount.

Posted

yes, it's appearing on the product info page, when the customer chooses a product. But i looked at the code and didn't see anything, perhaps i overlooked it though

Posted
what relevant file are you referring to?

When trying to figure out what file to modify you should just look in the url address bar of you browser. In this case it should include /product_info.php so that is the file you are going to want to make the changes to.

 

On or about line 199 you will see

 

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

 

You can change it to

 

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

 

or remove it altogether.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted

yea, that's where it's at, I figured that out, but I couldn't figure out where the comment went, so I took out the code completely. Thanks for the help.

Archived

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

×
×
  • Create New...