
Originally Posted by
VDecalS
Great advise. I've added this value to all my products. Is there a way to add/adjust this setting (display only and default) globally?
Thank you.
Had attributes from one product been copied to another product or category, then the settings from the original product would have carried over (at least when performed in the attributes controller). Otherwise would suggest a sql query to be performed against the database to apply both of those settings to any product that has the expected options_id and options_values_id associated with the attribute.
If you look in the option names manager, the number to the left of the option name is the options_id. Do the same for the options values manager to get the options_values_id. Then in admin->tools->install sql patches:
Code:
UPDATE products_attributes SET attributes_display_only=1, attributes_default=1 WHERE options_id = X AND options_values_id =Y;
Where X is the number for the options_id and Y is the number for the options_values_id. Can be further refined by product or other such data.
Or I guess, could just use options_values_id as that should be unique for each pair of option_name and option value.