This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

User role based shipping methods

Description

It will allow you to hide/show the WooCommerce Shipping methods based on User Role. It will also allow you to manage the WooCommerce Shipping methods based on Shipping Country. You can use it with Flat Rate / Free Shipping / Local Pickup or any other third party shipping plugin.

Do you wish to provide Woocommerce Shipping Cost based on User Role ?
Do you wish to provide WooCommerce Shipping Cost based on Shipping Country ?
Are you still struggling to setup the Woocommerce Shipping Cost based on User Role and Destination Country ?

Here’s the solution for your requirement. Setup Flat Rate / Free Shipping or Shipping Cost using any third Party Plugin and Manage them Which Shipping Cost need to be shown to which user and for which country.

Features

  • Manage WooCommerce Shipping Method based on User role.
  • Manage WooCommerce Shipping Method based on Country.
  • Manage Woocommerce Shipping Method based on User role and Destination Country.
  • Manage shipping method based on shipping method name or label

Introduction

Hide/show woocommerce shipping methods based on user role and destination country.

Screenshots

  • General Settings
  • Rules Settings
  • Value of Shipping Method to hide
  • Shipping method hidden
  • Multiple shipping method rule configuration for sigle user role
  • Shipping method hidden based on label / name

Installation

Follow the below instructions to install the plugin on your website:
1. Download and unzip the latest release zip file.
2. Upload the entire plugin directory to your /wp-content/plugins/ directory.
3. Activate the plugin through the Plugins menu in WordPress Administration.

You can also use WordPress uploader to upload plugin zip file in menu Plugins -> Add New -> Upload Plugin. There you can Activate the plugin once it is uploaded successfully.

FAQ

How to setup the plugin?

Go to plugin settings page. You can navigate it from plugin page.

I will try to explain it by taking a sample case?

Woocommerce store info: Assume our store offer three shipping methods – Standard Delivery, Express Shipping, One Day Shipping.

Case 1: I want to show One Day Shipping method to Administrator user role in USA.

To acheive it add a new rule in Rules settings page.
* Select Administrator in User Role field.
* Select United States in Countries field.
* Select Label in Action On Shipping Method field.
* Add Standard Delivery and Express Shipping methods in Shipping Methods field seperated by semicolon like – Standard Delivery ; Express Shipping.
* Click on save changes.
* Now go to shop page add any product and recalculate the shipping cost by changing the address, Standard Delivery and Express Shipping method won’t be shown.

Case 2: I want to show Standard Delivery, Express Shipping method to Guest user role in USA.

To acheive it add a new rule in Rules settings page.
* Select Guest in User Role field.
* Select United States in Countries field.
* Select Label in Action On Shipping Method field.
* Add One Day Shipping in Shipping Methods field.
* Click on save changes.
* Now go to shop page add any product and recalculate the shipping cost by changing the address, One Day Shipping method won’t be shown.

Here’s the video showing the above cases.

Plugin not working after setting the plugin?

If you have done the plugin setup and you still don’t see any change in cart/checkout page then please try to recalculate the shipping cost by changing the address because by default woocommerce will show you the cached shipping methods.

Sample Video

Reviews

❄️1️⃣ 19, 2022
I've tried a lot of different settings, I'm unable to make it work. I'll go with pure PHP instead.
🍂 1️⃣1️⃣ 9, 2021
Super confusing plugin. I thought it was suppose to allow you to set which shipping methods to show for different roles but it's the exact opposite. It allows you to set what shipping methods to HIDE for the role. No where is this mentioned except for the plugin tags. Once you work that out it works great, also needed to dig through the plugin images here to see what data to use for each shipping method. Mine where flat_rate:1 and flat_rate:10
July 20, 2021
Does what I need, ie different roles get different shipping prices, however could do with some documentation or something a bit nicer in setup to work out how to set the shipping rate. As my requirement is simple I could do it by guesswork.
🌸4️⃣ 20, 2020
Works perfect. Works in combination with Woocommerce weight based shipping plugin too. Great work. Thanks to developer.
Read all 8 reviews

Contributors & Developers

“User role based shipping methods” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.0

  • Initial release.

1.0.1

  • Content Updated

1.0.2

  • Guest user support added in rule

1.0.3

  • Compatibility with WordPress 5.3.2 & WooCommerce 4.0

1.0.4

  • Improved security

1.0.5

  • Compatibility with WordPress 5.7.2 & WooCommerce 5.3.0

2.0.0

  • Compatibility with WordPress 5.9
  • Compatibility with WooCommerce 6.1.1
  • New option to hide shipping method based on shipping method name / title / lable

2.0.1

  • Handled PHP compatibility issue
  • Compatibility with WordPress 6.1.1
  • Compatibility with WooCommerce 7.5.1
  • Improved plugin page readme content