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?
Views: 2,506
New Zenner
I am trying to set up free shipping for UK orders over £25 and international orders over £85.
How do I go about this?
Oba-san
Are you trying to make this the ONLY shipping methods or as an Option to the other regular shipping methods? :unsure:
New Zenner
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?
Oba-san
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?
New Zenner
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
Oba-san
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 = '') {
New Zenner
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.
Oba-san
This would go into flat.php ...
New Zenner
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:
New Zenner
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?
Oba-san
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
New Zenner
Thank you so much, Ajeh.
New Zenner
: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?
New Zenner
Okay - I reinstalled them. Somehow I must have copied over the wrong files :oops:
Tell staff why this post should be reviewed.