How can I make the "postcode" required when registering?
77 posts
• Page 4 of 4 • 1, 2, 3, 4
Re: How can I make the "postcode" required when registering?
InfiniteDezigns wrote:QPhoria:
Although it's added, there still doesn't show a red asterix next to the zipcode at all and the customers aren't filling it out. I need to change the word from post code to Zip code and also need the Asterix next to it. Any suggestions?
http://www.dyelyfe.com/Store
I just ended up hacking it with the red Astrix. And changed the word post code to zip code. It looks perfect. But I hope this will be fixed in the upcoming 1.5 v of Opencart.
- InfiniteDezigns
- Posts: 28
- Joined: Sun Jun 20, 2010 9:18 pm
Re: How can I make the "postcode" required when registering?
InfiniteDezigns wrote:Qphoria wrote:YOU DO NOT NEED TO APPLY THIS MOD IN 1.4.9 OR LATER AS IT HAS ALREADY BEEN ADDED AND AUTOMATICALLY REQUIRES BASED ON THE COUNTRY!
QPhoria:
Although it's added, there still doesn't show a red asterix next to the zipcode at all and the customers aren't filling it out. I need to change the word from post code to Zip code and also need the Asterix next to it. Any suggestions?
http://www.dyelyfe.com/Store
I just ended up hacking it with the red Astrix. And changed the word post code to zip code. It looks perfect. But I hope this will be fixed in the upcoming 1.5 v of Opencart.
That has nothing to do with Opencart but with the custom template your using!
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
First Things First: Opencart Check List.
Documentation: Our Documentation section.
BUGs?: Known BUGS for All OC Versions.
Problemen met de BTW?: [How to] BTW + Verzend & betaalmethodes.
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
First Things First: Opencart Check List.
Documentation: Our Documentation section.
BUGs?: Known BUGS for All OC Versions.
Problemen met de BTW?: [How to] BTW + Verzend & betaalmethodes.
-

i2Paq - Global Moderator
- Posts: 9748
- Joined: Mon Nov 09, 2009 11:00 am
- Location: Winkel - The Netherlands
Re: How can I make the "postcode" required when registering?
YOU DO NOT NEED TO APPLY THIS MOD IN 1.4.9 OR LATER AS IT HAS ALREADY BEEN ADDED AND AUTOMATICALLY REQUIRES BASED ON THE COUNTRY!
IF YOU USE A CUSTOM THEME YOU MAY HAVE TO MODIFY SOME OF THE THEME FILES!!!
IF YOU USE A CUSTOM THEME YOU MAY HAVE TO MODIFY SOME OF THE THEME FILES!!!
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
First Things First: Opencart Check List.
Documentation: Our Documentation section.
BUGs?: Known BUGS for All OC Versions.
Problemen met de BTW?: [How to] BTW + Verzend & betaalmethodes.
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
First Things First: Opencart Check List.
Documentation: Our Documentation section.
BUGs?: Known BUGS for All OC Versions.
Problemen met de BTW?: [How to] BTW + Verzend & betaalmethodes.
-

i2Paq - Global Moderator
- Posts: 9748
- Joined: Mon Nov 09, 2009 11:00 am
- Location: Winkel - The Netherlands
Re: How can I make the "postcode" required when registering?
i2Paq wrote:YOU DO NOT NEED TO APPLY THIS MOD IN 1.4.9 OR LATER AS IT HAS ALREADY BEEN ADDED AND AUTOMATICALLY REQUIRES BASED ON THE COUNTRY!
IF YOU USE A CUSTOM THEME YOU MAY HAVE TO MODIFY SOME OF THE THEME FILES!!!
Then post once again what has to change in the Theme files?
- InfiniteDezigns
- Posts: 28
- Joined: Sun Jun 20, 2010 9:18 pm
Re: How can I make the "postcode" required when registering?
Thanks for the help, I have had the same problem, your solution worked perfectly (1.4.7). 

