interactiveid Posted May 4, 2007 Share Posted May 4, 2007 I have a website www.giffordstreetfabrics.com that in the shopping cart has a date under the product when it was uploaded. I had paid to have someone program the ability to do a batch upload along with a CSV upload. My products are newer that what is on the listed date like the example below. How do you turn off the date so it will not appear or have the ability to disable the date upload? Need help ASAP!! This product was added to our catalog on Tuesday 30 November, 1999. If you do know, please feel free to email me at the email address below. Thank you all for you time. Will [email protected] Link to comment Share on other sites More sharing options...
oschellas Posted May 4, 2007 Share Posted May 4, 2007 It is hard coded in your product_info.php file like this: 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 } ?> You could change it to something like this: 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 } ?> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.