Seb17 Posted February 11, 2019 Share Posted February 11, 2019 Bonsoir à tous Prestashop 1.6.x Je cherche a cacher dans la liste des produits dans une catégorie le tarif si = à 0 Quelqu'un pourrait me donner un petit coup de pouce Merci d'avance Link to comment Share on other sites More sharing options...
Mediacom87 Posted February 11, 2019 Share Posted February 11, 2019 Bonjour, product-list.tpl <span itemprop="price" class="price product-price"> {if $product.price == 0} {l s='Free'} {else} {if !$priceDisplay} {convertPrice price=$product.price} {else} {convertPrice price=$product.price_tax_exc} {/if} {/if} </span> Link to comment Share on other sites More sharing options...
Seb17 Posted February 11, 2019 Author Share Posted February 11, 2019 ohhh merci beaucoup c'est super sympa !! tu sais ou je doit coller ce code ? merci encore Link to comment Share on other sites More sharing options...
Seb17 Posted February 12, 2019 Author Share Posted February 12, 2019 Pour aider les prochains voila un lien pour changer tout les produits sans prix ou a 0 euros https://premiumpresta.com/blog/display-free-instead-0-00-product-prices-prestashop/ Merci encore à Mediacom Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now