Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Cart query merchandise returns empty object:
merchandise {
... on ProductVariant {
id
title
}
}
It returns an object when I have the same query on for example the cartLinesAdd mutation.
But when querying the cart by ID, it doesn't seem to work...
Solved! Go to the solution
This is an accepted solution.
This is an accepted solution.
Found it, this caused the issue:
addTypename: false