Whenever user comes to checkout, he sees shipping fee precalculated as Delhi is by default selected as a city name. When he enters his address, the shipping fee gets recalculated and that alters the customer experience, user leaves checkout page. I want to not prefill the city name and shipping fees, is there any solution please help! Thanks in advance!
This is currently expected behaviour. It will pre-fill based on a few different criteria, and in general is pretty accurate. That said, if the customer is using something like a VPN, it may be inaccurate.
Unfortunately, there’s no way to change this behaviour currently
It fills wrong zip code 99% of time. There must be an option to disable this. This is causing too much problem on our client’s sites as well.
How its accurate? There is no way to get zipcode of user based on ip address. Not 99, its wrong 99.999% of the time! Filling country or region is find but why anyone in the team has thought to prefill zip codes. Its very bad decision to do this
The way I have used to work around this problem is to create a custom cart page and collect the user’s shipping & billing address at the cart itself. Once the user has entered the address, we can fetch the accurate tax & shipping rates through the estimateCurrentCartTotals() function.
When the checkout button is clicked, the shipping & billing address can be passed through the createCheckoutFromCurrentCart() function and the taxes & fees should be calculated perfectly for the user’s location when the user is navigated to checkout & the addresses are pre-filled too.