Hello
I am working on a project where there is a need to mention different base product price for stocks of products that arrive at various time.

For eg., the company buys 100s of Product A at 200 USD in November 2012, of which 80 could have been sold and a balance of 20 product remains. Now the company can buy a new stock of another 50 Product A at an increased price of 250 USD. So there should be a stock of 20 products (old stock) at 200 USD and 50 of the same product (new stock) at a price of 250 USD.

When a customer purchases Product A, old stock at 200 USD is sold first before selling new stock at an increased price.

Commerce_stock module seems to me as the best fit to extend for this functionality. I am willing to contribute the code for this functionality if some initial pointers as to where to begin can be given.

Thanks

Comments

guy_schneerson’s picture

Status: Active » Closed (works as designed)

The stock module was written with a plug in architecture allowing sub modules to implement stock checking, the module comes with a simple stock (a simple local storage solution), what you require is beyond the scope of the scope of the simple stock module and will need the development of a custom stock plugin.

Am closing as this is beyond the goals of the module at the moment but added a note to the road map see http://drupal.org/node/1269168#comment-4945464