Jump to content

[SOLVED] Don't show price if price more than $500


bhagu

Recommended Posts

Hi, guys!

Please help me! I am beginner in Prestashop, and learning more about smarty and prestashop everyday.

I want module or code, that shows price only if product price less than $500. If price more than $500, instead of showing price it should display message like "For price please contact us".

I hope my english is easy to understand.

I appreciate your help in advance. Edit Product.tpl, but not sure what to put there :(

With best regards,

Link to comment
Share on other sites

Thanks for the reply.. I am using 1.3.3.0.. i couldn't find instead...

{convertPrice price=$product->getPrice(true, NULL, 2)} {if $product->getPrice(true, NULL, 2) != $product->getPrice(false, NULL, 2)}{l s='incl. tax'}{/if}

               {if $displayPreTax AND $display_ht AND $product->id_tax}
{l s='('}{convertPrice price=$product->getPrice(false, NULL, 2)} {l s='tax not incl.)'}
               {/if}

Link to comment
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
×
×
  • Create New...