Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / exclude one zone from all countries

exclude one zone from all countries

Views: 2,611

Results 1 to 6 of 6
17 Nov 2009, 4:27 AM
#1
zvenson avatar

zvenson

New Zenner

Join Date:
May 2009
Posts:
61
Plugin Contributions:
0

exclude one zone from all countries

Hi!
I want to use paypal for all countries except my homecountry. So i created a zone for this - but unfortunately i only can add "all countries" to that zone or "every single country" manually to that zone. Does anyone know how i can exclude one country from the all zone instead of including every single country to that zone by hand.

Thanks for helping!

28 Nov 2010, 1:15 PM
#2
dysfunctional avatar

dysfunctional

Zen Follower

Join Date:
Apr 2008
Posts:
159
Plugin Contributions:
0

Re: exclude one zone from all countries

I'm wondering the same thing.

If I want to add all countries except one to a zone, do I really have to add all countries (except one) manually? Sounds like quite a job :)

28 Nov 2010, 1:36 PM
#3
dysfunctional avatar

dysfunctional

Zen Follower

Join Date:
Apr 2008
Posts:
159
Plugin Contributions:
0

Re: exclude one zone from all countries

Correction - to a zone definition, that is.

Same reason above - I want to offer one payment method to all countries except my home country.

28 Nov 2010, 3:57 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: exclude one zone from all countries

Post #32 will build a Zone Definition for everyone except the United States ...
http://www.zen-cart.com/forum/showthread.php?t=41751

You could add the United States and remove your country from it then rename the Zone Definition ...

28 Nov 2010, 4:29 PM
#5
dysfunctional avatar

dysfunctional

Zen Follower

Join Date:
Apr 2008
Posts:
159
Plugin Contributions:
0

Re: exclude one zone from all countries

Wow! Thank you Linda. problem solved

27 Feb 2011, 2:44 PM
#6
jewelsnpearls avatar

jewelsnpearls

New Zenner

Join Date:
Feb 2011
Location:
Hong Kong
Posts:
29
Plugin Contributions:
1

Re: exclude one zone from all countries

The multi-zone shipping module (http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_51&products_id=1720) allows for a list of ISO-countries that are excluded. So cannot use the SQL-patches...

I made a txt file that contains all official codes for countries. Skipped all reserved and deprecated ones, ONLY added SF - the old code for Finland, since some Fins still use it...

Put this in the excluded countries form field and don't forget to take the ones that the rate is for, out and move them to the next box.

AD,AE,AF,AG,AI,AL,AM,AO,AQ,AR,AS,AT,AU,AW,AX,AZ,BA,BB,BD,BE,BF,BG,BH,BI,BJ,BL,BM,BN,BO,BQ,BR,BS,BT,BU,BV,BW,BY,BZ,CA,CC,CD,CF,CG,CH,CI,CK,CL,CM,CN,CO,CR,CS,CU,CV,CW,CX,CY,CZ,DE,DJ,DK,DM,DO,DZ,EC,EE,EG,EH,ER,ES,ET,FE,FI,FJ,FK,FM,FO,FR,GA,GB,GD,GE,GF,GG,GH,GI,GL,GM,GN,GP,GQ,GR,GS,GT,GU,GW,GY,HK,HM,HN,HR,HT,HU,IB,ID,IE, IL,IM,IN,IO,IQ,IR,IS,IT,JE,SF, JM,JO,JP,KE,KG,KH,KI, KM,KN,KP,KR, KW,KY,KZ,LA,LB,LC,LI,LK,LR,LS,LT,LU,LV,LY,MA,MC,MD,ME,MF,MG,MH,MK,ML,MM,MN,MO,MP,MQ,MR,MS,MT,MU,MV,MW,MX,MY,MZ,NA,NC,NE,NF,NG,NI,NL,NO,NP,NR,NU, NZ,PA, PE,PF,PG,PH,PK,PL,PM,PN,PR,PS,PT,PW,PY,QA,RE,RO,RS,RU,RW,SA,SB,SC,SD,SE,SG,SH,SI,SJ,SK,SL,SM,SN,SO,SR,ST,SV,SX,SY,SZ,TC,TD,TF,TG,TH,TJ,TK,TL,TM,TN,TO,TR,TT,TV,TW,TZ,UA,UC, UG, UM, US,UY,UZ,VA,VC,VE,VG,VI, VN, VU,WF, WS, YE, YT, ZA,ZM,ZW