Class BuyQuantityGetFreeItems
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. The cheapest entries FreeQuantity will be free of charge.
Inheritance
System.Object
BuyQuantityGetFreeItems
Inherited Members
Namespace: EPiServer.Commerce.Marketing.Promotions
Assembly: EPiServer.Business.Commerce.dll
Version: 13.30.0Syntax
public class BuyQuantityGetFreeItems : EntryPromotion
Constructors
BuyQuantityGetFreeItems()
Declaration
public BuyQuantityGetFreeItems()
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 |
FreeQuantity
The reward values that should be applied.
Declaration
[PromotionRegion("Discount")]
public virtual int FreeQuantity { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |