jkenigs Posted September 14, 2020 Share Posted September 14, 2020 Hi, I'm trying to figure out why my website isn't showing the notice that says "En lugar de 2.401,00$" I've narrowed it down to the system nor parsing my prices correctly, since if I enter a really small value (e.g: 0$) it works fine, but it doesn't with the real prices. After tinkering with it, i think it might have to do with the system confusing the decimal separator in my store, since if the price of the products in a pack are for instance $2401, it shows as $2,401. The greatest value that would make that notice show is $2.40. If I enter $2.401 it stops showing: The line that makes this show or not is on the product-prices.tpl: {block name='product_pack_price'} {if $displayPackPrice} <p class="product-pack-price"><span>{l s='Instead of %price%' d='Shop.Theme.Catalog' sprintf=['%price%' => $noPackPrice]}</span></p> {/if} {/block} But I have no way of knowing where the $displayPackPrice variable is defined. How can I look at that? My guess is that variable evaluates to to only if: A- Product is a pack and B- the price of the pack is smaller than the sum of the contained goods. Does anyone know how to find where that variable is defined or what else I could try to fix this? Thanks in advance, Javier. Link to comment Share on other sites More sharing options...
bilous_yuriy Posted February 8, 2022 Share Posted February 8, 2022 Hello. Have you solved this problem? 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