8 replies [Last post]
tnk
tnk's picture
Offline
Joined: 08/25/2007
Juice: 41
Was this information Helpful?

Hi

On my ubercart site, shipping quotes is mainly determined by weight as follows

0 - 5 pound $10
5 - 15 pound $15
15-20 pound $20

How can I accomplish this.

I dont mind changing code in modules or hardcoding if required.

Thanks in advance

zmove's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Internationalizationizer
Joined: 08/13/2007
Juice: 1192
Re: Shipping Quotes by Weight

Did you try the shipping by weight core module ? I never tested it but it could do what you want.

There is the geoshipping contribution that do what you want. In addition you can specify one weight table per country.

The problem of the geoshipping module is that it is not working with the shipping quote and so, you will not able to see the shipping cost before the order review page.

tnk
tnk's picture
Offline
Joined: 08/25/2007
Juice: 41
Re: Re: Shipping Quotes by Weight

Yes I did try the shipping quote module. The problem with that module is that , you cannot specify min. shipping price.

I can say that 1 pound costs $1. But I cannot say 0 -5 pounds should cost $10.

I am only shipping in USA. So I dont want cross country module.

If anyone has done the range based shipping quote , please help.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Re: Shipping Quotes by Weight

There was a tablerate module contributed a while back that may have been lost in the crash. I can't really vouch for it or its user interface, but if I remember I'll attach it to this thread in the morning. If nothing else, it might be a good starting point to customize for your needs.

tnk
tnk's picture
Offline
Joined: 08/25/2007
Juice: 41
Reminding

Hi Ryan

Just reminding you , if you get chance to post the code here

Thanks

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Reminding

Attached... again, this is untested. And I have a feeling it will need to be updated in the near future.

AttachmentSize
uc_tablerate.tar 8 KB
rio_gio's picture
Offline
Joined: 08/23/2007
Juice: 90
Re: Re: Reminding

This is exactly what I need for shipping.

I installed the module and it seems to work fine, except that it won't calculate over a certain amount.

For instance, here is how I set up my table.

0:4.60,12:7.50,56:13.10,1011:15.90,1516:17.40,2021:19.65,2526:22.65,3031:25.65,3536:28.90,4041:32.20,4546:35.55,5051:38.90,5556:42.15,6061:45.45,6566:48.90,70

Well, it won't calculate anything over $13.10

1 lbs fine, 2 lbs, fine, 5 - 10 lbs, fine, but anything over 10lbs gets stuck and it only quotes $13.10.

Any help?

rapidsynergy's picture
Offline
Joined: 08/10/2007
Juice: 26
Tablerate module for alpha7e

I don't know who originally wrote this Tablerate module but it's extremely useful. I've tweaked it for my own purposes and upgraded it to work with alpha7e. I'm posting it here just in case it may be helpful to others. Just put it under the new 'shipping' directory with the other Ubercart modules.

AttachmentSize
uc_tablerate.tar 10 KB
rio_gio's picture
Offline
Joined: 08/23/2007
Juice: 90
Re: Shipping Quotes by Weight

I installed this same module on the latest version of ubercart with all other modules updated and it's not working any longer.

No updates for this or is there something I should edit?