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.5.2 and WordPress 5.0
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

Comments

7 Comments

  1. Luke Krieger June 28, 2018 at 3:09 am #

    I am trying to exclude shipping for certain products to certain states. how much support would you have if I run into any snags?

    Regards,

    Luke

    Reply to thread

    • RokasJ June 28, 2018 at 11:22 am #

      Hi Luke,

      We will try to help with any problems that may come up via email; sometimes it’s necessary for us to login to your website to find the root of the problem.

      Best regards,
      Rokas – Support Team

  2. Terry September 4, 2018 at 9:39 am #

    Hi Guys,

    I have a lot of custom shipping methods, some that I want to exclude from certain categories.

    The issue that I am running into is that this module page takes a long time to load, is there any other way to set these exclusions?

    Reply to thread

    • Terry September 4, 2018 at 10:31 am #

      I should add – I am using shipping instances, these will only increase, thus making the issue worse the more I add.

      The page itself will no longer fully load all instances.

    • Terry September 4, 2018 at 11:35 am #

      also – it might help if you could let me know the table / meta_key for the instance data, as I could update via SQL.

      I don’t seem to be able to see it in the database, only a reference to in the wp_woocommerce_shipping_zone_methods

      but do not see where the rules / tables etc are stored.

    • RokasJ September 4, 2018 at 3:32 pm #

      Hi Terry,

      Can you contact us via email at support@booster.io with this issue? Thank you.

      Best regards,
      Rokas – Support Team

  3. Toby September 23, 2018 at 12:38 pm #

    Hi

    I´m missing Shipping Methods by Weight, is this something you can add?

    Reply to thread