Update product variations prices in Woocommerce with WPDB query

后端 未结 1 1930
无人及你
无人及你 2021-01-16 08:40

I am using WordPress 4.7.4 and WooCommerce 3.0.5.

I updated _sale_price, _price, _regular_price using meta_id wi

相关标签:
1条回答
  • 2021-01-16 09:02

    Try by adding this line after your code.

    wc_delete_product_transients( $post_id );
    

    // $post_id replace with product ID

    0 讨论(0)
提交回复
热议问题