module-shipper icon indicating copy to clipboard operation
module-shipper copied to clipboard

Shipping Methods display errors on initial checkout page load

Open gorillagroup opened this issue 10 years ago • 1 comments

On initial load of the checkout page, before any information has been entered, the Shipper HQ shipping methods are displayed with an error message and a $0.00 price. Once the user enters a valid Shipping Address, the correct Shipping Methods and prices are loaded as expected. It appears this issue is caused by an estimate-shipping-methods ajax call firing at checkout load.

checkout

gorillagroup avatar Nov 01 '16 15:11 gorillagroup

This is a native Magento 2 "feature" - it calls collectRates on all active shipping carriers when the checkout page is loaded. You can observe this by disabling ShipperHQ and enabling another core Magento live rate carrier e.g. UPS - rates are requested when checkout page loads.

In ShipperHQ we have included a configuration setting on the shipping method configuration page to "require zip code" before requesting shipping rates. This will prevent this initial shipping method error display.

wsagen avatar Nov 02 '16 13:11 wsagen