customer discount system?

Last post 08-12-2007 4:12 PM by augustwind. 1 replies.

Sort Posts:

  • customer discount system?

    08-11-2007, 2:13 PM
    • Member
      222 point Member
    • harsh_9999
    • Member since 06-26-2003, 6:44 AM
    • India
    • Posts 62

    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.

    regards

    Harsh

     

  • Re: customer discount system?

    08-12-2007, 4:12 PM
    • All-Star
      32,247 point All-Star
    • augustwind
    • Member since 07-21-2002, 11:16 PM
    • Garland, TX
    • Posts 4,531
    • ASPInsiders
      Moderator
      TrustedFriends-MVPs

    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

    David Wier
    MCP/ASPInsider
    ASPNet101.com - where to look first!
    Replace It! - the newest from August Wind - search/replace in multiple files
    Control Grouper - easily control properties for multiple controls with one control!
    Calendar Express - The Best HTML Calendar Generator on the web!
    (Please 'Mark as Answer' when it applies)
Page 1 of 1 (2 items)