Shopping cart (coupons)
First off i was wondering why the book titled "ASP.NET E-Commerce Programming: Problem - Design - Solution" by Kevin Hoffman is stopped of selling?
This is the only book i found which mentions coupons and now i cannot get it.
Actually i have the following problem:
Say i am selling different items all with different prices.
Then from the control panel i want to create a coupon for an extra discount for example 20%.
So, if the total order came out to be $1.000 it will deduct $200 from the order.
So far so good!
What if i want to change the price for some items after that and the coupon exceeds the minimum price which is set as wholesalePrice field? Do i need to itterate all items in the products table checking if coupon doesn't exceed the min. price and that it is allowed that i decrease the prices for some items?
Maybe i can sort this out in a better way?
Please share your experience about the coupons with me as i am very new to this.
Thank you very much
|