Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

remove the This product was added to our catalog on.


Guest

Recommended Posts

hi i have a store

http://shop.kb-online.co.uk - my live store

http://kb-online.co.uk/shoptester - a clone with a new template, working on new design / look

 

i require to remove the 'This product was added to our catalog on.' in the product info page.

due to i don't use it, and products get updated weekly so it changes that, and i personal don't like it

i have looked high and low in the product_info.php tested ways, no luck.

 

also looked all over the forms.

 

cheers

Link to comment
Share on other sites

catalog/product_info.php

 

Find the below statement and comment it out as I have done:

 

<?php /*

 

<tr>

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

</tr>

 

*/ ?>

Link to comment
Share on other sites

get this error

Parse error: syntax error, unexpected $end in /home/kbonline/public_html/shoptester/product_info.php on line 331

see http://kb-online.co.uk/shoptester

 

i have undo it !

 

as you can see there is two, due to the new template ill copy some of the php

 

<?php
   }

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

 

which is above the <!-- Pricematch //--> code

and

 

<?
   if ($product_info['products_date_available'] > date('Y-m-d H:i:s'))
    echo sprintf(TEXT_DATE_AVAILABLE, tep_date_long($product_info['products_date_available']));
   else 
    echo sprintf(TEXT_DATE_ADDED, tep_date_long($product_info['products_date_added']));
?>   

 

also found this

 

<?php
 } else {
   $product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_quantity, p.products_image, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'");
   $product_info = tep_db_fetch_array($product_info_query);

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...