moy2010 Posted May 8, 2014 Share Posted May 8, 2014 Good evening. I'm trying to display the impact price on product combinations using the following code in the product.tpl file: {foreach from=$group.name_price key=id_attribute item=group_attribute}<ul> <li> <input type="radio" class="attribute_radio" name="{$groupName}" value="{$id_attribute}" {if ($group.default == $id_attribute)} checked="checked"{/if} onclick="findCombination();getProductAttribute();" /> <span>{$group_attribute.name|escape:'htmlall':'UTF-8'}</span> <span style="float:right;">{$currencySign|html_entity_decode:2:"UTF-8"} {$group_attribute.price}</span> </li> </ul> {/foreach} The problem is that the diplayed is does not include the tax. Is there another variable that I could use to get the price impact to be displayed including taxes? Thanks in advace. Link to comment Share on other sites More sharing options...
mstange Posted February 10, 2015 Share Posted February 10, 2015 Use code below topic: https://www.prestashop.com/forums/topic/29219-variable-to-display-attribute-price/?p=1731377 1 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