Jump to content

Hide Price If Set to $0.00


Recommended Posts

I'm setting up a Prestashop store for a client to deploy with their new website. They have a couple of items that they'd like to offer for $0.00 but they do not want the price to show for those items.

 

Is there a way to hide the pricing for all products being sold for $0.00? Or, they would be ok with items being displayed as "Special Offer" instead of "$0.00"

 

Any and all help is greatly appreciated! I'm not well versed in PHP -- I'm just the designer, not the developer over here.

Link to comment
Share on other sites

Hello,

 

You need to edit product_list.tpl and product.tpl and any other template files you use to display product prices.

Locate the part where the price is displayed and put an 'if' statement.

 

e.g.

 

{if $product.price != '0'}

<!--put the HTML and smarty directives to display price -->

{/if}

Link to comment
Share on other sites

  • 3 months later...

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...