Jump to content
Sign in to follow this  
late

Hide Price if $0 problem

Recommended Posts

hi all!

 

i've installed Eric Montgomey's 'Hide Price if $0' contribution, but 0$ prices still shows on whats_new.php box.

 

heres what ive altered on that file:

 

//$whats_new_price = $currencies->display_price($random_product['products_price'], tep_get_tax_rate($random_product['products_tax_class_id']));

// Start "Hide Price if $0" edit 1 of 1 (uncomment above line if removing this contribution)

$whats_new_price = (($random_product['products_price'] > 0) ? $currencies->display_price($random_product['products_price'], tep_get_tax_rate($random_product['products_tax_class_id'])) : '');

// End "Hide Price if $0" edit 1 of 1

 

thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×