I was trying to find a pattern to the Option Name and Option Value so that if the same they could then have the images updated easily with the values being the two fields that could be tested for on updating the image names ...
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!
I think I get what you mean...
I don't know if the ID tag would be much use, as it's kind of a mess - does zen-cart work with the actual name of the Option Value/Name in any way?
I really haven't seen any kind of php or css or anything before a week or so ago, so doing my best to interpret what I've seen so far. <.< >.>
The text on the Option Name ID and Option Value ID is not really relevant ... it is the value that means anything ...
If the values were known and all options_id ## and options_values_id ## had the same image, then something could be made to speed up adding the images if they were always the same for each pair ...
Otherwise, you are back to one by one ...
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!
An example would be for the demo data to set all attributes that use the Option Name Color (options_id 1) and Options Value Orange (options_value_id 25) to use the image color_orange.jpg in the /images/attributes directory:
Code:UPDATE products_attributes SET attributes_image = 'attributes/color_orange.jpg' WHERE options_id = 1 and options_values_id = 25;
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!