Page 1 of 2
[FREE] Weight-Based Shipping with All Zones + Base Cost
Posted: Mon Feb 14, 2011 8:18 am
by Johnathan
Since I realized from
this thread that the weight-based shipping didn't have an All Zones function, I decided I'd throw one in quickly. While I was in the code, I decided I might as well add a Base Cost field too, letting you set a base cost that's added to the weight-based rate.
Basically just upload the files in the "upload" folder and it replaces your weight-based shipping module. I'll point Q to this as well, so it will hopefully be added into the core in the future.
Re: [FREE] Weight-Based Shipping with All Zones + Base Cost
Posted: Wed Mar 23, 2011 12:03 pm
by Qphoria
Will be added to next version (1.4.9.5 or 1.5.x).
Didn't notice your reply to the 1.4.9.4 release till now.
Thanks!
Re: [FREE] Weight-Based Shipping with All Zones + Base Cost
Posted: Wed Mar 23, 2011 8:53 pm
by Johnathan
No problem -- thanks
Re: [FREE] Weight-Based Shipping with All Zones + Base Cost
Posted: Sun Mar 27, 2011 4:13 am
by mystifier
Hi Jonathon,
I think that in
catalog/model/shipping/weight.php
(two occurences) should maybe be:
Code: Select all
if ((float)$cost>$this->config->get('weight_' . $result['geo_zone_id'] . '_basecost')) {
...
if ((float)$cost>$this->config->get('weight_allzones_basecost')) {
If the calculated rate is zero (because the order is too heavy), instead of not appearing as a shipping option, it will allow shipping for basecost alone.
Re: [FREE] Weight-Based Shipping with All Zones + Base Cost
Posted: Sun Mar 27, 2011 9:17 pm
by Johnathan
Hi Mystifier-
Thanks for the suggestion. Personally, if an order is out of the weight range I would prefer not to show it (since it's probably too heavy for me to ship) but other people may want to use your solution. Thoughts on improvement are always appreciated.
Re: [FREE] Weight-Based Shipping with All Zones + Base Cost
Posted: Sun Mar 27, 2011 11:09 pm
by Qphoria
Yea, If base cost is 5.00 and 10lb cart is 5.00 + 6.00
But you didnt add a range for 20lb, it would show as just 5.00 and that would not be good
Re: [FREE] Weight-Based Shipping with All Zones + Base Cost
Posted: Sun Mar 27, 2011 11:52 pm
by mystifier
Johnathan wrote:Thanks for the suggestion. Personally, if an order is out of the weight range I would prefer not to show it (since it's probably too heavy for me to ship) but other people may want to use your solution. Thoughts on improvement are always appreciated.
That's my point! You definitely don't want it to show if it is over-weight.
As it stands, if the item is over maximum shipping, instead of not showing, it will set the shipping to the base cost.
10:15.00,20:25.00 with a base cost of $1 would set shipping to $1 for a weight of over 20Kg
Re: [FREE] Weight-Based Shipping with All Zones + Base Cost
Posted: Mon Mar 28, 2011 4:20 am
by Johnathan
Oh, sorry! I thought your comment:
mystifier wrote:If the calculated rate is zero (because the order is too heavy), instead of not appearing as a shipping option, it will allow shipping for basecost alone.
was talking about the change
you suggested.

Yeah, it should definitely work like you said. I've updated the attachment with the new version, so Q, make sure you get that one when you add it in.
Thanks for keeping a watchful eye on me.

Re: [FREE] Weight-Based Shipping with All Zones + Base Cost
Posted: Mon Mar 28, 2011 4:59 am
by mystifier
No worries. I use a number of your extensions and they have been very useful; this mod should also without question be absorbed into the core since you are happy that it should be.
Re: [FREE] Weight-Based Shipping with All Zones + Base Cost
Posted: Mon Mar 28, 2011 5:47 am
by Qphoria
ok watching
Re: [FREE] Weight-Based Shipping with All Zones + Base Cost
Posted: Sat Apr 09, 2011 11:39 am
by Qphoria
Any update on this?
Re: [FREE] Weight-Based Shipping with All Zones + Base Cost
Posted: Sat Apr 09, 2011 12:32 pm
by Johnathan
I attached the version with the bugfix to the original post. There have been no changes since then.
Re: [FREE] Weight-Based Shipping with All Zones + Base Cost
Posted: Sat Apr 09, 2011 12:44 pm
by Qphoria
oh ok.. got it. Thanks
Re: [FREE] Weight-Based Shipping with All Zones + Base Cost
Posted: Sun Aug 28, 2011 7:41 pm
by ryan2530
It seems that it can't be used on 1.5.
Could someone help me?
Thanks a lot.
Re: [FREE] Weight-Based Shipping with All Zones + Base Cost
Posted: Mon Sep 12, 2011 2:14 pm
by dynamyt100
I have uploaded this mod however when I try to edit it, my page is blank ? HELP !
Re: [FREE] Weight-Based Shipping with All Zones + Base Cost
Posted: Mon Sep 12, 2011 9:03 pm
by Qphoria
This was added to the core in 1.4.9.5 and will be ported into 1.5.x now that it has been deemed working well
This attached one was for 1.4.9.4 before it was added to the core
Re: [FREE] Weight-Based Shipping with All Zones + Base Cost
Posted: Mon Sep 12, 2011 10:17 pm
by dynamyt100
Have you got any suggestions for me please. My weight based mod is now not working and I need to do something ?
Re: [FREE] Weight-Based Shipping with All Zones[solv + Base
Posted: Tue Sep 13, 2011 1:44 pm
by dynamyt100
I installed the original files and used Q's guide on geozones - sorted.
Re: [FREE] Weight-Based Shipping with All Zones + Base Cost
Posted: Sun Oct 02, 2011 2:42 am
by nvillacci
Has this been implemented for the newest version 1.5.3? The code doesnt seem to work past version 1.4*... this is the last step I need to get my new site working correctly...
Nick
Re: [FREE] Weight-Based Shipping with All Zones + Base Cost
Posted: Sun Oct 02, 2011 2:46 am
by Qphoria
nvillacci wrote:Has this been implemented for the newest version 1.5.3? The code doesnt seem to work past version 1.4*... this is the last step I need to get my new site working correctly...
Nick
It will be submitted for 1.5.1.4.. I forgot to put it into 1.5.1.3