Oct 16, 2020
Hello, I'm having a hard time figuring out how to make my store's logo appear correctly on my notification emails. Here is the snippet of code i'm using: {% if shop.email_logo_url %} <img...
Sep 29, 2020
Hi, I added the Google Analytics script in my theme preferences as per Shopify guidelines. I would like to execute Google Analytics `gtag` function from the theme code. Specifically I DON'T WANT/NEE...
May 29, 2018
Hi there people <span class="lia-unicode-emoji" title=":slightly_smiling_face:">🙂</span> we’ve recently launched our first custom application using Shopify API on a React app. Our client has been chosen the 79$/Mo. plan to begin with, but he’s thinking to cut a...
No content to show
User Activity
I'm thinking of using Shopify Admin API to retrieve the total number with this https://help.shopify.com/api/reference/product#count
That's the one.
If there are more than 6 pages it becomes 1 2 3 ... 7 8 9.
Without totalCount I can only use the NEXT button
That's what we're doing temprarely. Having a totalCount would be great, otherwise you have to do convoluted workaround to get that information.
I've been browesing several topics in this forum but I haven't found any answer.
We are doing a React webapp which uses the Storefront API with GraphQL. On collection page we would like to list 10 products and display a pagination index, eg: "1, 2, ...