Using Managed Markets to sell and fulfill internationally
My default market is Denmark, and the compare at price is displayed by default on the product page.
However, when I fetch data for this product using the Storefront GraphQL API, the compareAtPrice field returns null
// variant id mentioned below is a dummy one
query Product @inContext(country: DK, language: EN) {
productVariant445: node(id: "gid://shopify/ProductVariant/445") {
...on ProductVariant {
id
title
price {
amount
currencyCode
}
compareAtPrice {
amount
currencyCode
}
}
}
}
The compareAtPrice value only appears in the Storefront API after I disable the "Compare-at price hiding" toggle in Markets => Preferences => Price
Over here: it is mentioned that even though the "Compare-at price hiding" toggle is on, if the default market is eu then we need to show compare at price
https://help.shopify.com/en/manual/compliance/legal/pricing-indication-directive#use-the-compare-at-...
How do i handle this in storefront? why is there a disparity here?
We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024