Product Name : ABC
Product Cost : $30
Selling Price : $40
Stock Quantity : 2
Since, the stock is low, I perform a re-stock of 10 units. However the cost of the product for this batch has gone up by $2 and assuming that I don't raise my selling price and am able to live with a reduced profit margin. The following data is updated into nopCommerce (Catalog -> Products -> Manager Products -> Edit the product in question -> Product Info tab)
Product Name : ABC
Product Cost : $32
Selling Price : $40
Stock Quantity : 12
Now assuming that I've sold 6 units of this product (2 from the previous batch & 4 from the current batch - assuming the system clears off products from previous batch first), the profit calculation of nopCommerce is given as
($40 * 6) - ($32 * 6) = $48
The actual profit that I should be getting is
[($40 * 2) - ($30 * 2)] + [($40 * 4) - ($32 * 4)] = $52
Shouldn't nopCommerce take into account scenario like this to produce a more accurate account of the profit obtained?