Create a Rate of sales report for my Wordpress website using the Woocommerce engine. Report should be accessible through the wp-admin interface.
For a particular time period, how many of Product X is selling per week. Remove any days that the product was out of stock.
Based on that current rate of sale, and the current stock levels, what date will the product be sold out.
So for my store, an example would be:
Product is Blue Onesie
Stock raised to 10 on 1st January 2013
Out of stock on 5th January 2013
Stock raised to 10 on 10th January 2013
Out of stock on 15th January 2013
Rate of sale between 1st Jan and 5th Jan = 2 per day
Rate of sale between 10th Jan and 15th Jan = 2 per day
Rate of sale between 1st Jan and 15th Jan = 2 per day (because you disregard the times that it is out of stock)
Current stock levels are 30
Based on current stock levels, Piglet will be out of stock in 15 days time.