nerry Posted August 28, 2010 Posted August 28, 2010 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
Jan Zonjee Posted August 28, 2010 Posted August 28, 2010 Can anyone help me. I think it is line 30 in your featured products.
nerry Posted August 28, 2010 Author Posted August 28, 2010 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-
Guest Posted August 28, 2010 Posted August 28, 2010 Mohd, Open featured_products.php and on line 30 you will find the code you need to edit to remove the description. Chris
Jan Zonjee Posted August 28, 2010 Posted August 28, 2010 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".
Guest Posted August 28, 2010 Posted August 28, 2010 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
Jan Zonjee Posted August 28, 2010 Posted August 28, 2010 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 :)
Guest Posted August 28, 2010 Posted August 28, 2010 Jan, True, but I assume that code will be CLOSE to line 101 even on a template site. Chris
Recommended Posts
Archived
This topic is now archived and is closed to further replies.