Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to remove "This product was added to our catalog on..."


ramystyle123

Recommended Posts

Posted

Hello,

 

I would like to remove the following in each Product "This product was added to our catalog on Thursday 10 April, 2008."

 

Is there a way to do so ?

 

Thanks

 

Ramy

Posted
Hello,

 

I would like to remove the following in each Product "This product was added to our catalog on Thursday 10 April, 2008."

 

Is there a way to do so ?

 

Thanks

 

Ramy

 

Hey,

in product_info.php in catalog dir, find and remove:

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

Making ERROR is Human So Please BACKUP

Shantnu

Posted

Wahoooo! Glad to get rid of that! Thanks!!

Posted
Hey,

in product_info.php in catalog dir, find and remove:

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

 

I don't really want to remove it, so I tried to remark it out by doing this:

 

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

 

Still showed up. How do I do it with out completely removing it?

 

Thanks,

Verne

Posted

I must have my head firmly inserted you know where. I have changed the code in product_info.php to:

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

 

and this: Date Added: Wednesday 16 August, 2006 still shows up. What am I missing here

Posted

ALSO comment-out the php statement like you did first...

osC v2.2 RC2a w/ no special templates

PHP Version 5.2.14 / MySQL 5.0.91-community

Posted

I did as jgeoff suggested:

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

On the new products page I still get:

 

Arm Chair - Willow Weave - Straight Arm

Date Added: Wednesday 16 August, 2006

Manufacturer: Quisco Cacti Inlaid Furniture

 

I am editing catalog/product_info.php. Am I editing the wrong file possibly?

 

Thanks,

Verne

Posted
On the new products page I still get:

 

Arm Chair - Willow Weave - Straight Arm

Date Added: Wednesday 16 August, 2006

Manufacturer: Quisco Cacti Inlaid Furniture

 

I am editing catalog/product_info.php. Am I editing the wrong file possibly?

 

Thanks,

Verne

 

You edited the products_info.php page so it's not showing up there, right?

You'll have to do the same to products_new.php to change the other page... ;)

osC v2.2 RC2a w/ no special templates

PHP Version 5.2.14 / MySQL 5.0.91-community

Posted
You edited the products_info.php page so it's not showing up there, right?

You'll have to do the same to products_new.php to change the other page... ;)

 

I went to products_new.php to line 89 and moved

TEXT_DATE_ADDED . ' ' . tep_date_long($products_new['products_date_added

to the end and remarked it out. Now the code looks like

<td valign="top" class="main"><?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 . '<br><br>' // . TEXT_DATE_ADDED . ' ' . tep_date_long($products_new['products_date_added']) ; ?></td>

And that removed the Date Added line on the new products page.

 

Never have had to do this before, but things have changed and I am slowly but surely learning this code thing.

 

Thanks for everything. Everyone in this forum is awesome.

 

Verne

Archived

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

×
×
  • Create New...