Jump to content

Variables are not updating in custom theme


Recommended Posts

Hello, i have the same line of code, one is in file product-prices.tpl, and the other one is in the product.tpl.

<span content="{$product.price_amount}">{$product.price}</span>

The first price is the one that is displayed from product.tpl, and the one below is from the product-prices.tpl.
Problem is, when i change combination, only the price from product-prices.tpl changes, even if its the same lane of code in the product.tpl. anyone knows why is it, and how to make it change always when im selecting different combination?

(first pic is default combination, second pic is after i change combination, the price in the product.tpl stays default)


image.png.2fb40ffb16d04e9179a731b5c89979e9.pngimage.png.1afa1c2c494a8d9531dd7f383153a12e.png

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...