- ImogenLockhart123
- Posts: 1
- Joined: Thu Aug 11, 2011 2:43 am
Re: How can I make the "postcode" required when registering?
ok how would i get rid of the Your Address field altogether and have them not required is this possible?
Your Address
Company:
* Address 1:
Address 2:
* City:
* Post Code:
* Country:
* Region / State:
Your Address
Company:
* Address 1:
Address 2:
* City:
* Post Code:
* Country:
* Region / State:
- jimquim
- Posts: 8
- Joined: Sun Aug 14, 2011 3:28 pm
Re: How can I make the "postcode" required when registering?
Hi, ages ago I did this process for a client but only did it for new account register. I forgot to do it for the guest checkout. Is there a way of doing this? What are the files I would need to change?
The version of my opencart got removed (Don't ask me how!) is there a way of finding out? This will help me decide which code to use.
Cheers
It's sorted now, backtracked. Still not sure how to find the version though.
The version of my opencart got removed (Don't ask me how!) is there a way of finding out? This will help me decide which code to use.
Cheers
It's sorted now, backtracked. Still not sure how to find the version though.
Looking for professional, affordable website design in Newcastle Upon Tyne - visit Webfeet Design
- webfeetdesign
- Posts: 82
- Joined: Thu Feb 04, 2010 5:28 pm
- Location: Newcastle Upon Tyne
Re: How can I make the "postcode" required when registering?
This works on the "initial" customer setup BUT If you add extra or multiple locations to that users account the zip code field is "not" a required field in that situation. Can you revise this post to make the zip code a required field when adding multiple locations to a user account as well?
- netpaydays
- Posts: 2
- Joined: Tue Mar 13, 2012 6:29 am
Re: How can I make the "postcode" required when registering?
i'm currently running 1.5.4.1 and it postcode isn't a requirement for USA and Canada but in real operations this is definitely needed. it does apply the requirement if the country is united kingdom. any ideas on how to fix this so it is required for USA and Canada? Thanks
- javabean
- Posts: 19
- Joined: Tue Aug 28, 2012 6:11 pm
Re: How can I make the "postcode" required when registering?
@javabean: Select YES in your Admin -> System -> Localization -> Country -> United States -> Zip Code Required.
Do the same for Canada.
Do the same for Canada.
- JohnOC
- Posts: 6
- Joined: Thu Aug 09, 2012 6:19 pm
Re: How can I make the "postcode" required when registering?
AWESOME! fixed it. thanks for the heads up. i should've looked closer. 

- javabean
- Posts: 19
- Joined: Tue Aug 28, 2012 6:11 pm
Re: How can I make the "postcode" required when registering?
Hi i have a question about "postal code" or something about it.. right now i'm developed an online shop using open cart, and when i try to use menu register, the register step is success but i cant login with my account that i previously made.. its on : http://www.netoneshop.com/index.php?rou ... t/register
And theres something strange, when my browser ask me to remember my password, it didnt remember my email, instead its remember my POSTAL CODE..

and when i try to logging in......

i cant logging in even i input my correct email address and password, looks like the browser remember my postal code, not my email, or theres something broken on my open cart controller??
anybody can help me? please im a dead man walking now -____________-
And theres something strange, when my browser ask me to remember my password, it didnt remember my email, instead its remember my POSTAL CODE..

and when i try to logging in......

i cant logging in even i input my correct email address and password, looks like the browser remember my postal code, not my email, or theres something broken on my open cart controller??
anybody can help me? please im a dead man walking now -____________-
- robzcuy
- Posts: 10
- Joined: Sat Nov 24, 2012 5:03 am
Re: How can I make the "postcode" required when registering?
I recently purchased the Shoppa Theme and the Post codd shows as mandatory for the UK but not for the US, I'm using version 1.5.4, can you tell me how to correct this.
- vntgeclassified
- Posts: 10
- Joined: Sun Jan 06, 2013 7:23 pm
Re: How can I make the "postcode" required when registering?
@vntgeclassified Not sure if you are still looking for an answer, but it's a few posts above yours.
Thanks @JohnOC I came here looking for that answer
Thanks @JohnOC I came here looking for that answer
- sunster
- Posts: 20
- Joined: Wed Sep 26, 2012 7:25 pm
Re: How can I make the "postcode" required when registering?
SOLVED Thank You, Overlooked option in System/Localization/Countries in the Admin Panel.
- vntgeclassified
- Posts: 10
- Joined: Sun Jan 06, 2013 7:23 pm
Re: How can I make the "postcode" required when registering?
This is the fast way:
Just add <font color="red">*</font>, in the php!
Just add <font color="red">*</font>, in the php!
- admin0902
- Posts: 2
- Joined: Sat Feb 09, 2013 2:57 pm
Re: How can I make the "postcode" required when registering?
All you guys are doing so difficult with editing source files etc. You don't have to do ANYTHING of this.
If you want to set postcode required the only thing you have to do is run the following SQL command:
That's it!
If you want to set postcode required the only thing you have to do is run the following SQL command:
- Code: Select all
UPDATE oc_country SET `postcode_required` =1;
That's it!
- innocrea
- Posts: 12
- Joined: Wed Oct 10, 2012 5:00 pm
77 posts
• Page 4 of 4 • 1, 2, 3, 4
Who is online
Users browsing this forum: ahmadka, cars111, KoHkureHt, neb120, opencartArab, peteVA, stokp1, tdubs and 71 guests













