manojgh Posted April 2, 2014 Share Posted April 2, 2014 Hi, I have a live eCommerce website on Ethnic Indian Garments built on Prestashop 1.5.6.2. I have a couple of technical queries which I am unable to resolve. I went through all Prestashop forums, but I could not resolve it. I have created anumber of Generic Attributes and attached them with every product. So when a Customer goes to Product page, he gets an option to choose, if he/she needs stitching or not. I would like to display the Additional Cost alongside attribute value. e.g. Attribute Value-1: “no Stitching” Attribute Value-1: “Stitched +£8.00” I am currently doing it using the code below in product.tpl ********************************************************** <select name="{$groupName}" id="group_{$id_attribute_group|intval}" class="attribute_select" onchange="findCombination();getProductAttribute();{if $colors|@count > 0}$('#wrapResetImages').show('slow');{/if};"> {foreach from=$group.name_price key=id_attribute item=group_attribute} <option value="{$id_attribute|intval}"{if (isset($smarty.get.$groupName) && $smarty.get.$groupName|intval == $id_attribute) || $group.default == $id_attribute} selected="selected"{/if} title="{$group_attribute|escape:'htmlall':'UTF-8'}">{$group_attribute|escape:'htmlall':'UTF-8'} {$group_attribute.price} </option> {/foreach}</select> ********************************************************** I have made changes to the default code in product.tpl and changes are highlighted in YELLOW above. But the problem is that this attribute price is not getting converted when I change currency from GBP to USD or to any other currency. I shall really be thankful, if you could help me in this regard. Many thanks. 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