-
Notifications
You must be signed in to change notification settings - Fork 340
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
Customer group not taken into account when using "is_discount" special attribute #2380
Labels
Comments
The query should be written as nested query, like it's done here : https://github.com/Smile-SA/elasticsuite/blob/2.10.x/src/module-elasticsuite-catalog/Model/Layer/Filter/Price.php#L165 But customer group id should be added to the clause only for frontend. |
rbayet
added a commit
to rbayet/elasticsuite
that referenced
this issue
Dec 17, 2021
by adding support for current customer group.
rbayet
added a commit
to rbayet/elasticsuite
that referenced
this issue
Dec 17, 2021
by adding support for current customer group.
rbayet
added a commit
that referenced
this issue
Dec 17, 2021
…group Fixes #2380 is_discount tiers price support (2.8.x)
rbayet
added a commit
to rbayet/elasticsuite
that referenced
this issue
Dec 17, 2021
by adding support for current customer group.
rbayet
added a commit
that referenced
this issue
Dec 17, 2021
rbayet
added a commit
to rbayet/elasticsuite
that referenced
this issue
Dec 17, 2021
by adding support for current customer group.
rbayet
added a commit
that referenced
this issue
Dec 17, 2021
…group_2.9.x Fixes #2380 is_discount tiers price support
rbayet
added a commit
to rbayet/elasticsuite
that referenced
this issue
Dec 17, 2021
by adding support for current customer group.
rbayet
added a commit
that referenced
this issue
Dec 17, 2021
…group_2.10.x Fixes #2380 is_discount tiers price support
rbayet
added a commit
to rbayet/elasticsuite
that referenced
this issue
Jan 4, 2022
rbayet
added a commit
that referenced
this issue
Jan 4, 2022
…group_retailer Fixes #2380 easier smile/module-retailer-offer compatibility
rbayet
added a commit
to rbayet/elasticsuite
that referenced
this issue
Jan 4, 2022
rbayet
added a commit
that referenced
this issue
Jan 4, 2022
…group_retailer_2.9.x Fixes #2380 easier smile/module-retailer-offer compatibility
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Preconditions
Magento Version : all
ElasticSuite Version : all
Environment : all
Third party modules : none
Steps to reproduce
Expected result
Actual result
The built query is generated by this class and looks like this :
It should include a nested field to target explicitely the current customer group.
The text was updated successfully, but these errors were encountered: