Shopify / mobile-buy-sdk-android

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 their credit card.
MIT License
216 stars 136 forks source link

How can I get ProductVariant ID on Android SDK? I want to create checkout through it #733

Open PeOS-China opened 1 year ago

PeOS-China commented 1 year ago
image

val queryProduct = Storefront.query { rootQuery: QueryRootQuery -> rootQuery.node(ID(product.id)) { n -> n.id().onProduct { idP -> idP.variants({ arg -> arg.first(10) }) { v -> v.edges { ve -> ve.node { ven -> ven.id() // can't find id } } } } } }

MohammedSalahadin commented 1 year ago

seams like you are facing problems with it, well I'm also facing some problems since it's not available for flutter.