Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Remove Description In Featured Product


nerry

Recommended Posts

Posted

I got problem in my featured product list at main page. It showing the same description between products instead of showing the particular description that I have set while insert the product. So, I plan to remove the description at featured product so that it shows only image and price plus add to chart and detailed button.

 

www.nicheniaga.com

 

Can anyone help me. TQ

 

Nerry

Posted

I think it is line 30 in your featured products.

 

Hi Jan,

 

Tnhanks for reply. I dont really undestand. Is there anything to edit in which file. TQ

 

Nerry-

Posted

Mohd,

 

Open featured_products.php and on line 30 you will find the code you need to edit to remove the description.

 

 

 

 

Chris

Posted

Open featured_products.php and on line 30 you will find the code you need to edit to remove the description.

I was just joking about the line 30. Just wanted to bring home the fact that we are not psychic and cannot find errors in PHP code that we don't "see".

Posted

Jan,

 

OH....I thought that you were all knowing and god like.......... :D

 

 

Mohd,

 

Ok, so it is Line 101 actually, you will see this:

 

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

 

You can remove the products name, as there is NO description in the featured products box.

 

 

 

Chris

Posted

Ok, so it is Line 101 actually, you will see this:

Actually, he is using a template. No telling how the person who made it messed up the code :)

Posted

Jan,

 

True, but I assume that code will be CLOSE to line 101 even on a template site.

 

 

 

Chris

Archived

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

×
×
  • Create New...