Need to make Zip Code/Postal Code Mandatory for Irish Orders

Zoe_Brooks1
New Member
5 0 0

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?

0 Likes
Sharad_Davra
Shopify Partner
1048 140 467
For that you need to add required in input of address form in accout page.

Like and mark as accepted answer.
Thank you
If helpful, Please Like and accept The Solution.
Want to customize Shopify storefront? Check the PageFly app
75,000+ Active Shopify merchants. TOP5 best Shopify Apps.
0 Likes
Zoe_Brooks1
New Member
5 0 0
Hi,

How exactly do you do this? Is it a code you need to put in?
0 Likes
Marcosk
New Member
1 0 0

Hi, Did you find a solution for this? I need to do the same for Postal Code field. Need it mandatory. Thanks

0 Likes
Sharad_Davra
Shopify Partner
1048 140 467

-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 :)

If helpful, Please Like and accept The Solution.
Want to customize Shopify storefront? Check the PageFly app
75,000+ Active Shopify merchants. TOP5 best Shopify Apps.
0 Likes
Diana_g
Tourist
3 0 5

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! 

Ty10
Tourist
4 0 1

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

0 Likes
whitelorraine
New Member
1 0 0

Hi did anyone ever find a solution to this? 

0 Likes

Same for Spain... Seems like a bug or something? Because there is no option to enable/disable mandatory Zip Code in settings

NCK-ESP
Excursionist
10 0 10

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.