elton123 Posted June 11, 2011 Share Posted June 11, 2011 Hi I would like to remove the "date added" from all listings on the front-end of the shop. How does one remove this code from osc 2.3.1? Regards Elroy Link to comment Share on other sites More sharing options...
NodsDorf Posted June 11, 2011 Share Posted June 11, 2011 What page are you seeing this on? I'm not seeing this in 2.3.1 In 2.2 catalog>>product_info.php Find <td align="center" class="smallText"><?php echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td> Replace with <!-- Don't Display This <td align="center" class="smallText"><?php //echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added'])); ?></td> --> Link to comment Share on other sites More sharing options...
elton123 Posted June 12, 2011 Author Share Posted June 12, 2011 Hi products_new.php Link to comment Share on other sites More sharing options...
NodsDorf Posted June 12, 2011 Share Posted June 12, 2011 Products New is an info box usually in the left column. You can disable it by going to admin>>modules>>boxes>>whats new set to false. Unless I'm missing something I do not see any spot in 2.3.1 where something has the products date added tag. Have you installed any modules or do you care to share a link to a page that has this information? Link to comment Share on other sites More sharing options...
elton123 Posted June 12, 2011 Author Share Posted June 12, 2011 Hi I solved it. In catalog/products_new.php <td valign="top" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_new['products_id']) . '"><strong><u>' . $products_new['products_name'] . '</u></strong></a><br />' . TEXT_DATE_ADDED . ' ' . tep_date_long($products_new['products_date_added']) . '<br />' . TEXT_MANUFACTURER . ' ' . $products_new['manufacturers_name'] . '<br /><br />' . TEXT_PRICE . ' ' . $products_price; ?></td> I deleted the highlighted code and it works now. Thank You. Regards Elroy Link to comment Share on other sites More sharing options...
NodsDorf Posted June 12, 2011 Share Posted June 12, 2011 That isn't version 2.3.1 Just so you are aware. In 2.3.1 its located at includes/modules/boxes/bm_whats_new.php You must be using 2.2 would have been able to help sooner had I had that info. Glad you found it though, Take Care Link to comment Share on other sites More sharing options...
elton123 Posted June 12, 2011 Author Share Posted June 12, 2011 Hi Installed Version: osCommerce Online Merchant v2.3.1 Regards Elroy Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.