Tolulope_Akinol
Shopify Partner
Contact Me
Status
Offline
Last Activity
‎10-28-2020 01:49 PM
Topic Started
3
Topics Started
Topic Solutions
1
Solution
Post Count
25
Posts
Post Kudos
1
Likes

Community Badges

I am trying to add a bulk action to the Customers action drop-down as per instructions on https://shopify.dev/tutorials/add-a-bulk-action-link-to-the-shopify-admin-with-app-extensions Howe...
I would like to import a whole bunch of orders into a shop as draft orders and then mark them as paid. However, as these are existing orders, I would like to ensure the customers do not get sen...
If a product has multiple variants (eg variant 1, variant 2 and variant 3) and the customer selects one of them on the product page (eg variant 2), how can a script running on that page identify that...
How can I modify the price of an item in the cart (or as it before it is placed in the cart) dynamically? eg Product X has a price of $100 on Tuesdays but $150 on Wednesdays. Product Y costs $50 if t...
When a shop has multiple locations, how can I find out which location the inventory for a specific order came from? Is this information included in the Order object?
When using the Shopify Embedded App SDK to create buttons in the app bar, if there are two secondary buttons with the same message (see example), the call back of the latter button will be executed b...
When programatically deleting an order using the Admin API (ie. https://help.shopify.com/api/reference/order#destroy) does Shopify automatically credit the line items back to the inventory count...
Is it possible to modify the billing address of an existing order using the Admin API Order request (ie. https://help.shopify.com/api/reference/order#update)? I have tried and am ab...
The instructions at https://help.shopify.com/themes/customization/cart/add-date-picker-for-delivery-dates#non-sectioned-themes enable shop owners to add date picker widgets to their shipping car...
I am adding some assets to themes using the Admin API for Asset updates PUT /admin/themes/$theme_id/assets.json{asset: { 'key': 'assets/jquery.js', 'src': 'https://examp...
I am building an app that creates email newsletters automatically for your store. You don't have to mess around with email templates or image formats, you just get a fully built newsl...
No content to show

User Activity

Never mind.  The issue was that I was reusing the same request over iterations so the parameters of the very first request would carry over to all the subsequent ones.  I solved the problem by creating a new request each time
@Kevin_A It works when hard coded but not when I send the cursor as a variable This works const query = ` query getAllShopProducts { products(first: 1, after: "eyJsYXN0X2lkIjo1NzQ0Nzc1MzMxOTg5LCJsYXN0X3ZhbHVlIjoiNTc0NDc3NTMzMT...
@Kevin_A Thanks for the clarification but the screenshot is directly from the Shopify documentation so I would recommend updating it to remove the wrong field reference
Thanks for the reply. Yes, I did console.log the cursor variable to see that it was set correctly and it was.
One of the samples in the product query section of the Admin GraphQL illustrates how you can use the "query" variable to filter product nodes by productType (https://shopify.dev/docs/admin-api/graphql/reference/object/product) However, the filter que...
I have created a recursive function to get all the products in a shop by inserting the cursor of the last node received as the "after" filter of the next query.  However, the function always receives the same first set of products and continues in an...
I have an app that signs up for the order_create webhook when installed.  This works almost all of the time but I have just discovered an instance where an order was created but no webhook was received.  The webhook has worked for orders previous and...
This widget could not be displayed.
This widget could not be displayed.
Helpful From