Try our conversational search powered by Generative AI!

Ecommerce coupon implementation


I am implementing an ecommerce site which provides coupons to be used in partner sites. The coupons can be unique or same for all relying on some business. The concepts of coupon in EPiServer seems different. How to implement this?

Feb 21, 2019 13:30

What you can do is to implement your own ICouponFilter, then in 

Filter(PromotionFilterContext filterContext, IEnumerable<string> couponCodes)

write logic to decide if a promotion should be excluded based on the provided coupons 

Feb 21, 2019 14:08

@Quan Mai: What can be the purpose of Filter if the coupons are not used in my Site rather are used in other sites? Could you please elaborate?

Feb 21, 2019 15:47
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.