rmichaluszek Posted December 28, 2021 Share Posted December 28, 2021 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) Link to comment Share on other sites More sharing options...
Priya Rai Posted February 2, 2022 Share Posted February 2, 2022 You must include the same code in product.tpl that is in product-prices.tpl. After that, a variable will appear; simply replace the price's code with this code "<span class="regular-price">{$product.regular_price}</span>" Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now