November Happy Hour will be moved to Thursday December 5th.

Class BuyQuantityGetOrderDiscount

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 the order.

Inheritance
System.Object
BuyQuantityGetOrderDiscount
Implements
Namespace: EPiServer.Commerce.Marketing.Promotions
Assembly: EPiServer.Business.Commerce.dll
Version: 13.30.0
Syntax
public class BuyQuantityGetOrderDiscount : OrderPromotion, IMonetaryDiscount

Constructors

BuyQuantityGetOrderDiscount()

Declaration
public BuyQuantityGetOrderDiscount()

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

Methods

SetDefaultValues(ContentType)

Sets the default values for this instance, which will include setting the redemption limits per order is set to 1.

Declaration
public override void SetDefaultValues(ContentType contentType)
Parameters
Type Name Description
EPiServer.DataAbstraction.ContentType contentType

The content type for this instance.

Overrides

Implements

Extension Methods