Closed Eddcapone closed 3 years ago
Hi @Eddcapone. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.
Please, add a comment to assign the issue: @magento I am working on this
@Eddcapone thanks for reporting. If your default Qty is 0 - it sounds more like a bug than a feature request, can you please provide the steps to reproduce.
You just have to install magento 2 and create a product then view the product in frontend. QTY will be 0.
Default qty is 1 not sure why this happen in your site
You don't appear to use a fresh shop
@Eddcapone: I can't confirm. I've just setup a clean Magento 2.4.1 shop, created a category and product with enough stock. Visiting the product on the frontend shows the number 1 in the qty field:
Have you already tried it in a clean setup? Because your screenshot also looks to be using a customised Magento...
here is details page in luma theme with latest code base
Ok thank you all, then it looks like it is an old bug which they already fixed or a strange mistake. I also can't reproduce it anymore.
It makes no sense to set the value initially to 0, set it to 1 so that customers are not forced to change it to 1 all the time.