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

fix: prevent out of stock products from being added to basket on order templates #1031

Merged
merged 1 commit into from
Mar 4, 2022

Conversation

dhhyi
Copy link
Collaborator

@dhhyi dhhyi commented Feb 28, 2022

PR Type

[x] Bugfix

What Is the Current Behavior?

Out of stock products on order templates can be added to the cart. (The actual add to cart REST communication will not add them, but this is rather implicit)

What Is the New Behavior?

Add to cart button is disabled to prevent adding out of stock products to the cart.

Does this PR Introduce a Breaking Change?

[ ] Yes
[x] No

Other Information

AB#74623

@dhhyi dhhyi added bug Something isn't working community Community contributions labels Feb 28, 2022
@dhhyi dhhyi self-assigned this Feb 28, 2022
@dhhyi dhhyi marked this pull request as ready for review February 28, 2022 10:48
@dhhyi dhhyi removed their assignment Feb 28, 2022
@shauke shauke added this to the 2.1 milestone Feb 28, 2022
@shauke shauke merged commit 5f85f9d into develop Mar 4, 2022
@shauke shauke deleted the fix/order-templates-out-of-stock-products branch March 4, 2022 21:24
SGrueber pushed a commit that referenced this pull request May 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working community Community contributions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants