Mickyb75 Posted June 28, 2011 Share Posted June 28, 2011 Is het mogelijk om zowel de exclusief BTW prijs als de inclusief BTW prijs te laten zien op de website bij mijn producten? Ik gebruik Prestashop 1.4 Link to comment Share on other sites More sharing options...
tellme Posted October 16, 2011 Share Posted October 16, 2011 Niemand een antwoord hierop ??? Heb namelijk dezelfde vraag en gebruik prestashop 1.3.7 greetz Tellme Link to comment Share on other sites More sharing options...
AKJV Posted October 17, 2011 Share Posted October 17, 2011 Hoi Tellme, Ik weet niet waar je precies prijzen met en zonder btw wilt tonen: homepage (homefeatured), productenlijsten of op de productpagina's. Waarschijnlijk overal Hieronder staan de veranderingen die je kan proberen. Ik heb het zo net getest en het werkt (in elk geval in PS 1.4.4.), maar waarschijnlijk moet je wel zelf nog de layout/style aanpassen. In PS 1.3.7: Voor homepage/homefeatured: 1) kopieer /modules/homefeatured/homefeatured.tpl naar /themes/jouw_theme/homefeatured/ (laatste folder zelf aanmaken) 2) en verander in gekopieerde homefeatured.tpl dit (regel 18): <p class="price_container"><span class="price">{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}</span></p> in: <p class="price_container"><span class="price">{if !$priceDisplay}{convertPrice price=$product.price} {l s='tax incl.' mod='homefeatured'}<br />{convertPrice price=$product.price_tax_exc} {l s='tax excl.' mod='homefeatured'}{/if}</span></p> Voor productenlijsten: Verander in /themes/jouw_theme/product-list.tpl dit (regel 18): <span class="price" style="display: inline;">{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}</span><br /> in: <span class="price" style="display: inline;">{if !$priceDisplay}{convertPrice price=$product.price} {l s='tax incl.'}<br />{convertPrice price=$product.price_tax_exc} {l s='tax excl.'}{/if}</span><br /> Voor productpagina's: Verander in /themes/jouw_theme/product.tpl dit (regels 196-205): <span class="our_price_display"> {if !$priceDisplay || $priceDisplay == 2} <span id="our_price_display">{convertPrice price=$product->getPrice(true, $smarty.const.NULL, 2)}</span> {if $tax_enabled}{l s='tax incl.'}{/if} {/if} {if $priceDisplay == 1} <span id="our_price_display">{convertPrice price=$product->getPrice(false, $smarty.const.NULL, 2)}</span> {if $tax_enabled}{l s='tax excl.'}{/if} {/if} </span> in: <span class="our_price_display"> {if !$priceDisplay || $priceDisplay == 2} <span id="our_price_display">{convertPrice price=$product->getPrice(true, $smarty.const.NULL, 2)}</span> {if $tax_enabled}{l s='tax incl.'}{/if}<br /> <span id="our_price_display">{convertPrice price=$product->getPrice(false, $smarty.const.NULL, 2)}</span> {if $tax_enabled}{l s='tax excl.'}{/if} {/if} {if $priceDisplay == 1} <span id="our_price_display">{convertPrice price=$product->getPrice(false, $smarty.const.NULL, 2)}</span> {if $tax_enabled}{l s='tax excl.'}{/if} {/if} </span> Dit zou, als je btw weergave in je beheersysteem aangevinkt hebt, prijzen met en zonder btw onder elkaar moeten laten zien. Vertaal 'tax incl' en 'tax excl' nog wel in het Nederlands in je beheersysteem. En vergeet niet om 'Force compile' tijdelijk aan te zetten en dat page refresh te doen om deze veranderingen door te voeren. Voor Mickyb75 (hoewel zijn post al oud is) geldt hetzelfde, maar dan deze code voor PS 1.4.4: Voor homepage/homefeatured: Verander in gekopieerde homefeatured.tpl dit (regel 44): {if $product.show_price AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE}<p class="price_container"><span class="price">{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}</span></p>{else}<div style="height:21px;"></div>{/if} in: {if $product.show_price AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE}<p class="price_container"><span class="price">{if !$priceDisplay}{convertPrice price=$product.price} {l s='tax incl.' mod='homefeatured'}<br />{convertPrice price=$product.price_tax_exc} {l s='tax excl.' mod='homefeatured'}{/if}</span></p>{else}<div style="height:21px;"></div>{/if} Voor productenlijsten: Verander in /themes/jouw_theme/product-list.tpl dit (regel 43): {if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)}<span class="price" style="display: inline;">{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}</span><br />{/if} in: {if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)}<span class="price" style="display: inline;">{if !$priceDisplay}{convertPrice price=$product.price} {l s='tax incl.'}<br />{convertPrice price=$product.price_tax_exc} {l s='tax excl.'}{/if}</span><br />{/if} Voor productpagina's: Verander in /themes/jouw_theme/product.tpl dit (regels 254-259): {if $priceDisplay >= 0 && $priceDisplay <= 2} <span id="our_price_display">{convertPrice price=$productPrice}</span> {if $tax_enabled && ((isset($display_tax_label) && $display_tax_label == 1) OR !isset($display_tax_label))} {if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if} {/if} {/if} in: {if $priceDisplay >= 0 && $priceDisplay <= 2} <span id="our_price_display">{convertPrice price=$productPrice}</span> {if $tax_enabled && ((isset($display_tax_label) && $display_tax_label == 1) OR !isset($display_tax_label))} {if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if} {/if}<br /> <span id="pretaxe_price"><span id="pretaxe_price_display">{convertPrice price=$product->getPrice(false, $smarty.const.NULL, 2)}</span> {l s='tax excl.'}</span> {/if} 1 Link to comment Share on other sites More sharing options...
tellme Posted October 17, 2011 Share Posted October 17, 2011 TOPPIE AKJV, ga er meteen mee aan de slag, kijken of ik het overleef met de layout :-) Bedankt voor de uitgebreide uitleg !!!!!!!! Link to comment Share on other sites More sharing options...
tellme Posted October 17, 2011 Share Posted October 17, 2011 Tjonge tjonge tjonge, PETJE AF AKJV !!!! En dat doe je uit je blote hoofd :-) !!! Super, precies wat ik op de site wou laten zien, Thanks voor de uitleg voor "dummies" !!! Gr Tellme Link to comment Share on other sites More sharing options...
AKJV Posted October 17, 2011 Share Posted October 17, 2011 Hoi Tellme, Goed te weten dat het werkt in PS 1.3.7 en ik ben blij voor je dat je hiermee geholpen bent! Link to comment Share on other sites More sharing options...
tellme Posted October 17, 2011 Share Posted October 17, 2011 EN OF !!! Thanks !!!! AAA rating ! Link to comment Share on other sites More sharing options...
by-max Posted March 26, 2013 Share Posted March 26, 2013 Hoi Tellme, Goed te weten dat het werkt in PS 1.3.7 en ik ben blij voor je dat je hiermee geholpen bent! mooie uitleg! ik gebruik alleen prestashop 1.5, daar heb ik het in geprobeerd en het werkt niet... als ik de verhalen zo goed lees, is he wel precies waar ik al heel lang naar op zoek ben.. ik hoop dat jij mij kunt helpen! Link to comment Share on other sites More sharing options...
Miendag Posted March 28, 2013 Share Posted March 28, 2013 Hooi, Ik had dit probleem ook alleen bij de 1.5 bij mij zat het dan ook rond de regel 53 bij de product list Groeten, Gertjan 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