Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Free shipping for minimum order values in different zones

Free shipping for minimum order values in different zones

Views: 2,506

Results 1 to 14 of 14
18 Jun 2011, 9:13 PM
#1
cebra avatar

cebra

New Zenner

Join Date:
Jun 2011
Posts:
23
Plugin Contributions:
0

Free shipping for minimum order values in different zones

I am trying to set up free shipping for UK orders over £25 and international orders over £85.

How do I go about this?

18 Jun 2011, 10:09 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Free shipping for minimum order values in different zones

Are you trying to make this the ONLY shipping methods or as an Option to the other regular shipping methods? :unsure:

19 Jun 2011, 9:12 PM
#3
cebra avatar

cebra

New Zenner

Join Date:
Jun 2011
Posts:
23
Plugin Contributions:
0

Re: Free shipping for minimum order values in different zones

Hello Ajeh

I have set fees for orders below £25 for UK and below £85 for international. As soon as customers place order for more than £25/£85 I want the system to eliminate postal charges.

So - that would then be optional I guess?

19 Jun 2011, 9:48 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Free shipping for minimum order values in different zones

If you do not want the other shipping modules to show at the same time as the Free Shipping shows, then you could set the Modules ... Order Totals ... Shipping ot_shipping to have Free Shipping enabled on Orders over 25.00 and set to National ... to cover the UK ...

For the International, you would need to do some custom coding ...

What Shipping Module(s) are you using?

19 Jun 2011, 10:31 PM
#5
cebra avatar

cebra

New Zenner

Join Date:
Jun 2011
Posts:
23
Plugin Contributions:
0

Re: Free shipping for minimum order values in different zones

Hmmm.. I have to read that several times to get my head around it :huh:

I use the built-in shipping Zone Rates (all three zones) from ZenCart as I can't get to grips with the BigRoyal whatsit... for a start the prices are out of date and I can't face updating everything manually :smile:

the Zone Rates work fine alas I sofar only managed to set the FREE SHIPPING OPTIONS module for UK as you said. I would need an additional FREE SHIPPING module for international I guess

19 Jun 2011, 11:29 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: Free shipping for minimum order values in different zones

Then if you want to have the Free Shipping show with the other shipping methods for the Rest of the World, you could use the Flat Rate flat shipping modules ...

Add the Zone for the Rest of the World that does not include the Uk and set the Rate to 0.00 ...

Then customize the code by including the code in red:

        if ($check_flag == false) {
          $this->enabled = false;
        }
      }

// bof: Free Shipping Rest of the World
if (!IS_ADMIN_FLAG) {
  global $cart;
  if ($this->enabled == true && $_SESSION['cart']->show_total() >= 85) {
    $this->enabled = true;
  } else {
    $this->enabled = false;
  }
}
// eof: Free Shipping Rest of the World

    }

// class methods
    function quote($method = '') {
20 Jun 2011, 7:07 PM
#7
cebra avatar

cebra

New Zenner

Join Date:
Jun 2011
Posts:
23
Plugin Contributions:
0

Re: Free shipping for minimum order values in different zones

Sorry for being a bit thick - do I enter this code into flat.php under shipping? I have done that and it's not working.

20 Jun 2011, 10:34 PM
#8
ajeh avatar

ajeh

Oba-san

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

Re: Free shipping for minimum order values in different zones

This would go into flat.php ...

20 Jun 2011, 10:55 PM
#9
cebra avatar

cebra

New Zenner

Join Date:
Jun 2011
Posts:
23
Plugin Contributions:
0

Re: Free shipping for minimum order values in different zones

Hello Ajeh

It worked after all - I neglected to type in the zone exactly as I have it (i.e. Rest of World rather than Rest of the World) :oops:

Thank you so much for your help and patience :smile:

20 Jun 2011, 11:03 PM
#10
cebra avatar

cebra

New Zenner

Join Date:
Jun 2011
Posts:
23
Plugin Contributions:
0

Re: Free shipping for minimum order values in different zones

Forgot to ask...

Where do I go to change the text i.e. "Flat Rate" and "Zone Rates" in the pop-up shipping estimator please?

21 Jun 2011, 12:08 AM
#11
ajeh avatar

ajeh

Oba-san

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

Re: Free shipping for minimum order values in different zones

You can change the language files for the modules using the templates and overrides ...

The Shipping language files are in:
/includes/languages/english/modules/shipping

copy what you need to change to:
/includes/languages/english/modules/your_template_dir/shipping

21 Jun 2011, 11:27 AM
#12
cebra avatar

cebra

New Zenner

Join Date:
Jun 2011
Posts:
23
Plugin Contributions:
0

Re: Free shipping for minimum order values in different zones

Thank you so much, Ajeh.

21 Jun 2011, 1:41 PM
#13
cebra avatar

cebra

New Zenner

Join Date:
Jun 2011
Posts:
23
Plugin Contributions:
0

Re: Free shipping for minimum order values in different zones

:blink: I think I messed this up - I placed the files into /public_html/includes/languages/english/modules/my-custom-template/shipping
and now these three (flat, freeshipping options and zones) have vanished :(.

When I go into the admin site of things and click on modules "shippng" it says at the bottm that the modules are placed in Module Directory: /includes/modules/shipping/ however - the three mentioned above are also mssing from there..

Do I need to activate something?

21 Jun 2011, 1:53 PM
#14
cebra avatar

cebra

New Zenner

Join Date:
Jun 2011
Posts:
23
Plugin Contributions:
0

Re: Free shipping for minimum order values in different zones

Okay - I reinstalled them. Somehow I must have copied over the wrong files :oops: