Created
March 6, 2019 23:04
-
-
Save pejantantangguh/43df2224af777570d59e7a527e5833a8 to your computer and use it in GitHub Desktop.
SQL script to remove sale price Woocommerce
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 m | |
JOIN wp_posts p ON m.post_id=p.id | |
AND m.meta_key = '_sale_price' | |
SET m.meta_value = '' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment