GreenGrace Posted July 11, 2016 Share Posted July 11, 2016 Goedemiddag, Ik gebruik geen standaard theme, en gebruikt prestashop versie 1.6.1.6 Ik heb product.tpl aangepast zodat ik op de producten pagina inc. en excl btw prijzen worden weergegeven: <!-- prices --> <div class="price"> {assign var='productPriceInc' value=$product->getPrice(true, $smarty.const.NULL, $priceDisplayPrecision)} {assign var='productPriceWithoutRedutionInc' value=$product->getPriceWithoutReduct(false, $smarty.const.NULL)} {assign var='productPriceEx' value=$product->getPrice(false, $smarty.const.NULL, $priceDisplayPrecision)} {assign var='productPriceWithoutRedutionEx' value=$product->getPriceWithoutReduct(true, $smarty.const.NULL)} <p class="our_price_display"> <span id="our_price_display">{convertPrice price=$productPriceEx}</span> {if $tax_enabled && ((isset($display_tax_label) && $display_tax_label == 1) OR !isset($display_tax_label))}{l s='tax excl.'}{/if}<BR><BR> <span id="our_price_display">{convertPrice price=$productPriceInc}</span> {if $tax_enabled && ((isset($display_tax_label) && $display_tax_label == 1) OR !isset($display_tax_label))}{l s='tax incl.'}{/if} </p> {if $product->on_sale} <img src="{$img_dir}onsale_{$lang_iso}.gif" alt="{l s='On sale'}" class="on_sale_img"/> <span class="on_sale">{l s='On sale!'}</span> {else} {if $product->specificPrice AND $product->specificPrice.reduction AND $productPriceWithoutRedution > $productPrice} <span class="discount">{l s='Reduced price!'}</span> {/if} <br /> {/if} </div> <!-- end prices --> Echter als ik nu combinaties gaat gebruiken (product attributen) veranderd de excl btw prijs niet mee met de verhoging. Prijs incl veranderd wel, alleen de excl. btw niet. Hoe kan ik dit veranderen dat de excl btw wel mee veranderd met de combinaties? 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