Adding a Base Price To the Product Page

Benedikt_Klein
New Member
1 0 0

Hey,

I'm trying to add a base price to the product page.

So far, i added this line to the product-price.liquid:

<br>€{{ price | times: 10 | divided_by: weight | round:2 }}/KG

Wich is working fine, until i change the variant by selecting something in the dropdown-menu.

After selecting a variant, the Baseprice just disappears.

Does anyone know, what the problem with my code is?

 

Thanks a lot in advance!

0 Likes