Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Remove price from Whats New Box


Kanaka_1

Recommended Posts

I need to remove the price from the What's New box as I have product attributes defining the price of products (small medium large) so currently it shows the base price which is $0.00

 

thanks :thumbsup:

Link to comment
Share on other sites

Hi

 

Go to catolog/includes/boxes.whats_new.php find

 '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);

 

at approx. line 36 and remove the $whats_new_price variable

 . $whats_new_price

 

Cheers

Katie

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...