/gatsby-theme-cart

🛒 A drop-in shopping cart theme for Gatsby

Primary LanguageJavaScriptMIT LicenseMIT

gatsby-theme-cart

  • Shopping cart logic for Gatsby 🛒
  • Minimal configuration! 🛠
  • Built on Gatsby 🚀
  • Made by Jamie Barton 👋
  • It's free! 💰

This Gatsby Theme uses react-use-cart under the hood.

Install

yarn add gatsby-theme-cart
// In your gatsby-config.js

plugins: [
  {
    resolve: `gatsby-theme-cart`,
    options: {
      // ...
    },
  },
]

Options

Option Default Required Description
enableCartPage true No Useful if you wish to use the exported Cart /> component in your existing page.