Jump to content

Move price order on product page


Recommended Posts

How to move the price from:

 

233,88 € excl. BTW

283,00 €

 

to:

 

283,00 €

233,88 € excl. BTW

 

site:

http://techkoop.nl/nl/sanitairkranen/161-doucheset-met-thermosstaatkraan.html

 

I'm struggling with the product.tpl file and cant get it to move.. 

 

<div class="price">
{if $product->specificPrice AND $product->specificPrice.reduction && $product->specificPrice.reduction > 0}
<p id="old_price">
<span class="bold">
{if $priceDisplay >= 0 && $priceDisplay <= 2}
{if $productPriceWithoutReduction > $productPrice}
<span id="old_price_display">{convertPrice price=$productPriceWithoutReduction}</span>
<!-- {if $tax_enabled && $display_tax_label == 1}
{if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if}
{/if} -->
{/if}
{/if}
</span>
</p>
//gewijzigd door willbefine excl. btw prijs toegevoegd
{/if}
{if $priceDisplay >= 0 && $priceDisplay <= 2}
 <span id="pretaxe_price"><span id="pretaxe_price_display">{convertPrice price=$product->getPrice(false, $smarty.const.NULL, 2)}</span> {l s='excl. BTW'}</span><br />
 <span id="our_price_display"  font-color:#424242" >{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='excl. BTW'}{else}{l s=''}{/if}
{/if}
{/if}
 
{if $priceDisplay == 2}
<br />
<span id="pretaxe_price"><span id="pretaxe_price_display">{convertPrice price=$product->getPrice(false, $smarty.const.NULL)}</span> {l s='tax excl.'}</span>
{/if}
Link to comment
Share on other sites

Try with this order

 

<span id="our_price_display" font-color:#424242"="" style="
    display: block;
">283,00 €</span>
<span id="pretaxe_price"><span id="pretaxe_price_display">233,88 €</span> excl. BTW</span>
 
Please notice I have added display:block to the main price span!
Link to comment
Share on other sites

 

Try with this order

 

<span id="our_price_display" font-color:#424242"="" style="
    display: block;
">283,00 €</span>
<span id="pretaxe_price"><span id="pretaxe_price_display">233,88 €</span> excl. BTW</span>
 
Please notice I have added display:block to the main price span!

 

Thanks!!!

Link to comment
Share on other sites

×
×
  • Create New...