Magento2: Magento 2.2 Admin order not enough quantity for item

Created on 4 Mar 2019  Â·  13Comments  Â·  Source: magento/magento2

When making an order via the admin, and selecting an item with one quantity left in stock, a notification shows that there is not enough quantity for that item. Then i you press update this notification is removed.

Preconditions (*)

Magento CE

  1. 2.2.6
  2. 2.2.7

Steps to reproduce (*)

  1. create new order from admin
  2. select customer
  3. select a product which have only one item remaining in stock
  4. a notification appears "We don't have as many "XXX" as you requested. "
  5. Press Update items and quantity, then this notification disappears

Expected result (*)

  1. The notification must not appear if the item is in stock

Actual result (*)

  1. this notification "We don't have as many "XXX" as you requested. "
Admin Sales Clear Description Format is valid non-issue

Most helpful comment

Please re-check. I know about that option and it is not related to the issue.
The issue is in admin order when creating an order and adding an item with only 1 left in stock. It shows:
We don't have as many "shirts" as you requested.
But when you press update the notification disappears

All 13 comments

Hi @nexus4alii1991. Thank you for your report.
To help us process this issue please make sure that you provided the following information:

  • [ ] Summary of the issue
  • [ ] Information on your environment
  • [ ] Steps to reproduce
  • [ ] Expected and actual results

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento-engcom-team give me 2.3-develop instance - upcoming 2.3.x release

For more details, please, review the Magento Contributor Assistant documentation.

@nexus4alii1991 do you confirm that you was able to reproduce the issue on vanilla Magento instance following steps to reproduce?

  • [ ] yes
  • [ ] no

Hi @krishprakash. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

  • [x] 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
    DetailsIf the issue has a valid description, the label Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.
  • [x] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.

  • [ ] 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • [ ] 4. Verify that the issue is reproducible on 2.3-develop branch

    Details- Add the comment @magento-engcom-team give me 2.3-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.3-develop branch, please, add the label Reproduced on 2.3.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and _stop verification process here_!

  • [ ] 5. Verify that the issue is reproducible on 2.2-develop branch.

    Details- Add the comment @magento-engcom-team give me 2.2-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.2-develop branch, please add the label Reproduced on 2.2.x

  • _Next steps are available in case you are a member of Community Maintainers._

  • [ ] 6. Add label Issue: Confirmed once verification is complete.

  • [ ] 7. Make sure that automatic system confirms that report has been added to the backlog.

@magento-engcom-team give me 2.2-develop instance

Hi @krishprakash. Thank you for your request. I'm working on Magento 2.2-develop instance for you

Hi @krishprakash, here is your Magento instance.
Admin access: https://i-21557-2-2-develop.instances.magento-community.engineering/admin
Login: admin Password: 123123q
Instance will be terminated in up to 3 hours.

@nexus4alii1991 This is not an issue.
This is default feature of magento so you can set qty as notify below for any product.
Please go to Admin >> Catalog >> Products >>any product >> Advanced Inventory >> Notify for Quantity Below
PFA
order qty

Hi @engcom-backlog-nazar. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

  • [ ] 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
    DetailsIf the issue has a valid description, the label Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.
  • [ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.

  • [ ] 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • [ ] 4. Verify that the issue is reproducible on 2.3-develop branch

    Details- Add the comment @magento-engcom-team give me 2.3-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.3-develop branch, please, add the label Reproduced on 2.3.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and _stop verification process here_!

  • [ ] 5. Verify that the issue is reproducible on 2.2-develop branch.

    Details- Add the comment @magento-engcom-team give me 2.2-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.2-develop branch, please add the label Reproduced on 2.2.x

  • _Next steps are available in case you are a member of Community Maintainers._

  • [ ] 6. Add label Issue: Confirmed once verification is complete.

  • [ ] 7. Make sure that automatic system confirms that report has been added to the backlog.

Hi @nexus4alii1991 thank you for you report, this is expected behavior, i'm closing this as this is non issue.

Please re-check. I know about that option and it is not related to the issue.
The issue is in admin order when creating an order and adding an item with only 1 left in stock. It shows:
We don't have as many "shirts" as you requested.
But when you press update the notification disappears

One of our clients is having this issue also since updating to 2.2.6. When creating an order in admin for an item with 1 in stock, they get 'we dont have as many [product name] as you requested' when trying to add the item to the order.

Is there a known fix?

@nexus4alii1991 @pixiemediaweb Did you got any solution for this?

The fixed it in version 2.2.8 but old version they gave no fix.

On Wed, 7 Aug 2019 at 11:09, psuthar12 notifications@github.com wrote:

@nexus4alii1991 https://github.com/nexus4alii1991 Did you got any
solution for this?

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/magento/magento2/issues/21557?email_source=notifications&email_token=ALEYOQK7WTB3CLHFCM6CUDTQDJ7M7A5CNFSM4G3NLR4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3XSQVY#issuecomment-518989911,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALEYOQNWQB3NF4Q3GATTIZLQDJ7M7ANCNFSM4G3NLR4A
.

The fixed it in version 2.2.8 but old version they gave no fix.
…
On Wed, 7 Aug 2019 at 11:09, psuthar12 @.*> wrote: @nexus4alii1991 https://github.com/nexus4alii1991 Did you got any solution for this? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#21557?email_source=notifications&email_token=ALEYOQK7WTB3CLHFCM6CUDTQDJ7M7A5CNFSM4G3NLR4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3XSQVY#issuecomment-518989911>, or mute the thread https://github.com/notifications/unsubscribe-auth/ALEYOQNWQB3NF4Q3GATTIZLQDJ7M7ANCNFSM4G3NLR4A .

it still exist, I am facing these issue in 2.2.8 , While add product to order in admin

Was this page helpful?
0 / 5 - 0 ratings