I have an internal sales request in my organization to create an online store for our distributors / retailers. I wonder if there is a web store that does this in Python / Django?
I find this a lot more complicated than a regular web store because of this:
- Clients are installed in groups - A, B, C
- The group has product discounts depending on how much they buy each product, say, 1-100 pieces: 4 USD 101-200 pieces: 5 USD.
But another group gets a completely different price.
Mathematically, this becomes a factor problem with combinations, therefore possible combinations of the client - the price for the selected number of items - group - the product immediately becomes huge.
I suppose it's better to do something like this: 1. Set our product purchase price 2. Add a minimum margin for each purchase amount: 1-100, etc. Thus, no client can become lower than we, at least, make a profit. 3. Then, depending on which group the customer belongs to, add another stock on top of 1 and 2. 4. Display the product on a web page with different prices when they add different quantities of goods to the basket.
This creates prices based on calculations instead of a fixed price list, but should it work?
Is there anyone who has a working FOSS web store in Python? Any ideas?
Hooray!
source share