Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

Ecommerce coupon implementation

Vote:
 

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?

#201515
Feb 21, 2019 13:30
Vote:
 

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 

#201516
Feb 21, 2019 14:08
Vote:
 

@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?

#201520
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.