Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Free UK shipping - Worldwide flat rate

Free UK shipping - Worldwide flat rate

Locked

Views: 1,339

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
17 Nov 2009, 1:28 PM
#1
longstockings avatar

longstockings

Zen Follower

Join Date:
Jul 2004
Posts:
198
Plugin Contributions:
0

Free UK shipping - Worldwide flat rate

Hi

I'm trying to find the best way of setting free delivery for all customers who purchase within the UK but I also want to charge a flat fee if the customer lives anywhere outside of the UK. I would prefer it if invalid shipping options were not shown to the customer so that customers outside of the UK cannot select free shipping when it doesn't apply to them.

Hope this makes sense.

17 Nov 2009, 3:19 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Free UK shipping - Worldwide flat rate

If the shop is in the UK, then go to the Modules ... Order Total ... Shipping ot_shipping and set the Free Shipping on Orders >= 0 and set to National ...

Create a Zone Definition that includes all countries except the UK ...

Then, install the Flat Rate flat shipping module and set the Zone to this new Zone Definition ...

17 Nov 2009, 3:21 PM
#3
longstockings avatar

longstockings

Zen Follower

Join Date:
Jul 2004
Posts:
198
Plugin Contributions:
0

Re: Free UK shipping - Worldwide flat rate

Hi

Thanks for that. It makes perfect sense however is there a quick way of adding all of the Countries to a shipping zone ?

Regards,
Richard

17 Nov 2009, 3:23 PM
#4
longstockings avatar

longstockings

Zen Follower

Join Date:
Jul 2004
Posts:
198
Plugin Contributions:
0

Re: Free UK shipping - Worldwide flat rate

Hi

Ignore me I've just spotted the All Countries option

17 Nov 2009, 3:26 PM
#5
longstockings avatar

longstockings

Zen Follower

Join Date:
Jul 2004
Posts:
198
Plugin Contributions:
0

Re: Free UK shipping - Worldwide flat rate

Okay now I have no way of removing the UK from the all Countries zone so I'm stuck again.

17 Nov 2009, 3:32 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: Free UK shipping - Worldwide flat rate

Backup your database before running this ...

You can run this in either the Tools ... Install SQL Patches ... or in phpMyAdmin ...

INSERT INTO geo_zones (geo_zone_id, geo_zone_name, geo_zone_description, last_modified, date_added)
VALUES (35, 'International', 'All Countries Except United Kingdom', NULL, CURDATE());

INSERT INTO zones_to_geo_zones (zone_country_id, zone_id, geo_zone_id, date_added)
SELECT countries_id , 0, 35, CURDATE()
FROM countries
WHERE countries_iso_code_3 NOT IN ('GBR');
17 Nov 2009, 3:38 PM
#7
longstockings avatar

longstockings

Zen Follower

Join Date:
Jul 2004
Posts:
198
Plugin Contributions:
0

Re: Free UK shipping - Worldwide flat rate

That worked a treat.

Thanks Linda