Allow to use other parameter than slug or id by criteria
Change elseif format
Checking stock levels on cart update, fixes issue #1190
Move stock validator to inventory bundle
Fix CS

Refs #1196.
Use Request::get, as has() method does not exist
Show flash message by type.
Make stockable and quantity path configurable in InStock constraint