News:

Support the VirtueMart project and become a member

Main Menu

Different shipping rates by usergroups

Started by reve80, April 17, 2010, 18:28:40 PM

Previous topic - Next topic

reve80

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

Forrest

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.

reve80

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.

ankan

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?