cara_ionutz Posted May 27, 2012 Share Posted May 27, 2012 Hello, I worked some hours to be able to view attribute in boxes(like color picker), i've modified the product.tpl, product.js and its work . As you see in attach near size(first) attribute also apear color name, i know why appear(because i use group sellection), but what can i do to appear just the sizes withot color names(its ulgy to appear twice, because also appear color picker). I take a look over ProductController and i thing i should add some codes there but i dont know what. this is the code that i have added in product.tpl {if isset($groups)} <!-- colors --> <div id="size_picker"> <p>{l s='Alege o masura:'}</p> <div class="clear"></div> <ul id="size_to_pick_class" class="size_to_pick_list"> {foreach from=$groups key=id_attribute_group item=group} {foreach from=$group.attributes key=id_attribute item=group_attribute} <li><a id="size_{$id_attribute|intval}" class="size_pick" onclick="updateMasuraSelect({$id_attribute|intval});$('#wrapResetImages').show('slow');" style="opacity: 1;" title="{$group_attribute|escape:'htmlall':'UTF-8'}">{$group_attribute|escape:'htmlall':'UTF-8'} </a></li> {/foreach} {/foreach} </ul> <div class="clear"></div> </div> {/if} Thank you 1 Link to comment Share on other sites More sharing options...
cara_ionutz Posted May 29, 2012 Author Share Posted May 29, 2012 Hello, I worked some hours to be able to view attribute in boxes(like color picker), i've modified the product.tpl, product.js and its work . As you see in attach near size(first) attribute also apear color name, i know why appear(because i use group sellection), but what can i do to appear just the sizes withot color names(its ulgy to appear twice, because also appear color picker). I take a look over ProductController and i thing i should add some codes there but i dont know what. this is the code that i have added in product.tpl {if isset($groups)} <!-- colors --> <div id="size_picker"> <p>{l s='Alege o masura:'}</p> <div class="clear"></div> <ul id="size_to_pick_class" class="size_to_pick_list"> {foreach from=$groups key=id_attribute_group item=group} {foreach from=$group.attributes key=id_attribute item=group_attribute} <li><a id="size_{$id_attribute|intval}" class="size_pick" onclick="updateMasuraSelect({$id_attribute|intval});$('#wrapResetImages').show('slow');" style="opacity: 1;" title="{$group_attribute|escape:'htmlall':'UTF-8'}">{$group_attribute|escape:'htmlall':'UTF-8'} </a></li> {/foreach} {/foreach} </ul> <div class="clear"></div> </div> {/if} Thank you Any help? T Y Link to comment Share on other sites More sharing options...
burakco Posted July 2, 2012 Share Posted July 2, 2012 i have same problem, how can i do this? Link to comment Share on other sites More sharing options...
mim Posted July 2, 2012 Share Posted July 2, 2012 (edited) Removed/Edited: Sorry! I am not sure if I got it true what you meant exactly, Btw do you want just to remove second drop box groups or something else? Edited July 2, 2012 by mim (see edit history) Link to comment Share on other sites More sharing options...
burakco Posted July 3, 2012 Share Posted July 3, 2012 (edited) i have second group, like 32-33-34-35 ... i want to show numbers like this : Example URL : http://www.ayakkabiplus.com/urun/marjin-2506.html Edited July 3, 2012 by burakco (see edit history) 1 Link to comment Share on other sites More sharing options...
alpe09ag Posted January 20, 2013 Share Posted January 20, 2013 i have second group, like 32-33-34-35 ... i want to show numbers like this : Example URL : http://www.ayakkabip...arjin-2506.html I would like that as well! I found this module: http://addons.prestashop.com/en/front-office-features-prestashop-modules/4748-improved-attributes-selection.html But would prefer not to spend money on this, please help 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