There are 3 tables of interest here ...
products_options
products_options_values
products_attributes
The table:
products_options
Holds the Option Names such as:
Size
Color
The table:
products_options_values
Holds the Option Value Names such as:
Red
Yellow
Green
Small
Medium
Large
The table:
products_attributes
Holds the combination of the Option Name and Option Values and the Product products_id that go together ...
On the Option Names table:
products_options
You can set the Sort Order for the Option Names for when you have a Product with multiple Option Names like Color and Size to indicate which comes in what order ...
On the Option Values table:
products_options_values
You can set the DEFAULT Sort Order for the Option Values for when you have a Product with an Option Names like Color with multiple values and to indicate which Option Name comes in what order, such as:
Red 10
Green 20
Yellow 30
then, when you add these Option Values to a Product in the Attributes Controller, these DEFAULT Sort Orders are used to Pre-Set these values or to reset the values later ...
I think what you are really wanting to do is redo the table:
products_options_values
and fix the DEFAULT Sort Orders on the Option Values and then update all the Attributes on your site with these new values, which can be done in the Tools ... Store Manager ...
Why don't you peek at the table:
products_options_values
and see if those DEFAULT Sort Orders were redone, then applied to your table:
products_attributes
if that wouldn't resolve your issue ...
NOTE: products_options_values_sort_order * 10 would mean that:
Red 10 becomes 100
Yellow 20 becomes 200
Green 30 becomes 300
Is that what you are wanting?
Linda McGrath
If you have to think ... you haven't been zenned ...
**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!