Compare at price not displaying in storefront api GraphQl

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?

1 Like

@Royw did you check in settings → market → preferences, if the compare price feature is activated? Shopify has changed this recently.

1 Like

Thanks!