Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Out of stock with Allow backorders enabled #7067

Closed
1 of 2 tasks
rumfiske opened this issue Apr 13, 2024 · 1 comment
Closed
1 of 2 tasks

Out of stock with Allow backorders enabled #7067

rumfiske opened this issue Apr 13, 2024 · 1 comment

Comments

@rumfiske
Copy link

Preliminary Checks

Issue Summary

If we disable the Manage inventory and enable the Allow backorders we get error "Out of stock". We sell a product thats always on stock. So we dont wanna set a stock quantity for each product.

How can this issue be resolved?

  1. Disable Manage inventoy
  2. Enable Allow backorders
  3. Check if product can be added to cart.

Are you interested in working on this issue?

  • I would like to fix this issue
@olivermrbl
Copy link
Contributor

This is due to an incorrect check in the storefront, you can indeed add to cart when inventory management is disabled. I've opened a PR, should be fixed soon. Until then, you can incorporate those changes in your own project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants