1. Home
  2. Docs
  3. Custom Code Samples
  4. Shipping
  5. Use lowest region price for overlapping regions

Use lowest region price for overlapping regions

By default, when drawn Shipping Regions, also known as Zones overlap, LPAC will automatically use the cost of the highest Region as the shipping cost.

You can override this behaviour using the snippet below:

function lpac_use_highest_shipping_region_cost(){
  return false;
}
add_filter('lpac_use_highest_region_cost', 'lpac_use_highest_shipping_region_cost');
Was this article helpful to you? Yes No