PaulJW Posted September 30, 2012 Share Posted September 30, 2012 I have upgraded to v1.5 and the color picker has been activated on all my products. Where is the option to de-activate the color picker? 1 Link to comment Share on other sites More sharing options...
titanv Posted October 12, 2012 Share Posted October 12, 2012 Has anyone been able to figure this one out? I've even tried to delete the color picker attributes and groups to no avail. Link to comment Share on other sites More sharing options...
FutureLED Posted October 18, 2012 Share Posted October 18, 2012 Catalog Attributes and Groups click to edit your attribute eg: 'colour' and select your choice at the bottom, whether its Drop Down, Radio Button or Colour.. Link to comment Share on other sites More sharing options...
musicmaster Posted October 26, 2012 Share Posted October 26, 2012 Same problem here. And what Wessellbulbs proposed doesn't work for me. Link to comment Share on other sites More sharing options...
betyonfire Posted November 1, 2012 Share Posted November 1, 2012 This same thing happened to me. I just compared my theme's product.tpl file to the new 1.5 default theme's product.tpl file and noticed that the color picker seems to be commented out in the new version. I copied that over to my products.tpl and that got rid of it. Here's what it looks like in my file now: {*{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}*} 1 Link to comment Share on other sites More sharing options...
titanv Posted November 1, 2012 Share Posted November 1, 2012 My apologies for not posting this information sooner, but after talking with PaulJW, he brought it to my attention that it is a template incompatibility for those of us who chose to still use the old template rather than the new template supplied with the 1.5.x version. I hope this information helps others as well. 1 Link to comment Share on other sites More sharing options...
musicmaster Posted November 2, 2012 Share Posted November 2, 2012 (edited) I repaired it by changing the line if ((isset($row['attribute_color']) && $row['attribute_color']) || (file_exists(PS_COL_IMG_DIR.$row['id_attribute'].'.jpg')))in the Productcontroller intoif ((isset($row['is_color_group']) && $row['is_color_group']) || (file_exists(PS_COL_IMG_DIR.$row['id_attribute'].'.jpg'))) PS: in the newer versions of PS (I tested 1.5.5) this becomes: if ((isset($row['is_color_group']) && $row['is_color_group']) || (file_exists(_PS_COL_IMG_DIR_.$row['id_attribute'].'.jpg'))) Edited September 13, 2013 by musicmaster (see edit history) 6 Link to comment Share on other sites More sharing options...
-FrA- Posted November 26, 2012 Share Posted November 26, 2012 I repaired it by changing the line if ((isset($row['attribute_color']) && $row['attribute_color']) || (file_exists(PS_COL_IMG_DIR.$row['id_attribute'].'.jpg'))) in the Productcontroller into if ((isset($row['is_color_group']) && $row['is_color_group']) || (file_exists(PS_COL_IMG_DIR.$row['id_attribute'].'.jpg'))) Thank you musicmaster!!! Link to comment Share on other sites More sharing options...
LinzardB Posted April 24, 2013 Share Posted April 24, 2013 I tried to implement this fix and I get the following errors: Notice: Use of undefined constant PS_COL_IMG_DIR - assumed 'PS_COL_IMG_DIR' in /home/bscdevel/public_html/wirerackdemo/shop/controllers/front/ProductController.php on line 390 Link to comment Share on other sites More sharing options...
musicmaster Posted April 27, 2013 Share Posted April 27, 2013 LinzardB, obviously you have made some error implementing the code. The change is only in the first part of the line and you get an error in the second part of the line. Link to comment Share on other sites More sharing options...
gingerling Posted July 8, 2013 Share Posted July 8, 2013 Hi, I have this problem, i even deleted the colour picker stuff in the back office but I still have it like so http://www.ethical-pets-wholesale.co.uk/home/127-yarrah-organic-dog-food-chicken-2kg-5kg-10kg-15kg.html the other fixes doesn't seem to apply any more, or at least i cant find the code - i am on 1.5.4.1 and a relative noob. Can anyone help? Link to comment Share on other sites More sharing options...
Cehrlichman Posted August 2, 2013 Share Posted August 2, 2013 I repaired it by changing the line if ((isset($row['attribute_color']) && $row['attribute_color']) || (file_exists(PS_COL_IMG_DIR.$row['id_attribute'].'.jpg'))) in the Productcontroller into if ((isset($row['is_color_group']) && $row['is_color_group']) || (file_exists(PS_COL_IMG_DIR.$row['id_attribute'].'.jpg'))) Thank you musicmaster!! That worked perfectly! Link to comment Share on other sites More sharing options...
musicmaster Posted September 13, 2013 Share Posted September 13, 2013 In the later versions of PS this becomes: if ((isset($row['is_color_group']) && $row['is_color_group']) || (file_exists(_PS_COL_IMG_DIR_.$row['id_attribute'].'.jpg'))) 1 Link to comment Share on other sites More sharing options...
patrmich Posted February 3, 2014 Share Posted February 3, 2014 In Prestashop 1.4, on the product page, are displayed :- a dropdown box- and a color pickerUnfortunately in Prestahsop 1.5, is only displayed either drop down selection or color picker selection, but not both simultaneously.Does anyone know how to keep display both ?Thank you in advance for any reply.Patrick Link to comment Share on other sites More sharing options...
Recommended Posts