Great that it worked for you, that means you did all the editing before correct! 
I know how frustrating this is to do, and when you are a novice on coding this can be a pain!
But, since zones are useless and only confusing here in sweden its a must to remove them.
I hope in the future a change will be made to the core of OC, I understand that it's not the highest priority, but the ability to add and remove fields is a great feature. Should be doable from the admin side.

I know how frustrating this is to do, and when you are a novice on coding this can be a pain!
But, since zones are useless and only confusing here in sweden its a must to remove them.
I hope in the future a change will be made to the core of OC, I understand that it's not the highest priority, but the ability to add and remove fields is a great feature. Should be doable from the admin side.
Hi,
Trying to get this working on 1.5.3.1 but still getting errors during checkour registration or guest checkout. Customer registration, changing or adding address in address book is OK.
I have tried both style="display:none;" and vqmod from zippen. None of them worked...
Anybody have working solution for 1.5.3.1?
Thanks
EDIT: Finally got it working. I've made vQmod for default theme.
Trying to get this working on 1.5.3.1 but still getting errors during checkour registration or guest checkout. Customer registration, changing or adding address in address book is OK.
I have tried both style="display:none;" and vqmod from zippen. None of them worked...
Anybody have working solution for 1.5.3.1?
Thanks
EDIT: Finally got it working. I've made vQmod for default theme.
Attachments
Remove region/state for default theme - tested on 1.5.3.1.
I am trying to do the same for 1.5.3.1 but I don't get it to work.
I assume there is still codes left in some /controller/*/*.php
But I can't figure it out.
Is there anyone out there that take a look for us please?
We need to find the code that makes Zone required and then remove it everywhere.
I assume there is still codes left in some /controller/*/*.php
But I can't figure it out.
Is there anyone out there that take a look for us please?
We need to find the code that makes Zone required and then remove it everywhere.
Great! I will try that.
But I see that the line:
appears in a few more files. Maybe your vQmod-file need to comment out it on more places
Search "if ($this->request->post['zone_id'] == '') {" (11 hits in 11 files)
\admin\controller\sale\affiliate.php (1 hits)
\catalog\controller\account\address.php (1 hits)
\catalog\controller\account\register.php (1 hits)
\catalog\controller\affiliate\edit.php (1 hits)
\catalog\controller\affiliate\register.php (1 hits)
\catalog\controller\checkout\cart.php (1 hits)
\catalog\controller\checkout\guest.php (1 hits)
\catalog\controller\checkout\guest_shipping.php (1 hits)
\catalog\controller\checkout\payment_address.php (1 hits)
\catalog\controller\checkout\register.php (1 hits)
\catalog\controller\checkout\shipping_address.php (1 hits)
But I see that the line:
Code: Select all
if ($this->request->post['zone_id'] == '') {
Search "if ($this->request->post['zone_id'] == '') {" (11 hits in 11 files)
\admin\controller\sale\affiliate.php (1 hits)
\catalog\controller\account\address.php (1 hits)
\catalog\controller\account\register.php (1 hits)
\catalog\controller\affiliate\edit.php (1 hits)
\catalog\controller\affiliate\register.php (1 hits)
\catalog\controller\checkout\cart.php (1 hits)
\catalog\controller\checkout\guest.php (1 hits)
\catalog\controller\checkout\guest_shipping.php (1 hits)
\catalog\controller\checkout\payment_address.php (1 hits)
\catalog\controller\checkout\register.php (1 hits)
\catalog\controller\checkout\shipping_address.php (1 hits)
Iv'e updated the "remove_region_state.xml" to include the affiliate and admin part. I use Opencart 1.5.1.3 and a custom theme so you might have to change some search strings to fit your theme.
Now you can download this mod for OC 1.5.5.1. You'll find it at http://www.opencart.com/index.php?route ... n_id=10591.Pamella wrote:Great ;-) but not working with v1.5.5 :-( is not ?
thbr02 wrote:Now you can download this mod for OC 1.5.5.1. You'll find it at http://www.opencart.com/index.php?route ... n_id=10591.Pamella wrote:Great ;-) but not working with v1.5.5 :-( is not ?
can you tell me how to get this to work with the shoppica2 theme?
thnak you
These vQmods works for our 1.5.6.4.
I am not sure if I made any changes due to our theme...
I am not sure if I made any changes due to our theme...
Who is online
Users browsing this forum: No registered users and 82 guests