WooCommerce Shipping Rate by Distance

Calculate WooCommerce shipping costs based on distance, weight, and shipping class. Powered by Google Routes API with smart formulas and zone-level control.

Shipping Rate by Distance Testing Rates and Debug Output

Test distance rates before launch using real destination addresses and a controlled cart.

Test checklist

  1. Confirm the Google API key is saved.
  2. Confirm the origin address geocodes correctly.
  3. Add the shipping method to the correct zone.
  4. Add a product to the cart.
  5. Enter a complete destination address.
  6. Review the rate, distance display, and cost breakdown.
  7. Enable debugging only while testing, then turn it off.

If no rate appears, test with a simple cart and a known address before adding formulas, shipping classes, or weight surcharges.

In This Article