Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Date Added


elton123

Recommended Posts

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

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

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

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

Archived

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

×
×
  • Create New...