Skip to content

Instantly share code, notes, and snippets.

@yanknudtskov
Last active February 9, 2019 23:19
Show Gist options
  • Select an option

  • Save yanknudtskov/222fc609e059f1bd9064 to your computer and use it in GitHub Desktop.

Select an option

Save yanknudtskov/222fc609e059f1bd9064 to your computer and use it in GitHub Desktop.
Update all Regular Prices, increase by 40% in WooCommerce #woocommerce #mysql
update wp_postmeta set meta_value = meta_value * 1.40 where meta_key='_regular_price'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment