I have products that have 3 variants and I want to exclude one of the variants from a product coupon.
What would I need to modify to enable this function?
I have products that have 3 variants and I want to exclude one of the variants from a product coupon.
What would I need to modify to enable this function?
What version are you using? The coupon handling code changed a good bit in 9.x
Ml 8.0.1.2/8.0.1.2
That's going to take changes in ShoppingCart.cs, in the ASPDNSFCore project. Most of the work should be in the ValidateNewCoupon method, but you'll also have to add a way to set that in the admin site, and add logic in a few other places in ShoppingCart to pull that variant value.