How to resolve the issue of storing the cache in address while updating address from checkout

In some cases, if we update the same address multiple times, the cache is stored for the address, and the shipping cost or delivery method will not update if we update again. We can use the below code to remove the cache from the checkout shipping address section.

The address cache is stored due to the source code of the SCA of the OrderWizard.Module.Shipmethod file. We have to remove or comment a single line to remove the cache. Remove the line number 240 that I have marked in the below screenshot from the SSP file. or remove the similar code from the OrderWizard.Module.Shipmethod file.

this.shippingMethodsCache[shippingMethodsCacheKey] = shippingMethodsData;

Leave a comment

Your email address will not be published. Required fields are marked *