Commerce Costs

Component ID

2931394

Component name

Commerce Costs

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Adds cost fields to Drupal Commerce 2.x so you can determine the profit on each order item sold.

Includes a submodule for supporting resolving a product's cost by a field on the purchasable entity.

Adds a promotion for "Cost plus percent" to let you sell products at cost plus a set markup.

To do:

  • Tests.
  • Add fields to order item and product variation types automagically.
  • Add a markup widget when editing variations so you can set price based on the markup you want.