Can anyone help me with the syntax for this SQL Query?
I need to set options_values_price to 3.50 for every options_values_id that is equal to 1.
Thanks!
Can anyone help me with the syntax for this SQL Query?
I need to set options_values_price to 3.50 for every options_values_id that is equal to 1.
Thanks!
Backup your database before you do this ...
This can be run in your Admin Tools ... Insert SQL Patches ...PHP Code:
UPDATE products_attributes SET options_values_price = 3.50 where options_values_id = 1;
Or, you can run it in phpMyAdmin ...
NOTE: if your tables use prefixes in your database then you will need to adjust the table name from options_values_id to something_options_values_id ...
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: v1.5.5]
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!
Thanks! Worked GREAT!
Bookmarks