Change WooCommerce product and variation prices programatically without affecting performance
https://woocommerce.wp-a2z.org/oik_api/wc_delete_product_transients/ You need to clear only 1 transient: delete_transient( ‘wc_var_prices_’. $product->get_id() );