Closed
Description
Preconditions (*)
- Magento CE and EE version 2.4.3-p1
Steps to reproduce (*)
- get the products details filter by category
- use below Graphql Queries both return wrong result.
query getProductFiltersByCategory($categoryIdFilter: FilterEqualTypeInput!) {
products(filter: { category_id: $categoryIdFilter }) {
aggregations {
attribute_code
count
amshopby_filter_data{categories_filter}
label
options {
count
label
value
}
}
}
}
and use below filter Variable
{ "categoryIdFilter": { "eq": "1680" } }
here 1680 is Parent Category
OR
{
products(filter: {category_id: {eq: "1680"}}) {
aggregations {
attribute_code
label
options {
label
}
}
}
}
Expected result (*)
- https://prnt.sc/9LHi6lNKba4b
- Query should written the Sub category of Parent category just like its showing on website frontend.
Actual result (*)
It returning all the categories instead of sub category of provided category Id just like its showing on Luma theme frontend
- https://prnt.sc/o8Il0-XrPsLL
2 .https://prnt.sc/XQ_DsCReuayf
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done