I have a Wordpress Woocommerce store, and it has multiple shipping options - US Mail Shipping, Local Delivery, and Local Pickup. I need the following shipping customizations:
1) Local Delivery should be charged a flat fee based on miles from the store:
-0-10 miles - $15
-10-15 miles -$20
-15-20 miles - $25
-20-25 miles - $30
-25-30 miles - $35
-30-35 miles - $40
2) If one product in the cart is Local Delivery, all products in the cart must be Local Delivery.
3) If the products in the cart are Local Delivery, shipping rates above should be for the entire cart, not per every item.