[email protected] Posted October 20, 2005 Posted October 20, 2005 Anyone know how to stop the price from showing up on the products in the new products module. Seems like it should be easy but, i keep deleting slightly the wrong thing - all ive managed is to set all prices to 0!!1 Thanks Dan
kgt Posted October 20, 2005 Posted October 20, 2005 Sounds like you successfully removed the lines that query the database for price, but didn't remove the part where price is displayed. I believe my code is modified, so yours may look slightly different: $info_box_contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $random_product['products_image'], $random_product['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $random_product['products_id']) . '">' . $random_product['products_name'] . '</a><br>' . $whats_new_price); You need to remove that very last part. $random_product['products_name'] . '</a><br>' . $whats_new_price); to $random_product['products_name'] . '</a>'); Contributions Discount Coupon Codes Donations
Recommended Posts
Archived
This topic is now archived and is closed to further replies.