Jump to content

Hiding the color picker in product pages.


Recommended Posts

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

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

×
×
  • Create New...