{"repo":"thomasKn/astro-shopify","free":true,"listed":false,"github":"https://github.com/thomasKn/astro-shopify","clone":"git clone https://github.com/thomasKn/astro-shopify.git","description":"A lightweight and powerful ecommerce starter theme to build headless Shopify storefronts with Astro.","language":"Astro","stars":498,"topics":["astro","shopify","ecommerce","headless"],"license":"MIT","category":"ecommerce","readme_excerpt":"Astro starter theme to build a headless ecommerce website with Shopify The theme is built with Svelte but you can use any framework you like (React, Vue, Solid etc.) thanks to Astro. Tailwind UI free components are used for the design. 🧑‍🚀 Where to start 1. Create a .env file based on .env.example with your Shopify store url and your public and private access tokens 2. The credentials are used inside the /utils/config.ts file, you can update the API version there 3. Run npm install or yarn or pnpm install 4. Run npm run dev or yarn run dev or pnpm run dev Shopify Configuration Guide - Create a new account or use an existing one. https://accounts.shopify.com/store-login - Add the Shopify Headless channel to your store - Click on Add Storefront - Copy/Paste your public and private access tokens to your .env file - Next, check Storefront API access scopes - unauthenticated read product listings and unauthenticated read product inventory access should be fine to get you started. - Add more scopes if you require additional permissions. Shopify Troubleshooting - If you encounter an error like error code 401 you likely didn't set this up correctly. Revisit your scopes and be sure add at least one test product. Also make sure you are using the Storefront API and not the Admin API as the endpoints and scopes are different. - If you do not see a checkout sidebar, or if it is empty after adding a product, you need to add an image to your test product. 🚀 Project Structure Inside the p","default_branch":null,"files":null,"tree":[],"storefront":"/r/thomasKn","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/thomasKn/astro-shopify/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}