Tags/topics: 
1
Answers
Vote up!
0
Vote down!

Tracking product sales level with a field on each order

For each product, I want to track the total number sold to date with a corresponding field on the order. Is there an easy way to do this? If not, I have enough module development experience that I could probably pull it off. I just don't know how to do it or even how to start.

on October 10, 2012

1 Answer

Vote up!
1
Vote down!

Maybe reverse the direction of the stock module using rules? You could create a stock field that starts at zero and get incremented (instead of decremented) upon each purchase ...

Or you could just look at the http://drupal.org/project/commerce_reports module that lists products and how much they have been sold.

Josh Miller
Answer by: Josh Miller
Posted: Jan 9, 2013