Skip to content

Instantly share code, notes, and snippets.

@cristacheda
Forked from BFTrick/update-tax-status.sql
Created March 18, 2021 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cristacheda/2e007c96dfe20e41f929b634dbf1948b to your computer and use it in GitHub Desktop.
Save cristacheda/2e007c96dfe20e41f929b634dbf1948b to your computer and use it in GitHub Desktop.
Update the tax status of all WooCommerce products.
UPDATE `wp_postmeta`
SET meta_value='taxable'
WHERE meta_key='_tax_status'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment