Not receiving data for 'compare-at-price' from Storefront API

  • I am using shopify storefront api and I am not getting the compare at price over there, it just says 0. but when I checked with admin api I do get the compare at price. I am talking about the storefront api not the storefront.