fleeced Posted October 14, 2005 Posted October 14, 2005 Hi, Does anyone know how I can have the price not showing in the "New Products For October" box on the front page. I have tried to edit the code out of line includes>modules>products_new.php on line 33. Has anyone any ideas? Here is the code I think I should be editing from line 33 'text' => '<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']))); Thanks Ed
fleeced Posted October 15, 2005 Author Posted October 15, 2005 If I remove the follwing line I get a MySQL error $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id']))); Hi, Does anyone know how I can have the price not showing in the "New Products For October" box on the front page. I have tried to edit the code out of line includes>modules>products_new.php on line 33. Has anyone any ideas? Here is the code I think I should be editing from line 33 'text' => '<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']))); Thanks Ed
Recommended Posts
Archived
This topic is now archived and is closed to further replies.