Dynamic calculation of points earned with Smile

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

What are you talking about? I’m just looking for help to display dynamically earned points depending on the product price :joy: