Posted on

Shipping rates by user roles in WooCommerce

Offering different shipping rates by user roles can turn guests into customers, visitors into club members or make the diference into your marketing plan. You can use it to boost your sales, increase registrations or give special treat to your community of users. In this post we will see how to do it with Fish and Ships and what advantages it can give you.

Flexibility in shipping rates by user roles

With Fish and Ships, you can use, in the shipping rates calculation conditions, a new selector: user role.
This means that you can set a condition combining any role (or roles), with any other selector: shipping class, price, weight, quantity, volume, measures, category… and set any shipping cost and/or perform any special action: messages, coupons, blocks…
For example: members of your club buying products from the book category. Or incentivize registration by offering a discount on shipping costs.

Full compatibility with 3rd party user roles

You can create the conditions with any user role, whether created by WordPress (subscriber, editor, administrator), WooCommerce (customer) as well as those created by any other plugin or theme (member club, etc). You can also install any user roles plugin, create some roles and use them with Fish and Ships if you need to.

Wordpress, WooCommerce and third-party user roles
WordPress, WooCommerce and third-party user roles

Discounted shipping to incentivize signup

Perhaps your store has enabled the possibility to make purchases as a guest customer. This option has a big advantage: reducing checkout steps will reduce the number of abandoned carts, boosting your sales. But it also has
flaws: these same customers will have to re-enter their data the next time, so it is more unlikely that they will be loyal to your store. And we won’t have complete data on these guest customers.

Offering a discount on shipping rates can be a friendly, unobstructive way to incentivize registration, let’s see how we can offer a special rate to registered customers:

Shipping rates by user roles: setting for customers role only
Shipping rates by user roles: setting for customers role only

But we can do it better: taking advantage of the fact that all Fish and Ships features are combinable with each other,
we can display a message to unregistered users, inviting them to do so and get advantages:

Conditional message by user role
Conditional message by user role
Message encouraging unregistered users to sign in and get a better shipping rate
Message encouraging unregistered users to sign in and get a better shipping rate

Free shipping for members

Maybe your online store has a members club. And you want to offer free shipping to your members. This can be done with a single rule in the rules table. And we can rename the shipping method also, or run any other special action:

Free shipping for customer users role
Free shipping for customer users role

Restrict shipping methods by user roles

Suppose we have a preferred shipping system, via UPS, for partners. By combining the user role selector with the special action “Hide other shipping methods” we can hide this method for non-partners. This will work with any shipping method from any other manufacturer, not just Fish and Ships, for example local pickup or flat rate. (read more: hide shipping methods on WooCommerce)

Hide UPS shipping method by user role
Hide UPS shipping method by user role

Restrict some products by user roles

You can also restrict some products by user roles. For example: club badges only can be purchased for your motorcycle members club. Or maybe some professional products are only available for distributors. Or you sell online webinars and after that promote your customers to expert role and only in this case can purchase some products. There are infinite possibilities.

Put a first rule (#1) that filter your allowed users, and skip for them the next rule (#2), which has the locking special action when there is badges on cart:

Shipping rates by user role
Shipping rates by user role

Restrict sales by user role

By setting a condition that show an error on checkout extended to all methods, we will block the possibility to finish the checkout process by user role. For example, for users who do not belong to our club: they will be able to see our products, put them in the cart, but not finish the checkout. And you can show them a message encouraging to be a memeber first. (read more about: hidding shipping methods on WooCommerce)

Blocking checkout with a message by user roles
Blocking checkout with a message by user roles