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.
Fix your CS : https://scrutinizer-ci.com/g/thelia/thelia/inspections/dd017993-c68b-4db1-835d-02ded5bf43db/patches