Link to home
Start Free TrialLog in
Avatar of sharingsunshine
sharingsunshineFlag for United States of America

asked on

Need SQL To Change Tax Code in Woo Commerce

I need to update my mysql table for tax codes in woo commerce 3.4.  What query would I used to put in tax code PH400930 for all products in the essentials_oil category?

Thanks,
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

Avatar of sharingsunshine

ASKER

I need to do nearly a 100 products and I didn't want to open them individually.  Thus, the need for the sql query.  I actually use AvaTax for my sales tax requirements and they have a tax code I need to add to several products.
ASKER CERTIFIED SOLUTION
Avatar of Justin Pilditch
Justin Pilditch
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This does what I asked but I didn't think about that I would need the name of the product too when it comes to the select option.  So I have created another question as a follow-on.

https://www.experts-exchange.com/questions/29113925/Existing-Query-Needs-3-More-Fields-Added.html#questionAdd