Verify the value of the variable configuration check-available-stock

Verify the value of the variable configuration check-available-stock before throwing an exception "Not enough stock" in Order actions.
You can use the helper ```ConfigQuery::read``` instead of ```ConfigQuery::create()->findOneByName``` here :)