Chord OMS
...
Developer Tools
Gatsby
SDK Reference
1 min
the chord client side javascript sdk is installed as a gatsby theme it's available as an npm package, @chordcommerce/gatsby theme performance , via github packages despite the name, this package does not provide a visual theme to quote from the gatsby documentation https //www gatsbyjs com/docs/themes/what are gatsby themes/ gatsby themes are plugins that include a gatsby config js file and add pre configured functionality, data sourcing, and/or ui code to gatsby sites you can think of gatsby themes as separate gatsby sites that can be put together and allow you to split up a larger gatsby project! the gatsby theme performance theme includes the chord sdk, a set of methods you can import and use in your react components to do things like add items to a cart and check out the theme also pre configures your gatsby site with a number of useful commerce features like product feeds and internationalization support the chord sdk is available to use in your react components via react hooks 127,625 false true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type