Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Commerce Shipping: Exclude shipping method for product(s)

Security covered Maintenance fixes only 1 sites

Part of the Commerce ecosystem · 487 projects

This module allows you to specify shipping methods that should not be available for particular products or product variations. When a product with excluded shipping methods is in the cart, those methods will be automatically removed from the checkout options.

Adds a commerce product / variation field type and a commerce condition, which serve to exclude specific shipping methods not allowed for a product / variation.

The shipping methods to exclude for these products can easily be selected in the product / product variation. Shipping methods that are excluded by any cart item are then not available for selection in checkout.

Requirements (required)

This module requires the following modules:

Installation

Install as you would normally install a contributed Drupal module. For further information, see Installing Drupal Modules.

Configuration

  • Enable the module at Administration > Extend.
  • Now create a new "Exclude Shipping Method" field on a product and / or product variation and make sure to set the cardinality to "Unlimited".
  • For every "Shipping Method" you desire to be excluded on a product / product variation level, you need to enable the "Allow to exclude From Shipping" condition on the excludable shipping method.
  • Now, when all desired shipping methods are tagged for potential exclusion, you can define for each product / product variation instance, which shipping method you don't want to allow for that specific product / product variation instance.
    • Note, that the condition will always check, on the product variation level, whether the "Allow to exclude From Shipping" field is set and whether its value is empty. If the field is not set or the field value is empty, it will do the same check on the parent product. Meaning if the field is set on both the product and product variation, the value of the product variation will overwrite the field value of the product.
  • Done!

Supporting this module

Support DROWL's ♥ FOSS work on this module on OpenCollective!

Drupal and this module are FOSS. However, it takes dedicated people to develop and maintain. And they need YOU to give back!

We're committed to building and maintaining Drupal modules that benefit the entire community.

Supporting us on OpenCollective helps us continue to improve, innovate and contribute to Drupal's future. Every pledge makes a difference!

If this module has helped you, we would be very grateful for your donation to support its further development and maintenance.

Support our FOSS development ♥️

You can also speed up the development of features or bugfixes you'd love to see, by sponsoring and giving back!

Sponsor a feature or bugfix 🚀

Let's make Drupal even better, together!

Development proudly sponsored by German Drupal Friends & Companies:

webks: websolutions kept simple (https://www.webks.de)
and
DROWL: Drupalbasierte Lösungen aus Ostwestfalen-Lippe (OWL), Germany (https://www.drowl.de)

Ask your assistant about Commerce Shipping: Exclude shipping method for product(s)

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
Feb 2025
Latest release
5 months ago
Releases (12 mo)
1 ▼ from 5
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.0.0-beta4 Pre-release 10–11 May 5, 2026
1.0.0-beta3 Pre-release 10–11 Mar 11, 2025
1.0.0-beta2 Pre-release 10–11 Feb 28, 2025
1.0.0-beta1 Pre-release 10–11 Feb 13, 2025
1.0.0-alpha1 Pre-release 10–11 Feb 11, 2025
1.x-dev Dev 10–11 Feb 10, 2025