Class BuyQuantityGetItemDiscount

This promotion type will be applied when RequiredQuantity number of SKUs, that are part of the entries or nodes belonging to the Items, are in the cart. A Discount will be applied to all properties from Items.

Inheritance
System.Object
BuyQuantityGetItemDiscount
Namespace: EPiServer.Commerce.Marketing.Promotions
Assembly: EPiServer.Business.Commerce.dll
Version: 10.8.0
Syntax
[PromotionSettings(FixedRedemptionsPerOrder = 1)]
public class BuyQuantityGetItemDiscount : EntryPromotion

Constructors

BuyQuantityGetItemDiscount()

Declaration
public BuyQuantityGetItemDiscount()

Properties

Condition

The condition for the promotion that needs to be fulfilled before the discount is applied.

Declaration
[PromotionRegion("Condition")]
public virtual PurchaseQuantity Condition { get; set; }
Property Value
Type Description
PurchaseQuantity

Discount

The reward values that should be applied.

Declaration
[PromotionRegion("Discount")]
public virtual MonetaryReward Discount { get; set; }
Property Value
Type Description
MonetaryReward

DiscountTarget

The potential targets for the Discount.

Declaration
[PromotionRegion("Reward")]
public virtual DiscountItems DiscountTarget { get; set; }
Property Value
Type Description
DiscountItems

Extension Methods