WooCommerce Shipping Methods by User Membership

WooCommerce Shipping Methods by Products

Set products, product categories or tags to include/exclude for WooCommerce shipping methods to show up

Description

WooCommerce Shipping Methods by Products module allows you to show or hide shipping methods depending on which products are added to the cart by the customer. Currently there are three sections in the module:

  • shipping methods by products,
  • shipping methods by product categories,
  • shipping methods by product tags.

Each section can be enabled or disabled with a checkbox. If you don’t need some option inside the section – leave it empty and it will be ignored.

WooCommerce Shipping Methods by Products - Admin Settings - Shipping Methods by Product Categories

Shipping Methods by Products Module Options

Enable section
Enable/disable one of the sections.
Default: yes
"Include" Options
Enable this checkbox if you want all products in cart to be valid (instead of at least one). Check Usage Scenario #1 below.
Default: no
Shipping Method – Include
If you fill in this option, then at least one of selected products / product categories / product tags must be added to the cart for shipping method to show up.
Default: None
Shipping Method – Exclude
If you fill in this option, then if at least one of selected products / product categories / product tags is added to the cart – shipping method will be hidden.
Default: None
Usage Scenario #1

Let’s say you have two product categories (A and B) and three shipping methods, and you want:

  1. If only category A products are in cart – only shipping method 1 is available.
  2. If only category B products are in cart – only shipping methods 2-3 are available.
  3. If both category A and category B products are in cart – all shipping methods 1-3 are available.

To cover the first two list items, all you need is to set (in “Shipping Methods by Product Categories” section) Shipping Method 1 > Include Product Categories to category A and Shipping Method 2-3 > Include Product Categories to category B. Exclude Product Categories options for all shipping methods should be left empty:

WooCommerce Shipping Methods by Products - Usage Example 1

For the list item three (“If both category A and category B products are in cart…”) – you need to uncheck “Include” Options checkbox, as if you enable it, and both categories products are in cart, then no shipping methods will be available at all.

Accessible through:
  • WooCommerce > Settings > Booster > Shipping & Orders > Shipping Methods by Products
Tested on WooCommerce 3.4.3 and WordPress 4.9.6
Plugin can be downloaded here. If there are any locked fields in the module, you will need to get Booster Plus to unlock them.

Leave a Reply

No comments yet.