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.
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.
Last edited by Johnathan on Mon Mar 28, 2011 4:20 am, edited 1 time in total.
Hi Jonathon,
I think that in catalog/model/shipping/weight.php
(two occurences) should maybe be:
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.
I think that in catalog/model/shipping/weight.php
Code: Select all
if ((string)$cost != '') {
Code: Select all
if ((float)$cost>$this->config->get('weight_' . $result['geo_zone_id'] . '_basecost')) {
...
if ((float)$cost>$this->config->get('weight_allzones_basecost')) {
Free v1.4.9 Extensions: Default Specials | Improved Search | Customer Activity Report | Customer Groups | Royal Mail With Handling | Improved Product Page | Random Products | Stock Report | All Products
That's my point! You definitely don't want it to show if it is over-weight.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.
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
Free v1.4.9 Extensions: Default Specials | Improved Search | Customer Activity Report | Customer Groups | Royal Mail With Handling | Improved Product Page | Random Products | Stock Report | All Products
Oh, sorry! I thought your comment:
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.
was talking about the change you suggested.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.

Thanks for keeping a watchful eye on me.

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.
Free v1.4.9 Extensions: Default Specials | Improved Search | Customer Activity Report | Customer Groups | Royal Mail With Handling | Improved Product Page | Random Products | Stock Report | All Products
Have you got any suggestions for me please. My weight based mod is now not working and I need to do something ?
Who is online
Users browsing this forum: No registered users and 11 guests