Liquid, JavaScript, themes, sales channels
Hi there,
I need to make the zip code/postal code form section required for orders in Ireland. Does anyone know how I can do this?
Hi, Did you find a solution for this? I need to do the same for Postal Code field. Need it mandatory. Thanks
-find the code for zipcode in form and put required attribute in the Input field.
<input type="text" id="zipcode" name="zipcode" required>
-Give Likes 🙂
You can only have access to checkout page code if you are on a Plus Plan!
We have big issues with the shipping company, just because of this stupid thing....!
I am wondering is there any other way to do that, I mean an app or some hack? I really need to make the ZIP mandatory for Irish orders or else our shipping partner blame us for undelivered and missing parcels! Just because they don't have the postcode, how convenient!
It is ridiculous...one should be able to decide if the postcode should be mandatory or not!
Hey,
I am having the same problem now too!
Has you managed to find a solution to this? Its causing me major problems with fulfilment.
Thanks!
Tyler
Hi did anyone ever find a solution to this?
This should be the accepted answer. Thanks!
Same for Spain... Seems like a bug or something? Because there is no option to enable/disable mandatory Zip Code in settings 😕
It has to be a bug in the checkout.
Zip 'div' has the class "field--required" but no test is done when you press the "continue" button:
<div class="field field--required field--third" data-address-field="zip" data-autocomplete-field-container="true">
Input tag has the "aria-required" property too, so that's not the problem.
Checkout is bugged in the zip code checking, there's no other explanation.
It seems really strange and everything points to a bug considering Postal Code used to be a mandatory field in the past. I was in contact with Shopify Support multiple times and was told that this was expected behaviour.
For us, this is a big deal breaker as a local payment gateway need this info to be mandatory for risk & compliance reasons (chargeback) so it currently forbids us approving our Online Shop for them.
Any chance that this will be fixed in Shopify's Core anytime soon?
Were you be able to find a solution? This is a huge problem for us too, I just can't understand why did they change it.
We could not find a solution for this really - we managed a workaround via our CMS and pre-filled the Shipping Adress in the Checkout via Storefront API calls, thus being able to fetch the mandatory address info beforehand. This helped our acquirers validation process, but it still leaves the checkout field for postal code without actual validation during checkout in case someone would go and remove the pre-filled data from there - i suppose this is not a viable way for most real life use cases though. I really hope this will be fixed some time soon in the Shopify Checkout Core functionality.
This is an issue for us also. Having some form of validation on the zip code field to not be blank is needed at a minimum. If using the Local Delivery shipping method, there are options to only allow specific Zip codes, however without any frontend validation on the form, this allows the customer to get to the Shipping page when no shipping methods are available for their zip code.
Having the same issue in Israel..
does somebody found solution?
Is there any update on this issue?
Came across the same issue for our client - the last mile delivery API we're using threw an error when a customer went through the checkout without filling postal code. I started digging, and this is indeed a problem in Shopify checkout. Support first pointed towards theme, but that's not the case as I replicated it with a plain vanilla out of the box store as well as any Shopify store out there. Waiting for feedback from Shopify support.
Hello Monthan,
can you please tell us did you get feedback from Shopify considering this issue?
Thanks
Yes, here's the reply:
To make sure with the possibility, I have coordinated with our Technical Team I’ve also did some further research and found that there is indeed a limitation to this specific feature not being readily available.
The postal code is a required field for only some countries, and in this case, Finland is not included.
As a workaround, you may use apps (like the one that you're currenly using) These checkout fields provide a real solution and replace these workarounds and apps.
Another workaround would be enabling the "Company name" field in checkout and changing its label within admin Online Store > Themes > Actions > Edit Languages. After that search "Company name" in the search field.
These checkout fields provide a real solution and replace these workarounds and apps
If in any case the feature that you are trying to request is not yet available in the platform, with your permission, I'll go ahead and pass your feature request over to our developments team so they could take a closer look. This way, we can learn more and possibly think of better ways on how to handle different types of back-end issues and how to improve the platform overall. Rest assured that we will learn from this.
To which I replied that I would personally see a lot of value for this becoming a feature in the admin UI, next to full name, company name, address and shipping address phone.
This would be preferred as any workarounds have a UX/UI impact, and bring up dependencies in notifications, APIs and more.
Thank you very much. I don't find this solution with editing language so good, because there are lots of field in it and I am not sure if I need to change each of them or just label name, and in that case, if I understood I need to change and postal code label otherwise I would have two same labels.
Can you tell me which app is mentioned in this answer "you may use apps (like the one that you're currently using"?
Yeah, I fully agree. Having native support for marking postal code / zip code as required via the admin UI would be best.
We are using Zapiet Store Pickup & Delivery app to enable our client's online business which is fast casual (pizzas, burgers, tacos across multiple restaurants).
Yes, they need to fix this definitely. Thank you
I just wanted to chime in that I have the same problem.
How in the name of technology in 2021 is making postal code a required field not a possibility? Almost every courier requires a postal code to ship.
Anyone from Shopify monitor these threads?
Thanks,
Brandon
Hi Guys,
I am really sorry for the delay in responding - we have only just seen a number of mentions on the form, going forwards we will get a notification for forum posts and respond much quicker.
@monthan I just wanted to let you know we are launching our new app this year Zapiet Eats - you can find more information and register your interest using that link. This app was created with food establishments in mind and might be of interest to your business.
If you need any more assistance or information you can email us at supprt@zapiet.com, you can also start a live chat by visiting www.zapiet.com.
Take care,
Kitty
Thanks for the response, @Kitty_Zapiet !
So I just wanted to check though on the feature request - will Shopify be adding the capability (in the UI) to make postal/zip codes a mandatory field?
It would be extremely useful for us.
Thanks,
Luxonis-Brandon
Hello @Zoe_Brooks1
The zip code field of the address form in your checkout, is automatically set to require the zip or postal code be entered before proceeding to the next page of the checkout. Therefore, customers will not be able to continue through to the shipping page unless their zip code is provided.
You can assist your customers with entering their entire shipping address details by enabling the address autocompletion option. This checkout setting is found in your Shopify admin by going to ‘Settings > Checkout’. It looks like this:
What payment gateway are you using? If you are using Shopify Payments, then there is another setting that you can use to ensure an accurate zip code is entered. From your Shopify admin again, please go to ‘Settings > Payment Providers > Manage’ and enable the Address Verification System (AVS).
This is a fraud prevention feature as well, that will decline the payment if the zip code entered for the billing address does not match what the customer’s credit card provider has on file for them.
I hope the above is useful to you.
Best regards,
GemPages Support Team
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024