Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
PeOS-China opened this issue Oct 20, 2022 · 1 comment

Comments

@PeOS-China
Copy link

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
}
}
}
}
}
}

@PeOS-China PeOS-China changed the title How can I get ProductVariant ID on Android SDK? How can I get ProductVariant ID on Android SDK? I want to create checkout through it Oct 20, 2022
@MohammedSalahadin
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants