Shopify’s Mobile Buy SDK makes it simple to sell physical products inside your mobile app. With a few lines of code, you can connect your app with the Shopify platform and let your users buy your products using Apple Pay or their credit card.
MIT License
452
stars
199
forks
source link
CompareAtPrice correct on a ProductVariant, but not on Product #1102
We have some items on sale, with a compareAtPrice higher than the price, that are displaying correctly on our website. But when getting the product’s minVariantPrice inside both priceRange and compareAtPriceRange these values are always equal, the compareAtPrice never seems to be higher than the actual price. However, when accessing those variables inside a productVariant they’re different (which is correct). This is consistent on all products with a compareAtPrice.
Shouldn’t minVariantPrice inside compareAtPriceRange on a product relate to the cheapest compareAtPrice on a variant, whether that is the default variant or not?
This is happening on the latest version of the SDK.
We have some items on sale, with a
compareAtPrice
higher than theprice
, that are displaying correctly on our website. But when getting the product’sminVariantPrice
inside bothpriceRange
andcompareAtPriceRange
these values are always equal, thecompareAtPrice
never seems to be higher than the actualprice
. However, when accessing those variables inside aproductVariant
they’re different (which is correct). This is consistent on all products with acompareAtPrice
.Shouldn’t
minVariantPrice
insidecompareAtPriceRange
on a product relate to the cheapestcompareAtPrice
on a variant, whether that is the default variant or not? This is happening on the latest version of the SDK.