Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 854 Bytes

exclude-strategy.md

File metadata and controls

17 lines (10 loc) · 854 Bytes

Exclude Strategy

Indicates which products matched by a CatalogPricingRule will be excluded if the pricing rule uses an exclude set.

Enumeration

ExcludeStrategy

Fields

Name Description
LEAST_EXPENSIVE The least expensive matched products are excluded from the pricing. If
the pricing rule is set to exclude one product and multiple products in the
match set qualify as least expensive, then one will be excluded at random.

Excluding the least expensive product gives the best discount value to the buyer.
MOST_EXPENSIVE The most expensive matched product is excluded from the pricing rule.
If multiple products have the same price and all qualify as least expensive,
one will be excluded at random.

This guarantees that the most expensive product is purchased at full price.