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: product variation master facet selection does not work for non-string filters #1449

Merged
merged 1 commit into from
Jun 13, 2023

Conversation

Eisie96
Copy link
Contributor

@Eisie96 Eisie96 commented Jun 12, 2023

PR Type

[ x ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] CI-related changes
[ ] Documentation content changes
[ ] Application / infrastructure changes
[ ] Other:

What Is the Current Behavior?

The product variations of a product variation master is selected by checking their variableVariationAttributes with the current selected facets. val === attr.value is used for equality check. A problem occurs when the attribute value of one of the variableVariationAttributes is not a string. The check would always return false.

Issue Number: Closes #1439

What Is the New Behavior?

Does this PR Introduce a Breaking Change?

[ ] Yes
[ ] No

Other Information

AB#86822

@SGrueber SGrueber self-requested a review June 13, 2023 09:04
@SGrueber SGrueber added this to the 4.1 milestone Jun 13, 2023
@shauke shauke changed the title fix: product variation master facet select fix: product variation master facet selection does not work for non-string filters Jun 13, 2023
@shauke shauke merged commit 94967fa into develop Jun 13, 2023
@shauke shauke deleted the bugfix/product-master-filter-select branch June 13, 2023 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Master Variation Detail Page - Filter Value Selection does not work for 2nd Filter
3 participants