Suvi2208 Posted May 10, 2011 Share Posted May 10, 2011 Hi all, I need to add the sub categories to the new products -list, right below the product image. I guess I need some bit of code in my includes/modules/new_products.php, somewhere here, before . $new_products['products_name'] . maybe. $new_prods_content .= '<td width="25%" align="center" valign="top"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $new_products['products_image'], $new_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br /><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $new_products['products_id']) . '">' . $new_products['products_name'] . '</a><br />' . $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])) . '</td>'; Is that right? What would it be? How can I tell it to look for the sub category name, not the parent category? Any help highly appreciated :) Suvi Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.