dadou351 Posted October 12, 2014 Share Posted October 12, 2014 (edited) Hello I encounter a problem with the color attributes. In fact, I try to get a color palette and not a drop-down list. So I was in the right menu via the BO by appropriately selecting "type: colors" in the attribute. In F.O it remains in the dropdown menu. How to get the color palette instead of the drop down menu? Do I have to purchase a specific module? Sincerely, David Edited October 12, 2014 by dadou351 (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted October 13, 2014 Share Posted October 13, 2014 It might depend on the template, are you using a custom one? Link to comment Share on other sites More sharing options...
dadou351 Posted October 13, 2014 Author Share Posted October 13, 2014 Hello, Thanks for your message. I am sending you the file product.tpl This file is different from the original theme of PrestaShop. David product.tpl.zip Link to comment Share on other sites More sharing options...
NemoPS Posted October 15, 2014 Share Posted October 15, 2014 The colors part has been taken out... but this reminds me of the old default template, prestashop version? Get rid of comments here {*{if isset($colors) && $colors} <!-- colors --> <div id="color_picker"> <p>{l s='Pick a color:' js=1}</p> <div class="clear"></div> <ul id="color_to_pick_list" class="clearfix"> {foreach from=$colors key='id_attribute' item='color'} <li><a id="color_{$id_attribute|intval}" class="color_pick" style="background: {$color.value};" onclick="updateColorSelect({$id_attribute|intval});$('#wrapResetImages').show('slow');" title="{$color.name}">{if file_exists($col_img_dir|cat:$id_attribute|cat:'.jpg')}<img src="{$img_col_dir}{$id_attribute}.jpg" alt="{$color.name}" width="20" height="20" />{/if}</a></li> {/foreach} </ul> <div class="clear"></div> </div> {/if}*} Link to comment Share on other sites More sharing options...
Recommended Posts