Feature #10: Add an Industry management component
industry: sell price of orders -> margin calculation
|Status:||Closed||Start date:||Apr 11, 2012|
|Priority:||Normal||Due date:||Apr 15, 2012|
|Target version:||2.0.0||Estimated time:||4.00 hours|
The margin needs to be determined in function of the order's originator but it also needs to be modifiable by manufacturers.
We need to find an elegant way to handle this.
We have a corp policy that says that all corp members can buy from the shop with a 2% margin above production_cost.
We open our shop to external users and want to apply a default 20% margin for them.
The shop should be able to detect whether the user is a member or not (see Group "Members") and apply the correct margin accordingly.
The margin settings can be stored in the Setting model/table.
Bonus: A cool enhancement (for later) would be to set different margins for different item categories.
#3 Updated by tash about 1 year ago
- Status changed from New to In Progress
- % Done changed from 0 to 50
#4 Updated by tash about 1 year ago
Pricing Policy implemented: possible fields are item id, item group id, item category, active...
Hierarchy: item id > category > everything else
So if a policy for item id and category exits, the one for item_id is used