Post by yello » Wed Jan 07, 2015 10:17 pm

State / Region should be reworked a bit.

For example, in Germany a address will not contain the state, people write München, and never München, Bayern.

I can do that by removing all states individually from 'locations'. People then must chose 'none', that is ok. It would be nice to be able to do that for one country with one click - or have that State / Region pull down menu removed from individual countries.

I believe most of Europe does not need regions. Country and ZIP-code will route the delivery correctly. People are not used to enter them.

New member

Posts

Joined
Wed Dec 03, 2014 9:00 pm

Post by IP_CAM » Thu Jan 08, 2015 8:00 am

Please check the link below, I described, how to hide certain Fields, like State and Country, and replace the selectable values with a fixed value. I used the registration form as sample, it could be done in other places in a similar way, by just hiding the State, but leave the value, where it needs to be used...

http://forum.opencart.com/viewtopic.php?f=190&t=136422

viel Glück

Ernie
jacob.ch

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by yello » Thu Jan 08, 2015 9:40 pm

Merci, that helps. Do you know if it works with 2.0.* ?

Since you have scripting knowledge, and have haven't had a deep look to OC's inner working - couldn't I simply write a PHP script to change the values in the MySQL DB? To me that would be rather easy, maybe one script that could disable all regions in one country (now need to do one by one)

New member

Posts

Joined
Wed Dec 03, 2014 9:00 pm

Post by IP_CAM » Sat Jan 10, 2015 6:05 am

you may remoe all 'unused' data from a Shop-DB by use of the OpenShop SQL-Buddy, it's a few minutes of work.
As less you have, as faster the thing works, and as easier the selection will be...
SQL-Buddy is part of the OpenShop Extension. AMong some nice other Gizmos...

http://openshop.org.ua/

Good Luck
Ernie
openhop.li

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 5 guests