How to Enable or Disable Payment and Shipping Methods based on Users or Groups

B2BKing adds the ability to control which groups and individual users have access to which shipping and payment methods.

Control methods by group / user category #

To do this, the first step is going to B2BKing->Groups:

B2BKing Groups Panel

Here you can control available methods for 3 categories of users:

  • B2B Users (by B2B Group)
  • B2C Users
  • Logged Out Users

Control Methods for B2B #

After clicking on "Business Groups", you can then go to each user group and set payment and shipping methods for that group.

Example: Business Group Panel for the "Factories" Group

Simply check and uncheck desired options for the specific business group and then click "Update" to save your settings.

Control Methods for B2C & Logged Out Users #

If you click on "Logged Out Users" or "B2C Users", you will see a panel like the following one:

B2BKing B2C Users Group Panel

You can check or uncheck options and when you are done, click "Save Settings"

Note: Methods for B2C and logged out users must be configured separately! B2C settings do NOT apply for logged out users.

Set Methods Individually for Each User #

You can also configure shipping and payment methods for each customer individually. This is done by going to their user profile page, and choosing "Manual setting" in the shipping and payment methods dropdown.

Then you can enable / disable methods for that specific user:

Shipping and Payment Methods Control for Each User

Issue: I can't see my shipping method in B2BKing > Groups #

If you're not able to see your shipping method in B2BKing ->Groups, it's probably because it uses a non-standard implementation mechanism (not visible as a standard method in WooCommerce -> Settings -> Shipping)

You can try to add the following PHP snippet to the site to see if it can fix that:

add_filter('b2bking_use_zone_shipping_control', function($val){
    return false;
}, 10, 1);

The above snippet changes the shipping control mechanism used by B2BKing from a zone-based mechanism to a non-zone mechanism, and thus different methods will be available. This may help if your shipping method is not added to a particular zone.

Other information #

The following article also contains important information relevant if you are looking to configure different shipping costs for B2B and B2C.

Set different shipping costs for B2B and B2C

Note: B2BKing works with any WooCommerce payment gateway and any shipping method.

Powered by BetterDocs