CustomerGroup, ...) and the current state (
Amount, ...), but user controlled and decoupled from the cart itself. In theory every part of Shopware 6 can contribute to the set of available rules.
If a customer orders a car, a pair of sunglasses in the same order will be free.
caris in the cart) to point b (
match(RuleScope $scope)function to validate user defined values against a runtime state. See the following object diagram for a better understanding: