4 replies [Last post]
lostcarpark's picture
Offline
Joined: 09/22/2007
Juice: 109
Was this information Helpful?

Hi,

Just wondering is there any way I can specify shipping quote rules per user role? I currently use flat rate shipping, but I have a group of users I'd like to be able to override this for. Any thoughts on how I could do this?

Thanks for your help.

James

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3424
Re: Free Shipping for User Role

Same as http://www.ubercart.org/faq/2942 but check user role instead of order total.

<tr>.
lostcarpark's picture
Offline
Joined: 09/22/2007
Juice: 109
Thanks for the tip. That

Thanks for the tip.

That sounds great, but I'm having a little difficulty making it work.

I've set up two flat rate shipping rules, one called "Flat rate per order" with a price of €5, and the other called "Free shipping within 10 miles" with a price of €0.

I then went to the Workflow-ng section and for free shipping I added a "User has role" condition and selected the role "Local customer". For the flat rate I also added "User has role" and checked the "Negate" box as well as picking "Local Customer".

However, regardless of what user I log in as, when I click "Calculate shipping" it always comes back "€5".

Is there something obvious I've missed, or is there some way I can debug this?

Thanks again.

TR
TR's picture
Offline
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3424
Re: Thanks for the tip. That

Sounds like you've done everything right. I've never used the role conditions in Workflow-ng so I can't swear they work, but I would guess they do unless there's a bug report to the contrary on drupal.org.

Try deleting the role conditions so you just have two flatrate methods quoted every time, and make sure that works first. Then try something else like the check order total instead of check user role, to make sure you can get that working (I *know* the check order total works as shown in the FAQ). That will at least narrow things down.

<tr>.
pfrilling's picture
Offline
Joined: 01/06/2009
Juice: 36
Hello Has anyone ever got

Hello

Has anyone ever got this option to work? I currently need to show two separate shipping quotes to two different roles, but I've had little success using the shipping quote per user role option in the workflow module.

Any help is appreciated.

--