<!--- Provide a general summary of the issue in the Title above --> <!--- Before adding new issues, please, check this article https://github.com/magento/magento2/wiki/Issue-reporting-guidelines--> Tested on last magento 2 version 2.1.2 and Luma sample data. ### Preconditions <!--- Provide a more detailed information of environment you use --> <!--- Magento version, tag, HEAD, etc., PHP & MySQL version, etc.. --> 1. Set a simple variant product qty to 1.<br> With sample data i used<br> http://luma.kamiceria.com/tiffany-fitness-tee.html<br> with blue color and xs size (sku WS09-XS-Blue) ### Steps to reproduce <!--- Provide a set of unambiguous steps to reproduce this bug include code, if relevant --> 1. Add above product WS09-XS-Blue to cart 2. Go to cart 3. Add invalid discount code like 'xxx' ### Expected result <!--- Tell us what should happen --> 1. Magento shows error message<br> 'The coupon code "xxx" is not valid.' ### Actual result <!--- Tell us what happens instead --> 1. Magento shows error messages<br> 'The` coupon code "xxx" is not valid.' **->OK**<br> 'We don't have as many "Tiffany Fitness Tee" as you requested.' **->BUG** <!--- (This may be platform independent comment) -->