Feature #91

Feature #10: Add an Industry management component

industry: sell price of orders -> margin calculation

Added by diabeteman about 1 year ago. Updated about 1 year ago.

Status:Closed Start date:Apr 11, 2012
Priority:Normal Due date:Apr 15, 2012
Assignee:tash % Done:

50%

Category:app-industry Spent time: -
Target version:2.0.0 Estimated time:4.00 hours

Description

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.

let's take an example

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.

History

#1 Updated by diabeteman about 1 year ago

  • Target version deleted (2.0.0)

#2 Updated by diabeteman about 1 year ago

  • Description updated (diff)

#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

#5 Updated by diabeteman about 1 year ago

  • Target version set to 2.0.0

#6 Updated by diabeteman about 1 year ago

  • Status changed from In Progress to Closed

Also available in: Atom PDF