Using variant price in html

New Member
2 0 0


I am using the Pipeline theme. In my product template, I'm trying to add a simple sentence under the price that states "Pay in 4 installements of X$".

For the price, I'm using this: {{ current_variant.price | times: 0.0025 }}

It works, I get the variant price, divided by 4. However, when I switch variants, the price there doesn't update unless I refresh the page.

Is there a parameter or another variable I can use for the price to be updated when I change variants ?

This is what it looks like:


And when I change variants without refreshing the page:



Thanks !

Replies 0 (0)