ghjulianu Posted January 22, 2017 Share Posted January 22, 2017 (edited) Bonjour, j'ai un problème sur l'affichage des prix de mes produits, dans les listes. il y a TTC qui s'affiche plusieurs fois, avant et après le prix cf capture d'écran. Par rapport a la position , je suspecte le hook displayproductprice que j'ai trouvé dans product-list.tpl , mais je ne sais pas où le modifier, et je n'ose pas le supprimer puisque je pense que ca impacterai les promotions par exemple. <div class="content_price"> {if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)} {hook h="displayProductPriceBlock" product=$product type='before_price'} <span class="price product-price"> {if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if} </span> {if isset($product.specific_prices) && $product.specific_prices && isset($product.specific_prices.reduction) && $product.specific_prices.reduction > 0} {hook h="displayProductPriceBlock" product=$product type="old_price"} <span class="old-price product-price"> {displayWtPrice p=$product.price_without_reduction} </span> {hook h="displayProductPriceBlock" id_product=$product.id_product type="old_price"} {if $product.specific_prices.reduction_type == 'percentage'} <span class="price-percent-reduction">-{$product.specific_prices.reduction * 100}%</span> {/if} {/if} {hook h="displayProductPriceBlock" product=$product type="price"} {hook h="displayProductPriceBlock" product=$product type="unit_price"} {hook h="displayProductPriceBlock" product=$product type='after_price'} {/if} </div> Si quelqu'un a une idée, je l'en remercie par avance ! Version de PrestaShop 1.6.1.7 Edited January 22, 2017 by ghjulianu (see edit history) Link to comment Share on other sites More sharing options...
ghjulianu Posted January 29, 2017 Author Share Posted January 29, 2017 Je n'ai toujours pas trouvé de solution, si quelqu'u a une idée. merci ! Link to comment Share on other sites More sharing options...
ghjulianu Posted February 3, 2017 Author Share Posted February 3, 2017 Après mise a jour de prestashop, plus de doublons. 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