Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

New Products Page


designerdecor

Recommended Posts

I am trying to delete the date added which shows up on the New Products page, I have tried everything I've seen in all the posts I've read but it's still there, it's only on the new products page next to the image just under the product name, all I show is Date Added and manufacture, does anyone know how I can remove that?

 

Thanks for any help,

Kelly

Link to comment
Share on other sites

I am trying to delete the date added which shows up on the New Products page, I have tried everything I've seen in all the posts I've read but it's still there, it's only on the new products page next to the image just under the product name, all I show is Date Added and manufacture, does anyone know how I can remove that?

 

Thanks for any help,

Kelly

 

 

Open: cataloge/products_new.php

 

 

Find this: ' . TEXT_DATE_ADDED . ' ' . tep_date_long($products_new['products_date_added']) . '

 

and remove it, then upload the file to your server and that`s it!

Link to comment
Share on other sites

I got it! just in case anyone has had the same problem here is what I did:

 

In catalog/products_new.php around line 98 I have removed the following in bold and replaced it with quotes between the dots like this:

 

here is the line of code I altered:

 

 

<td valign="top" class="main" bgcolor="191E21"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_new['products_id']) . '"><b><u>' . $products_new['products_name'] . '</u></b></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 changed to this:

 

 

<td valign="top" class="main" bgcolor="191E21"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_new['products_id']) . '"><b><u>' . $products_new['products_name'] . '</u></b></a><br>' . ' ' . ' ' . '' . '<br>' . TEXT_MANUFACTURER . ' ' . $products_new['manufacturers_name'] . '<br><br>' . TEXT_PRICE . ' ' . $products_price; ?></td>

 

This is what I did to remove the date added text from the New Products Page, hope this helps anyone who has had the same problem

 

Good Luck!!!!

 

Kelly

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...