Post by Gjald » Wed Apr 04, 2012 1:34 am

Thanks for a fast response andrixx, ill try it out and return with what result i get ;-)

Newbie

Posts

Joined
Thu Feb 02, 2012 7:11 pm

Post by Gjald » Wed Apr 04, 2012 2:47 am

Ok it worked editing what you mentioned ;-) So im very happy!!

The different files had minor differences no biggie ;-)

Thanks alot @ andrixx my hero ;-)

Newbie

Posts

Joined
Thu Feb 02, 2012 7:11 pm

Post by andrixx » Wed Apr 04, 2012 5:24 am

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.

New member

Posts

Joined
Sat Jun 18, 2011 7:23 pm

Post by stenstrom » Sun May 06, 2012 6:21 pm

THANK YOU!!!
style="display:none;"

Worked nice with shoppica theme and OC 1.5.2.1
;D

//stenstrom


New member

Posts

Joined
Thu Apr 19, 2012 1:36 am
Location - Sweden

Post by mirek » Fri Jun 15, 2012 7:49 pm

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.

Attachments

Remove region/state for default theme - tested on 1.5.3.1.


Newbie

Posts

Joined
Fri May 25, 2012 3:37 pm

Post by andrixx » Wed Aug 08, 2012 5:53 pm

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.

New member

Posts

Joined
Sat Jun 18, 2011 7:23 pm

Post by mirek » Wed Aug 08, 2012 6:16 pm

The vQmod I've posted above is working for me in 1.5.3.1 and default theme.

Try to clean cache (delete content of /system/cache/ folder) if it helps.

Newbie

Posts

Joined
Fri May 25, 2012 3:37 pm

Post by andrixx » Wed Aug 08, 2012 6:59 pm

Great! I will try that.

But I see that the line:

Code: Select all

if ($this->request->post['zone_id'] == '') {
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)

New member

Posts

Joined
Sat Jun 18, 2011 7:23 pm

Post by Gjald » Sun Aug 19, 2012 5:00 pm

Hi i just recently upgraded to 1.5.4

Ill try your VQmod

So far i have succeeded in removing the dropdown and text .. but still get the error

:joker:

Newbie

Posts

Joined
Thu Feb 02, 2012 7:11 pm

Post by aninibr » Sat Dec 01, 2012 8:23 pm

I also want to try this. First i will try to do the code changes.

Newbie

Posts

Joined
Sat Dec 01, 2012 3:28 am

Post by thbr02 » Mon Feb 18, 2013 1:08 am

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.

Attachments


Active Member

Posts

Joined
Wed Jun 22, 2011 10:30 pm
Location - Sweden

Post by maccadon » Wed Feb 27, 2013 11:56 pm

Thanks, that updated file works perfect!

Active Member

Posts

Joined
Thu Aug 05, 2010 9:57 pm

Post by Pamella » Thu Feb 28, 2013 9:32 am

Great ;-) but not working with v1.5.5 :-( is not ?

OC 3.0.3.7 EN (default theme) running on PHP 7.3 MariaDB 10.3 Linux / Apache 2.4


New member

Posts

Joined
Tue Oct 25, 2011 4:22 am

Post by thbr02 » Thu Feb 28, 2013 2:34 pm

it may be due to this mod is not create for default theme. For use with default theme you might have to change some search strings to fit your theme. Any errors in your log or in your vqmod.log?

Active Member

Posts

Joined
Wed Jun 22, 2011 10:30 pm
Location - Sweden

Post by thbr02 » Tue Mar 12, 2013 2:11 am

Pamella wrote:Great ;-) but not working with v1.5.5 :-( is not ?
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.

Active Member

Posts

Joined
Wed Jun 22, 2011 10:30 pm
Location - Sweden

Post by mitho105 » Fri May 31, 2013 1:44 am

thbr02 wrote:
Pamella wrote:Great ;-) but not working with v1.5.5 :-( is not ?
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.

can you tell me how to get this to work with the shoppica2 theme?

thnak you

Newbie

Posts

Joined
Sat May 25, 2013 1:02 am

Post by mitho105 » Sat Jun 01, 2013 8:38 pm

what is it in the xml i would have to change to get it to work whit shoppica 2 theme?

Newbie

Posts

Joined
Sat May 25, 2013 1:02 am

Post by nobreak » Thu Nov 25, 2021 7:10 pm

Opencart 1.5.6.4 don`t work .... ::)

New member

Posts

Joined
Wed Jul 02, 2014 3:23 pm

Post by mirek » Thu Nov 25, 2021 7:37 pm

These vQmods works for our 1.5.6.4.
I am not sure if I made any changes due to our theme...

Newbie

Posts

Joined
Fri May 25, 2012 3:37 pm

Post by nobreak » Thu Nov 25, 2021 8:49 pm

Thank you so much! :)

New member

Posts

Joined
Wed Jul 02, 2014 3:23 pm
Who is online

Users browsing this forum: No registered users and 62 guests