If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / Built-in Shipping and Payment Modules / Free UK shipping & free to Europe > £50

Free UK shipping & free to Europe > £50

Locked

Started by damiantaylor on 14 Aug 2010, 12:47 PM · Views: 887

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
14 Aug 2010, 12:47 PM
#1
damiantaylor avatar

damiantaylor

Zen Follower

Join Date:
Aug 2009
Posts:
244
Plugin Contributions:
0

Post #1 by damiantaylor

Can someone help me with the best way to set up free shipping to the UK and Europe?

I want to have free shipping the the UK on all orders and free shipping to Europe on orders over £50.
I thought I would use the freeshipper module to take care of free shipping to the UK, then use freeoptions module to configure free shipping to Europe for orders over £50.
I would then use one of the other modules to charge for European deliveries under £50.

I fell at the first hurdle....When I try to use the freeshipper module for the UK, I just get the 'We do not deliver to your region....' message.
The freeoptions module works though.

Does anyone have any ideas how todo what I'm after?

Thanks!

14 Aug 2010, 4:44 PM
#2
ajeh avatar

ajeh

Oba-san

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

Post #2 by ajeh

What shipping module(s) do you want to use for:

1 Everyone in the world not in the UK or Europe?

2 Europe when the order is less than $50.00?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

15 Aug 2010, 12:32 PM
#3
damiantaylor avatar

damiantaylor

Zen Follower

Join Date:
Aug 2009
Posts:
244
Plugin Contributions:
0

Post #3 by damiantaylor

Hi Linda,
We're not offering delivery to the rest of the world, just UK and Europe.

I've cloned the freeoptions module so far, so I've used the original freeoptions to handle free UK shipping on everything and the clone to handle free shipping to Europe when the order value is over £50.

All I need now is to handle weight based shipping for Europe if the order total is < £50.
I was thinking the zone rates module should do it but can it be configured to switch off if the order total is >= £50?

15 Aug 2010, 3:06 PM
#4
ajeh avatar

ajeh

Oba-san

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

Post #4 by ajeh

You can control when a module shows or does not show by the $this->enabled ...

If $this->enabled is true ... it will show or run ...

If $this->enabled is false ... it will not show or not run ...

I did not test this code, but you should be able to customize the zones.php shipping module with the following change:

      // disable only when entire cart is free shipping
      if (zen_get_shipping_enabled($this->code)) {
        $this->enabled = ((MODULE_SHIPPING_ZONES_STATUS == 'True') ? true : false);
      }

      // bof: hide module if order is > 50
      if (IS_ADMIN_FLAG == false) {
        global $cart;
        if ($_SESSION['cart']->show_total() > 50) {
          $this->enabled = false;
        }
      }
      // eof: hide module if order is > 50

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!