This code retrieves the total shipping amount from the WooCommerce Shipping class and assigns it to the ‘$free_shipping_amount’ variable. This value can then be used to determine the amount of free shipping for an order.
Was this code snippet helpful?
YesNo