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: respect ICM setting basket.maxItemQuantity #993

Merged
merged 2 commits into from
Feb 1, 2022

Conversation

dhhyi
Copy link
Collaborator

@dhhyi dhhyi commented Jan 28, 2022

PR Type

[x] Bugfix

What Is the Current Behavior?

product maxOrderQuantity defaults to 100 and does not consider ICM server setting for basket.maxItemQuantity

What Is the New Behavior?

ICM server setting for basket.maxItemQuantity is used as validator for product quantity if no specific settings are defined on the product.

Does this PR Introduce a Breaking Change?

[ ] Yes
[x] No

Other Information

AB#73724

It looks like the ICM API still does not support getting maxOrderQuantity and stepOrderQuantity attributes in the list call... 😢

@dhhyi dhhyi added the bug Something isn't working label Jan 28, 2022
@dhhyi dhhyi self-assigned this Jan 28, 2022
@dhhyi dhhyi marked this pull request as ready for review January 28, 2022 11:45
@dhhyi dhhyi requested a review from SGrueber January 28, 2022 11:45
@dhhyi dhhyi removed their assignment Jan 28, 2022
@shauke shauke added this to the 2.0 milestone Jan 28, 2022
@SGrueber SGrueber merged commit 81341ce into develop Feb 1, 2022
@SGrueber SGrueber deleted the fix/respect-basket-max-line-item-quantity branch February 1, 2022 08:50
SGrueber added a commit that referenced this pull request May 19, 2022
* docs: add migration hint

Co-authored-by: Silke <s.grueber@intershop.de>
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants