Main pricing and support for custom client pricing (Database Architecture ideas help - Rails)
        Posted  
        
            by slythic
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by slythic
        
        
        
        Published on 2010-03-22T15:10:37Z
        Indexed on 
            2010/03/23
            1:51 UTC
        
        
        Read the original article
        Hit count: 579
        
Hi all,
I have a personal project I'm planning and I came to a small hurdle.
I want to have an item with price that will be the default for all clients/users. However, in my business I have some clients that are grandfathered in to some special pricing. In the case of these grandfathered in cases, I'll manually plug their special price in my admin section. Then all they will see is their special pricing while the regular users/clients see the default price.
What is the best and simplest way to design the back-end for this?
FYI - I'll be using rails as my framework.
Many thanks!
-Tony
© Stack Overflow or respective owner