[support] Ubercart: how to use different shipping methods for different classes *all in one order*?

Andy Fowlston andy at pedalo.co.uk
Thu Feb 10 15:03:29 UTC 2011


Hi all,

I'm using Ubercart and I have three types of products, each with their own flat rate shipping quote rules:

   1. base price of 5, product rate of 0
   2. base price of 0, product rate of 0
   3. base price of 0, product rate of 1 

The difficulty is that if one order has products from different types, then the shipping is cumulative. For example, if I order two products from each category, the total would be 7. I can set up the individual shipping methods fine, I just don't know how to tell Ubercart to add the results together to form the shipping total.

I imagine I could inelegantly hack something together that would work. Perhaps it'd work if I made two shipping methods, one with a base price of 0, the other with 5. Then I give each product its appropriate product rate on the product edit form (the same for both shipping methods) and use conditional actions to make sure the appropriate shipping method is used. But seems a bit naff imho.

Seeing as Ubercart has such a nice way of representing each of these shipping methods individually, it'd be great to just tell it to sum them up. If that's possible :)

Any ideas?

Thanks in advance,

Andy

. . . . . . . 
Andy Fowlston
+44 (0)20 8747 5068
andy at pedalo.co.uk
Skype: andy.pedalo
www.pedalo.co.uk

This email is intended only for the above named addressee/s. This email may be confidential or legally privileged. If you have received this email and you are not a named addressee, you must not use, copy, distribute or disclose the email or any part of its contents or take any action in reliance on it. If you have received this email in error, please email the sender by replying to this message and delete it from your system. All reasonable precautions have been taken to ensure no viruses are present in this email. 

pedalo limited cannot accept responsibility for loss or damage arising from the use of this email or attachments and recommends that you subject these to your virus checking procedures prior to use. Any views or opinions presented are solely those of the author and not necessarily those of Pedalo Limited

Please consider the environment before printing this email


More information about the support mailing list