Gatsby Starter Shopify screenshot

Gatsby Starter Shopify

Author Avatar Theme by Gatsbyjs
Updated: 8 Nov 2022
315 Stars

A Gatsby starter using the latest Shopify plugin showcasing a store with product overview, individual product pages, and a cart

Categories

Overview:

This Shopify starter boilerplate template provides a comprehensive foundation for initiating a new Shopify project. It offers features like custom landing pages, individual product views, detailed product pages, instant search functionality, and a shopping cart, all designed using CSS Modules. The template can be easily deployed on Gatsby Cloud with just one click, making it convenient for developers to kickstart their projects. Additionally, a demo site with 10k products and 30k variants showcases the proof-of-concept of this starter template.

Features:

  • Custom Landing Page: Create a unique landing page for your Shopify store.
  • Individual Filtered Product Views: Enable users to view products with tailored filters.
  • Detailed Product Pages: Provide in-depth information on each product.
  • Advanced Instant Search: Implement a powerful search feature for seamless navigation.
  • Shopping Cart Integration: Include a shopping cart for convenient transactions.
  • CSS Modules Styling: Utilize CSS Modules for styling consistency.
  • Easy Deployment: One-click deployment on Gatsby Cloud for quick setup.

Installation:

  1. Create a Gatsby site using the Gatsby CLI:
    npx gatsby new my-shopify-starter https://github.com/gatsbyjs/gatsby-starter-shopify
    
  2. Link to your Shopify store following the provided instructions.
  3. Create a .env file in the root directory with your Shopify store URL, password, and Storefront access token (refer to .env.example).
  4. To start development, navigate to your project directory and run:
    gatsby develop
    
  5. Open the project in your preferred code editor and begin editing the source code.
  6. Access your site at http://localhost:8000 and experiment with GraphQL queries at http://localhost:8000/___graphql.

Summary:

This Shopify starter boilerplate provides an efficient way to kick off a new project by offering essential features like custom landing pages, detailed product views, enhanced search capabilities, and a shopping cart. With easy deployment through Gatsby Cloud and detailed instructions for setup, developers can quickly begin working on their Shopify store projects using this template.