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
- Confirm the Google API key is saved.
- Confirm the origin address geocodes correctly.
- Add the shipping method to the correct zone.
- Add a product to the cart.
- Enter a complete destination address.
- Review the rate, distance display, and cost breakdown.
- 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.