an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Using DotShoppingCart > Coupon for a specific product
Last Post 8/25/2009 1:26:48 PM By lukezy. 1 replies.
8/25/2009 12:51:12 PM
bansal_db
Posts: 181
Joined: 4/13/2009
Coupon for a specific product
Hey Luke,
 
I just noticed something. I created a coupon for a certain product which was supposed to be if customer orders more than $500 worth of that product, he gets $50 off.
 
In the coupon window, i created the coupon and did the minimum order amount to be $500 and added the product to the coupon.
 
What i noticed is, if the total cart amount is above $500 then customer can apply the coupon even if there is only one item of the product on which discount is assigned.
 
Like this item is for $60.
 
The total amount of the cart was above $500 with only one of this product for $60 and the customer was still able to apply the coupon for $50 off.
 
I want the coupon to be applied only if the amount for this certain product is above $500.
 
How would i do this?
 
Thanks
 
 
8/25/2009 1:26:48 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Coupon for a specific product
Change method Validate in Core\DBO\Coupon.cs .
DotShoppingCart Staff