I’m using Smile.io
1€ spent = 5 points
In the theme editor, I’ve put this code to display how much points you earn buying the product :
{{ product.price | times:0.05 | round: 0 }} points
My pb is that when I change the variant the amount of earning points is not dynamic. What is the way to do this please?
Ex. https://www.browlab.fr/products/revitalash-serum-cils under the “add to cart” button