Liquid, JavaScript, themes, sales channels
Hi guys.
I created a custom liquid theme and I'm having trouble with the customer addresses page.
I am working with shopify/liquid built-in objects to manage customer addresses (like in Dawn tpl) and although form calls are successful, I do not see the updated/added addresses by the user (not even in admin by going to the customer profile).
Do you have any idea where the problem is coming from?
Thank you in advance.
Paolo
Hi!
I was having the same issue and figured out how to fix it so I hope it helps your case too!
In short, it was because the value of "country" field was invalid.
Using `{{ all_country_option_tags }}` tag gives you "---" in the first option, and when I didn't change the country field on the address edit form, it automatically set "---" to country field and it failed to update the address.
(You can check this on Network tab in dev tools to see a value for each address input field. see the image below).
In my case, it was the country field but make sure that all the input fields have valid values.
Hope this solves or at least helps you get some ideas to fix your issue👍
Hi @morima
I'm seeing the exact same thing.
Can you share how you fixed it, please?
User | RANK |
---|---|
38 | |
28 | |
13 | |
11 | |
8 |
Transform this holiday season into a shopping spree. Plus, learn how to effortlessly open ...
By Jasonh Dec 8, 2023Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023