Created
July 25, 2013 16:25
-
-
Save BFTrick/6081396 to your computer and use it in GitHub Desktop.
Update the tax status of all WooCommerce products.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE `wp_postmeta` | |
SET meta_value='taxable' | |
WHERE meta_key='_tax_status' |
Yup same
KING :D
Thanks !!!!
Thanks! Was looking to write this myself and find the columns but 1 search query and google showed me the correct thing.
P.s. for people who are using object cache, the reason it won't add the taxes until you visited the problem is because you have to clean the Cache. This could be Reddis object cache or other caching plugins!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks! Found easily with a google search...