My woocommerce site has many additional fees conditions.
And Two Shipping: free shipping ($150 over order price) and flat shipping ($10 price).
when on cart page or checkout page,
subtotal = $150
shipping: free shipping (because subtotal is 150)
fees = $25
total = $125 (shipping is free. it should be flat shipping. because total is under the 150 but shipping calculation is based on subtotal. )
I want the order of shipping calculation to be as follows;
- subtotal (example: $150)
- apply coupon discount (example $10 -> new subtotal $140)
- after than apply all fees (example $15 -> new subtotal $125)
- after than calculate shipping (example 125 < 150 = so apply flat shipping +$10)
- total (example $125 + $10 = $135)