How to get minimum order amount for free shipping in WooCommerce?

Posted by Prem Tiwari | Updated on

Want to get minimum order amount for free shipping in WooCommerce? This value is stored in an option under the key woocommerce_free_shipping_settings. It is an array that is loaded by the WC_Settings_API->init_settings().

If you want to get access to it directly you can use get_option():


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers