Check quantity before checkout

Check product stock status before starting checkout process. Fixes #138