-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Closed
Labels
Issue: Format is not validGate 1 Failed. Automatic verification of issue format is failedGate 1 Failed. Automatic verification of issue format is failedPAPPartners acceleration programPartners acceleration programPriority: P1Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Progress: doneProject: GraphQLReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchThe issue has been reproduced on latest 2.4-develop branch
Milestone
Description
Queries for Related Products like the one below only return values if the Related Products are added from the Product Settings. However, it is not accounting for Marketing Rules and it returning empty arrays. (Marketing / Related Products Rules) – This is how Related Products are set with Luma stock sample-data.
query ProductQuery {
product: products(filter: \{ url_key: { eq: "chaz-kangeroo-hoodie" } }, pageSize: 1) {
items {
id
related_products {
id
name
url_key
}
}
}
}
Response:
{
"data": {
"product": {
"items": <
{
"id": 70,
"related_products": []
}
>
}
}
}
Luma Theme:
!image-2020-06-02-16-10-01-234.png|width=1336,height=761!
Metadata
Metadata
Assignees
Labels
Issue: Format is not validGate 1 Failed. Automatic verification of issue format is failedGate 1 Failed. Automatic verification of issue format is failedPAPPartners acceleration programPartners acceleration programPriority: P1Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Once P0 defects have been fixed, a defect having this priority is the next candidate for fixing.Progress: doneProject: GraphQLReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchThe issue has been reproduced on latest 2.4-develop branch