Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Latest commit

 

History

History
12 lines (11 loc) · 550 Bytes

2021-05-30-create-new-rule-to-count-number-of-products-in-basket.md

File metadata and controls

12 lines (11 loc) · 550 Bytes
title issue
Create new rule to count number of products in basket
NEXT-9687

Core

  • Added new method getTotalQuantity in Shopware\Core\Checkout\Cart\LineItem\LineItemCollection to count number of goods in the basket.
  • Added new LineItemGoodsTotalRule in Shopware\Core\Checkout\Cart\Rule

Administration

  • 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