VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Shipping VM 1.1 => UPS VM 1 => Topic started by: reve80 on April 17, 2010, 18:28:40 PM

Title: Different shipping rates by usergroups
Post by: reve80 on April 17, 2010, 18:28:40 PM
Hello Guys,

first of all, i have done searching about this on the forum but didn't have no
luck at all.

My problem is that one of my customers wants virtuemart handling
shipping costs based on usergroups. Meaning that guests will have to pay shipping on their ordered products while shopmembers will be free of shipping charges. Maybe my brain is blocked by adding many other extras to this shop but I do not have a solution to this yet. Anyone ?

Greetings
Nicole
Title: Re: Different shipping rates by usergroups
Post by: Forrest on April 17, 2010, 20:38:37 PM
First, I quite sure VM doesn't support this type of option natively.

To get around this, I would set up and enable 2 shipping options.

1. Your regular shipping options (Weight based, UPS, Fedex, etc).
2. Set up a free shipping option.

Then add a php check to display one or the other based on user group. There are a few places you could place this check, depending on what shipping methods you need setup.
Title: Re: Different shipping rates by usergroups
Post by: reve80 on April 17, 2010, 21:09:08 PM
I'd just like to setup one group for DHL-Shipping for members and DHL-Shipping for guests. No weight controlled shipping costs. It's a fixed value for guests.
Title: Re: Different shipping rates by usergroups
Post by: ankan on May 15, 2010, 09:56:52 AM
reve80: Did you solve it?

I want to do the same thing but haven't found any solution.

I think Forrest's solutions sounds god but I don't know where to add the needed code. My guess is to add some code on the page that are showing avaible shipping methods. But what code to add?