* Use the cart price provided by WooCommerce by default for fresh installations of the plugin. It makes Order Subtotal accounting for virtual items' prices and increases compatibility with third-party plugins.
* Make sure a user has manage_woocommerce capability in order to update the shipping rules.
* Tested with PHP 8.2.