title | issue |
---|---|
Create new rule to count number of products in basket |
NEXT-9687 |
- Added new method
getTotalQuantity
inShopware\Core\Checkout\Cart\LineItem\LineItemCollection
to count number of goods in the basket. - Added new
LineItemGoodsTotalRule
inShopware\Core\Checkout\Cart\Rule
- Added new component
sw-condition-line-item-goods-total
in/src/app/component/rule/condition-type
- Added new rule condition
cartLineItemGoodsTotal
in/src/app/decorator/condition-type-data-provider.decorator.js