You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-8Lines changed: 11 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ This starter also includes credentials to a Shopify demo store so you can try it
13
13
14
14
If you have questions feel free to message me on [Twitter](https://twitter.com/alexanderhorl) 🤙🏻
15
15
16
-
Checkout [nureineburg.netlify.app](https://nureineburg.netlify.app) for a real public shop built with this starter, the code is also [public](https://github.com/AlexanderProd/nureineburg.de/).
16
+
Checkout [nureineburg.alexanderhoerl.de](https://nureineburg.alexanderhoerl.de) for a real public shop built with this starter, the code is also [public](https://github.com/AlexanderProd/nureineburg.de/).
17
17
18
18
## 💎 Features
19
19
@@ -27,9 +27,11 @@ Checkout [nureineburg.netlify.app](https://nureineburg.netlify.app) for a real p
27
27
- SEO
28
28
29
29
### 📦 Dynamic Inventory Checking
30
+
30
31
The Shopify product inventory is being checked in realtime, therefore no rebuilding and redeploy is needed when a product goes out of stock. This avoids problems where products could still be available even though they're out of stock due to redeploy delay.
31
32
32
33
### 🖌 Styling
34
+
33
35
I'm using [Emotion](https://emotion.sh/docs/introduction) as styled components library, but the starter is purposely only sparsely styled so you don't have to remove unecessary code but can instead add your own styling immediately.
34
36
35
37
## ⚠️ Common problems
@@ -65,12 +67,12 @@ I'm using [Emotion](https://emotion.sh/docs/introduction) as styled components l
65
67
66
68
Open the `my-shopify-store` directory in your code editor of choice and edit `src/pages/index.js`. Save your changes and the browser will update in real time!
67
69
68
-
1. **Connect your own Shopify store.**
70
+
1. **Connect your own Shopify store.**
69
71
70
72
Open both `.env` files located in the root directory of your page end replace the credentials with your own. Don't forget to restart Gatsby for your store to be loaded!
71
73
72
74
⚠️ Make sure to use the Shopify storefront API credentials, not the regular Shopify API!
73
-
75
+
74
76
## Deploy
75
77
76
78
Checkout my other open-source project [JAMStackBox](https://github.com/AlexanderProd/jam-stack-box) to continuously deploy your Gatsby site on your own server.
@@ -86,9 +88,10 @@ Looking for more guidance? Full documentation for Gatsby lives [on the website](
86
88
## 📌 ToDo
87
89
88
90
I'll happily merge any pull request to improve the starter. 🙂
89
-
- [X] Convert Layout to function component.
90
-
- [X] Add dynamic inventory checking to avoid re-building after every purchase.
91
-
- [X] Add better styling.
92
-
- [X] Add image optimization using Gatsby sharp plugin.
93
-
- [X] Convert ProductForm to function component.
91
+
92
+
- [x] Convert Layout to function component.
93
+
- [x] Add dynamic inventory checking to avoid re-building after every purchase.
94
+
- [x] Add better styling.
95
+
- [x] Add image optimization using Gatsby sharp plugin.
0 commit comments