When WC packages array is empty, manually calculate rates by: 1. Get zone matching the shipping address 2. Call get_rates_for_package() on each method 3. Or fallback to method title/cost for simple methods like Free Shipping Also added debug info to response to help diagnose issues.
96 KiB
96 KiB