The new default address is not applied at "Ship to" field on checkout page

I have a question relate to the default address.

I use Dawn theme, my default address is Brother Cao at checkout.

After that, I change default address in Customer->View Addresses-> I change Default address to Father Cao

But when I come back to checkout, the address which is selected in “Ship to” field isn’t changed to new default address. I expect it should check at Father Cao, but it keep at Brother Cao.

If I log out and login again, it will be changed.

Do you know any reason behind it? And how to update immediately without re-login. Thank you

Hi ThangCQ,

This issue might be happening because of a caching mechanism in Shopify. When you change your default address, it gets updated in the backend but the frontend (the checkout page in this case) might not get this update immediately due to caching.

Logging out and in again clears the cache, which is why you see the updated address after doing so.

Could you have any solution for this issue.

I try to clear cache and reload but it still keep the old address