netresearch / dhl-shipping-m2

DHL multi-division shipping extension for Magento 2
Open Software License 3.0
13 stars 4 forks source link

DHL module config issue #10

Closed ersvltan closed 3 years ago

ersvltan commented 3 years ago

Hello,

DHL box at the bottom of the checkout is not updating after changing some settings in the "Shipping Services in Checkout" section.

Ways to reproduce:

  1. Open DHL settings and turn off previous and set some new services in "Shipping Services in Checkout"
  2. Click "Save" & clean the caches.
  3. Go to the checkout and check the DHL box, the old services are still remaining, and there is no change.
powli commented 3 years ago

Hey @ersvltan, please check if you have also cleaned up your browsers application storage for the store in question, as the results from the service availability request are cached in the browser for the zip code/country combination.

ersvltan commented 3 years ago

@powli Ohh, how come that I forgot to check the browser cache. Yes, cleaning the browser cache solved the problem. Thank you!

Btw, is there any info about it in the documentation?

ngolatka commented 3 years ago

@ersvltan No, that's not in the documentation because we don't expect the configuration to be changed all the time.

Also, when a new cart (i.e. a new quote) is created, the services are not loaded from the browser cache. Your issue can really only occur for existing carts/quotes. As soon as the quote ID changes, the new service configuration is used.

powli commented 3 years ago

Also, when a new cart (i.e. a new quote) is created, the services are not loaded from the browser cache. Your issue can really only occur for existing carts/quotes. As soon as the quote ID changes, the new service configuration is used.

Even changing the zip code or the country in the checkout would suffice.

ngolatka commented 3 years ago

Closing this, since there have been no further questions.

Not happy? Feel free to reopen this issue.