->
prices('rule-a', 220
) ->
prices('rule-a', 210, 'default', null, 3
) ->
prices('rule-b', 210
) ->
prices('rule-b', 200, 'default', null, 3, false, 285
) ->
build() ) ->
build(),
// even not available variants/products should be calculated correctly
(new ProductBuilder($ids, 'p.14'
)) ->
price(180
) ->
closeout() ->
visibility(TestDefaults::SALES_CHANNEL
) ->
variant( (new ProductBuilder($ids, 'v.14.1'
)) ->
stock(0
) ->
build() ) ->
variant( (new ProductBuilder($ids, 'v.14.2'
)) ->
price(181
) ->
stock(2
) ->
build() )