steph2i Posted June 17, 2014 Share Posted June 17, 2014 (edited) Bonjour, Je me permet de solliciter votre aide car je n'arrive pas à mettre le prix en réduction en HT sur la liste produit. Il est actuellement en TTC.J'ai fais ma recherche avant sur le forum mais je n'ai pas trouvé de réponse. Voici mon code actuel : <p class="price_container"> {if isset($product.show_price) && $product.show_price} {if !$priceDisplay && Configuration::get('LYO_isProductList')==1}<div class="price">{convertPrice price=$product.price_tax_exc} {l s='HT'}</div>{/if} {if isset($product.on_sale) && $product.on_sale OR isset($product.reduction) && $product.reduction} <span class="old_price">{convertPrice price=$product.price_without_reduction}</span>{/if} <span class="pricettc">{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price} {*lyoHTBOF*}{if !$priceDisplay && Configuration::get('LYO_isProductList')==1}{literal}<style>#product_list .right_block {height: 50px;}</style>{/literal}<div>{convertPrice price=$product.price_tax_exc} {l s=' tax excl.'}</div> TTC{/if}{*lyoHTEOF*}{/if} TTC</span> {/if} </p> Et ci-dessous une capture de comment ça s'affiche.Je travail en local sous Prestashop 1.6. Y'a t-il une personne pour me renseigner svp ? Edited July 2, 2014 by steph2i (see edit history) 1 Link to comment Share on other sites More sharing options...
steph2i Posted July 1, 2014 Author Share Posted July 1, 2014 Personne pour m'aider svp ? ;( Link to comment Share on other sites More sharing options...
steph2i Posted July 2, 2014 Author Share Posted July 2, 2014 Ok c'est bon, malheureusement je n'ai pas beaucoup d'aide en ce moment sur le forum. Peut être les vacances ? Bon c'est pas grave j'ai trouvé la solution pour ceux que ça intéresse. Attention cependant, dans mon cas, je suis en B2B et mes groupes clients sont configurés en HT : {if (!$PS_CATALOG_MODE AND ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))} <p class="price_container"> {if isset($product.show_price) && $product.show_price} <span class="price">{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if} HT</span> {if !$priceDisplay && Configuration::get('LYO_isProductList')==1}<div class="price">{convertPrice price=$product.price_tax_exc} {l s='HT'}</div>{/if} {if isset($product.on_sale) && $product.on_sale OR isset($product.reduction) && $product.reduction} <span class="old_price">{convertPrice price=$product.price_without_reduction} HT</span>{/if} <span class="pricettc">{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price} {*lyoHTBOF*}{if !$priceDisplay && Configuration::get('LYO_isProductList')==1}{literal}<style>#product_list .right_block {height: 50px;}</style>{/literal}<div>{convertPrice price=$product.price_tax_exc} {l s=' tax excl.'}</div> TTC{/if}{*lyoHTEOF*}{/if} TTC</span> {/if} </p> {/if} 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