Change Price Order On Product Details Pages

How can I change the order that the prices appear on the product details page?

I'd like the price with tax to appear first and the price without tax to appear underneath.

here is the default layout.

23kc55t.jpg

Could someone please advise where I would need to make the change?

Try to change product templates located here

design/themes/THEME/templates/blocks/product_templates/

product price

{$smarty.capture.$price nofilter}

taxed price

{$smarty.capture.$clean_price nofilter}

Hello Ecomlabs,
Is this possible without a decimal point, parentheses and Currency code on productpage ?

for example
1.930,30 after 193030
585,00 after 58500
12,00 after 1200


{$smarty.capture.$clean_price nofilter}
(1.930,30 € incl. Tax)

Check the currency settings, decimal delimiter can be set up there

I want to integrate Klarna banner on default_template.tpl. i try this data-purchase-amount=“‘round({$smarty.capture.$clean_price nofilter} * 100)’”
not working . Result (1.930,30 € incl. Tax) * 100)'" >
I need the price as 193030 only data-purchase-amount=“‘193030’”

Can you help me ?

<klarna-placement
data-key=“credit-promotion-auto-size”
data-locale=“de-DE”
data-purchase-amount=“‘round({$smarty.capture.$clean_price nofilter} * 100)’”

Try something like

<klarna-placement
data-key=“credit-promotion-auto-size”
data-locale=“de-DE”
data-purchase-amount=“{$product.clean_price*100}”

yes but the price without tax.

why didn’t i think of it earlier… Thank you ecomlabs, I only get answers to my questions from you. you are the best here in the forum.

data-purchase-amount="{$product.clean_price*1.19*100}"

some prices give error for example 1.075,43*1.19*100 = 107542.68 it will not round.

(1.075,43 € incl. Tax)

i tested now this its work.

data-purchase-amount="{round($product.clean_price*1.19*100)}"

try

data-purchase-amount=“{$product.taxed_price*100}”

1 Like