Jump to content

Problème de doublon sur l'affichage TTC dans product list


Recommended Posts

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

post-724029-0-60051700-1485078539_thumb.jpg

Edited by ghjulianu (see edit history)
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...