PriceRuleTrait

A list of features used by the price rule.

Show definition

# A list of features used by the price rule.
enum PriceRuleTrait {
  # The price rule is a buy-one-get-one price rule.
  BUY_ONE_GET_ONE

# The price rule supports buy-one-get-one using custom allocation limit. BUY_ONE_GET_ONE_WITH_ALLOCATION_LIMIT

# The price rule is a bulk discount price rule. BULK

# The price rule supports specific customers. SPECIFIC_CUSTOMERS

# The price rule supports quantity discounts. QUANTITY_DISCOUNTS }

Values

BULK

The price rule is a bulk discount price rule.

BUY_ONE_GET_ONE

The price rule is a buy-one-get-one price rule.

BUY_ONE_GET_ONE_WITH_ALLOCATION_LIMIT

The price rule supports buy-one-get-one using custom allocation limit.

QUANTITY_DISCOUNTS

The price rule supports quantity discounts.

SPECIFIC_CUSTOMERS

The price rule supports specific customers.

Sign up for a Partner account to get started.

Sign up