garyjj127 Posted February 13, 2013 Share Posted February 13, 2013 I'd like to remove the color picker from the product pages as I only have one colour per item. I'm aware that I could leave the attribute blank when creating products, but do use it as I have a layered navigation filter that uses basic colours. Please could someone help with this? I expect it involves editing the product.tpl file, but I'd like to know exactly what needs removing or commenting. Link to comment Share on other sites More sharing options...
Bill Dalton Posted February 13, 2013 Share Posted February 13, 2013 If you just want them hidden, than find attribute settings in your theme global.css and set the property to hidden. So it may look like this, #buy_block #attributes label {visibility:hidden;} #buy_block #attributes select {visibility:hidden;} Or, checkout this thread called "A Smarter Combo Box" http://www.prestashop.com/forums/topic/223921-a-smarter-combo-box/page__p__1104595__hl__smarter%20combo%20box__fromsearch__1#entry1104595 Link to comment Share on other sites More sharing options...
garyjj127 Posted February 14, 2013 Author Share Posted February 14, 2013 Hi Bill. Thanks for the reply. Sorry for the delay getting back. The CSS hack did work but hiding the label also hides the label for the size. So I just need to work out how to just hide the colour label. Link to comment Share on other sites More sharing options...
Bill Dalton Posted February 15, 2013 Share Posted February 15, 2013 Sorry Gary, hopefully someone will post the solution. It's always a beautiful thing when someone posts the correct way. Usually just a line of or two of magic code. Link to comment Share on other sites More sharing options...
yaniv14 Posted February 15, 2013 Share Posted February 15, 2013 if you know the attribute group number you want to "hide", you can hide it with css. let say you want to hide group_3 so you can add: #group_3 {display:none;} label[for=group_3] {display:none;} Link to comment Share on other sites More sharing options...
Recommended Posts