Skip to content

Latest commit

 

History

History
17 lines (17 loc) · 876 Bytes

2021-12-09-add-new-promotion-rule-condition-and-improve-matchalllineitemsrule.md

File metadata and controls

17 lines (17 loc) · 876 Bytes
title issue author author_email author_github
Add new promotion rule condition and improve MatchAllLineItemsRule
NEXT-18987
Krispin Lütjann
k.luetjann@shopware.com
King-of-Babylon

Core

  • Added the new condition rule Checkout/Promotion/Rule/PromotionLineItemRule.php
  • Changed the behavior of the MatchAllLineItemsRule to only consider the line items of the given type

Administration

  • Added the new component sw-condition-promotion-line-item:
  • src/app/component/rule/condition-type/sw-condition-promotion-line-item/index.js
  • src/app/component/rule/condition-type/sw-condition-promotion-line-item/sw-condition-line-item.scss
  • src/app/component/rule/condition-type/sw-condition-promotion-line-item/sw-condition-line-item.html.twig
  • Added the new rule condition promotionLineItem to the condition-type-data-provider.decorator