Jump to content

Problem with color attribute, always combo ...


Recommended Posts

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 by dadou351 (see edit history)
Link to comment
Share on other sites

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

×
×
  • Create New...