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

!NOT PRODUCTION READY!

This module provides a service and API for retrieving applicable products within a Commerce Promotion. It is highly intrusive in its attempt, overriding the classes for all supported (see below) promotion offer plugins. Custom plugins can be supported by implementing the following interface:

\Drupal\commerce_promotion_entity_filter\Plugin\Commerce\PromotionOffer\PromotionOfferEntityQueryInterface

Supported offer plugins:

  • BuyXGetY
  • OrderFixedAmountOff
  • OrderItemFixedAmountOff
  • OrderItemPercentageOff
  • OrderPercentageOff

This module was built with the intent of generating promotions feeds to advertising partners and to provide an API for individual products to check if it's applicable to any promotions.

Similar Modules:

Affected By Promotion (highly inspired by this one)

Supporting organizations: 
Initial Development

Project information

Releases