A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

Class BuyFromCategoryGetItemDiscount

The Discount will be applied to any SKUs that are part of the Category.

Inheritance
System.Object
BuyFromCategoryGetItemDiscount
Implements
Namespace: EPiServer.Commerce.Marketing.Promotions
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0
Syntax
public class BuyFromCategoryGetItemDiscount : EntryPromotion, IMonetaryDiscount

Constructors

BuyFromCategoryGetItemDiscount()

Declaration
public BuyFromCategoryGetItemDiscount()

Properties

Category

Any SKUs that belong to this category will get a discount.

Declaration
[PromotionRegion("Condition")]
public virtual ContentReference Category { get; set; }
Property Value
Type Description
EPiServer.Core.ContentReference

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