dadodistefano Posted August 3, 2017 Share Posted August 3, 2017 Hi,I have a simple question, but i cannot find a solution.Here's my code (an edited version of product-list.tpl): {if !$priceDisplay} <span class="price product-price">{convertPrice price=$product.price}</span> <p style="font-size: 11px; line-height:30px;">{l s='IT Tax included'}</p> {else} <span class="price product-price">{convertPrice price=$product.price_tax_exc}</span> <p style="font-size: 11px; line-height:30px;">{l s='IT Tax excluded'}</p> {/if} Everything works fine, but when "$product.price_tax_exc" is printed, the string "{l s='IT Tax excluded'}" is never displayed. It seems that "<p style="font-size: 11px; line-height:30px;">{l s='IT Tax excluded'}</p>" isn't read by the system.The product list is displayed with prices NO TAX (and that's ok, in my case), but in prints {l s='IT Tax included'}, not {l s='IT Tax excluded'}Any suggestions? Link to comment Share on other sites More sharing options...
NemoPS Posted August 5, 2017 Share Posted August 5, 2017 what if you hardcode it without it being a translatable string? does it display? Just for testing Link to comment Share on other sites More sharing options...
Scully Posted August 7, 2017 Share Posted August 7, 2017 Or - as a test - get rid of the style parameter, probably it cut's of there due to an unknown reason. In any way, I wouln't use inline styling. style="font-size: 11px; line-height:30px;" Any update on this issue would be appreciated. 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