Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
We are using shopify android sdk 10.0.1 to manage our shop in android mobile app. In the shop admin panel selling plans are set, but there is an issue getting selling plans on mobile as we get Access denied error.
This is how I query products
Storefront.QueryRootQuery query = Storefront.query(root -> root.products(args -> args .first(limit) .after(cursor) .sortKey(getSortKeyForProducts(filterType)) .reverse(isReverseSort(filterType)) .query(searchKey), Query::products ) );
And this is the products model
product .title() .descriptionHtml() .images(args -> args.first(250), imageConnection -> imageConnection .edges(imageEdge -> imageEdge .node(Storefront.ImageQuery::src) ) ) .options(optionConnection -> optionConnection .name() .values() ) .variants(args -> args.first(250), variantConnection -> variantConnection .edges(variantEdge -> variantEdge .node(variant -> variant .title() .quantityAvailable() .selectedOptions(selectedOption -> selectedOption .name() .value() ) .price() .compareAtPrice() ) ) ) .sellingPlanGroups(args -> args.edges( planEdge -> planEdge.node( node -> node.name() .options(option -> option.name().values())))) .onlineStoreUrl() .availableForSale() .totalInventory();
Can you advise what there is wrong, or what extra exions I need to do to solve the problem.
Also is there any way to get Selling Plans without getting products?
Thanks in advance
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...
ByYour online store speed can enhance your store’s discoverability, boost conversion rates a...
ByShopping is at our fingertips with mobile devices. Is your theme optimized to be user-frie...
By