A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi,
I try to get the compare at prices via the storefront api, but this is not working. It looks like a bug.
This is what I did:
1. Added compare prices to each variant
2. Get the product query and retrieve the compareAtPrice key
Unfortunately, the compare at price returns null. See screenshots.
The displayed result is the raw response from the api.
What could be the reason?
Solved! Go to the solution
This is an accepted solution.
@Royw did you check in settings → market → preferences, if the compare price feature is activated? Shopify has changed this recently.
This is an accepted solution.
@Royw did you check in settings → market → preferences, if the compare price feature is activated? Shopify has changed this recently.
Thanks!