I'm very happy to announce the beginning of a new project aimed to provide a dead simple way for Jamstack developers to build e-commerce websites

Introducing Steel: a tool kit for headless commerce

submited by
Style Pass
2021-06-16 21:00:12

I'm very happy to announce the beginning of a new project aimed to provide a dead simple way for Jamstack developers to build e-commerce websites: it's called Steel.

Steel is a tool kit for building e-commerce solutions on the Jamstack utilizing Snipcart & Sanity. Snipcart is a developer first e-commerce solution that allows you to add a shopping cart to any website. Sanity is a content platform that both delivers your content and provides a customizable UI to manage your content. Use in tandem, Snipcart & Sanity provide the most flexible, yet simple ecommerce development workflow out there — this is why they are the driving force behind Steel. Let's start to look at all of the different parts of the tool kit...

The first component of Steel we're going to look at is the Studio. Sanity Studio is the UI provided to us by Sanity where we can manage our content & products. The Steel Studio is simply a pre-configured Sanity Studio with a few key components. First, the schemas provided cover the base needs of a new e-commerce site; simply modify from there to fit your data needs. Second, the Steel Studio comes with the Dashboard already installed, making it that much quicker to install and configure the Steel Plugins we'll go over later. Third, by default there is a singleton schema provided to manage data like site title, contact information, & social media links. There isn't much going on in the base studio; this is intended to not assume much about your needs in building an e-commerce site, leaving enough room for you to build a custom experience.

Steel Plugins are a suite of Sanity plugins aimed to bring the Snipcart REST API into the Studio. These plugins can be anything really; as long as they provide functionality & data that is helpful to future admins who will be using the studio. For example, sanity-plugin-snipcart-discounts is currently in development and will allow admins to view available discounts, how many times they have been used, as well as being able to create new discounts without needing to leave the Studio. Hopefully this library of plugins will grow & allow developers to create really custom experiences in minutes.

Leave a Comment