News

  • How To Dynamically Build Product Pages With Shopify & Gatsby

    When I first started dabbling with the idea of building a statically generated ecommerce site with Gatsby and Shopify, I was under the impression that this would be very laborious task for stores that have more than a few products. I was convinced that there must be a better way. Just a little bit of configuration in the gatsby-node.js file and we are well on our way to generating a page per product returned by the GraphQL query.
  • Shopify Product Tags Query

    An example of using fetch to query Shopify GraphQL Storefront API to get the store's product's tags.

    The code shows the fetch with its required headers and query, and the GraphQL structure.

  • Shopify Shop Query

    An example of using fetch to query Shopify GraphQL Storefront API to get general information about the Shopify store.

    The code shows the fetch with its required headers and query, and the GraphQL structure.