Forums / Setting Up Categories, Products, Attributes / Hiding READ ONLY attribute

Hiding READ ONLY attribute

Locked

Views: 1,218

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
26 Oct 2009, 10:17 PM
#1
endre avatar

endre

New Zenner

Join Date:
Dec 2008
Posts:
38
Plugin Contributions:
0

Hiding READ ONLY attribute

Hello,
Have read hundreds of posts related to the topic of hiding an attribute.
I need this feature when a product is out of stock in a particular attribute. I don't want to delete the attribute and then have to add it when the product is in stock again.
I do not need the Stock by attribute module.
I was thinking that it would be possible to assign the attribute that is out of stock to READ ONLY, and then hide the READ ONLY option, maybe with css?
How does that sound?
Can someone please push me in the right direction as to where to put the code, and what to put there exactly?

#ReadOnly {display: none;}
or something like that?
As you probably see I have little experience with css.:dontgetit

Cheers
Endre