Welcome to part-16 of the series. In the previous part we had done all the changes to implement snipcart. So, let’s start to add ecommerce feature to our site by snipcart.
Let’s signup for https://snipcart.com/ for which you only require an email address, if you only want to test.
Once, you signup you will be taken to the dashboard screen.
Dashboard
Rest of the chapter is exclusive content and is from my book Foundation Gatsby Projects.
The book can be purchased from Apress site here
Now, if we click on the Order button it will add the item in our cart.
Added
I am pushing this code to github for the automatic deployment to netlify at https://restaurant-bangalore.netlify.app
This completes part-16 of the series.
You can find the code for the project in this github repo.