VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Development Projects, Modifications, Hacks & Tweaks. VM1.1 => Shipping Modules => Topic started by: jonhollis on February 02, 2008, 10:12:17 AM

Title: Two shipping modules on one order
Post by: jonhollis on February 02, 2008, 10:12:17 AM
Is it possible to have to select 2 shipping options for one order?

I need to add a "support" product to each order which is 17% of the total value.  I can do this by modding a shipping module and changing the frontend text to "support".  I then need a cutsomer to select another shipping option.

Any ideas?
Title: Re: Two shipping modules on one order
Post by: Simon A. on February 05, 2008, 18:50:13 PM
Why not just create a product for every "Product X" called "Support for Product X" that costs 0.17 x (price of Product X)?
Title: Re: Two shipping modules on one order
Post by: jonhollis on February 06, 2008, 11:21:23 AM
That's how I'd do it but, unfortunately, that's not how the client wants it to work.  I'm thinking of adding bespoke code that calculates the support during the initial checkout process and then adds it as a seperate product.  In this way the customer can remove it, if required.  It's not manadatory but the client wants to sneak in, in this way.  That's how it's done on their current site and it works well for them.
Title: Re: Two shipping modules on one order
Post by: Simon A. on February 07, 2008, 05:28:39 AM
It's also possible to have two shipping options: one says "Shipping + Support" and the other says "Shipping". Set one up with the shipvalue module, and one with the WHIP module. I don't know if your customer will be happy with that, though.