Hi. When I initially added my products, I did not specify a tax class. Is there a way to bulk define products' tax classes? ...Or do I have to go through each product one-by-one and edit?
Hi. When I initially added my products, I did not specify a tax class. Is there a way to bulk define products' tax classes? ...Or do I have to go through each product one-by-one and edit?
Backup your database first ... then you can run this SQL command:
where XX is the value you wish to use for all of your products ...Code:UPDATE products SET products_tax_class_id = XX;
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!
That did the trick. Thank you so much!!
You are most welcome ... thanks for the update that this worked for you to reset all of the tax class id values correctly on all of your Products ...
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!
Hello all -
I tried the solution found here to process a bulk tax class update, but it fails.
I am on v1.3.9d and would like a SQL query that can do the whole process easily.
Our site has been up for a while now and I forgot to configure state taxes... We have thousands of products now and I could not possibly update them all manually.
Help is much appreciated!
I tried:
"UPDATE products SET products_tax_class_id = XX;"
Last edited by Keezee; 16 Feb 2011 at 05:28 AM. Reason: grammar fail
Did you miss Ajeh's comment under the code snippet? "where XX is the value you wish to use for all of your products"...meaning the id of the tax class
Development Manager @ JSWeb Ltd
Over 15 years with Zencart
Bookmarks