Last post Aug 12, 2007 04:12 PM by augustwind
Aug 11, 2007 02:13 PM|harsh_9999|LINK
Hi to all,
I want to make customer discount system in shopping cart.
What I need is how to implement the discount value in shopping cart so the cutomer will see the rates according their discount?
For example whe have
Customer A with 10 %, Customer B with 20 %, Customer C has no discount......
Administator will update the percentage value (e.g. 10, 12, or none.....) for discount in Customer table field called DISCOUNT.
Now how can I implement this Value in shopping cart with role based login of customer. The customer will see the price after login.
Aug 12, 2007 04:12 PM|augustwind|LINK
If you have used ood, and have a customer object, the easiest way is to add an extra property for discount.
Then, when you have a method, such as GetCustomer, it will pull all relevant details, such as the discount, via it's properties