This project is not covered by Drupal’s security advisory policy.

The Commerce Equivalency Weight module gives store managers the ability to add
an "equivalency weight" (EW) field to product variations. If the equivalency weight total of the products in the cart exceeds the maximum equivalency weight allowed for an order, checkout will be blocked.

Equivalency Weight (EW) is defined as weight of a product relative to a particular "base" product.

Example

16oz of raw cranberries has an EW: 16oz, but an 8oz can of cranberry sauce could have an EW: 32oz. This may be useful if your store can only sell a limited equivalent amount of raw cranberries per order.

Or perhaps a more practical example:

E-commerce stores that sell legal cannabis are usually limited in how much can be in one order. Let's say 30g (The module's default Max EW).

3 products:

  • Pineapple express (flower): gross weight: 12g EW: 12g
  • Bubba Kush (flower): gross weight: 10g EW: 10g
  • Hash Oil (oil): 30mL bottle EW: 15g

In this example. You could order 3 Bubba Kush in one order (3 x EW: 10g) or 1 Hash oil and 1 Pineapple express (EW: 12g + EW: 15g). If an order exceeds the max EW, the checkout process for that order is disabled.

Features

  • Checkout Blocking
    Blocks checkout for orders that exceed the maximum allowable equivalency weight.
  • Configurable Maximum Equivalency Weight
    You can set the max EW to any weight and unit available in Drupal Commerce.

Required Modules

Supporting organizations: 
Development

Project information

  • caution Seeking new maintainer
    The current maintainers are looking for new people to take ownership.
  • Project categories: E-commerce
  • Created by thejacer87 on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases