London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Class BuyQuantityGetSelectedItemsDiscount

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 every item that belongs to Items.

Inheritance
System.Object
BuyQuantityGetSelectedItemsDiscount
Implements
Namespace: EPiServer.Commerce.Marketing.Promotions
Assembly: EPiServer.Business.Commerce.dll
Version: 13.30.0
Syntax
[PromotionSettings(FixedRedemptionsPerOrder = 1)]
public class BuyQuantityGetSelectedItemsDiscount : EntryPromotion, IMonetaryDiscount

Constructors

BuyQuantityGetSelectedItemsDiscount()

Declaration
public BuyQuantityGetSelectedItemsDiscount()

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

Implements

Extension Methods