Awesome Open Source
Awesome Open Source


All Contributors


A React Hook that handles shopping cart state and logic for Stripe.

Product JSON example Front-End code example Serverless code example Click to open gist.


View our comprehensive documentation website. ✨📚

Frequently Asked Questions

This is a list of questions that you might have about use-shopping-cart once you get started.

Why am I getting an error about formatToParts not being a function on older browsers?

You need to polyfill formatToParts if you want to support older browsers. You can find more info on manually polyfilling formatToParts in issue #158.

Why am I getting an SSR error about text content not matching?

It is likely that you are using a value like cartCount that is loaded from LocalStorage which doesn't exist on the server. More info in issue #122

Contributing to use-shopping-cart

If you're working on this project please check out the file.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Kevin Cunningham

⚠️ 💻

Ian Jones


Nick DeJesus

⚠️ 📝 💼 🐛 🔣 📖 🔍 🚇 📆 💬 👀 🛡️

Shodipo Ayomide


Anders Bech Mellson


Thor 雷神

📖 💻 ⚠️

Ryan Warner


Horacio Herrera


Brian Douglas


Brittney Postma


Prince Wilson


Eric Howey

📖 🔌

Hidetaka Okamoto


Andria Brown

⚠️ 💻 📖 🐛 💡 🚇 🚧 🤔 💬 👀

This project follows the all-contributors specification. Contributions of any kind welcome!


MIT © dayhaysoos

Alternatives To Use Shopping Cart
Select To Compare

Alternative Project Comparisons
Related Awesome Lists
Top Programming Languages

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Javascript (1,157,171
String (41,884
Cart (5,038
Stripe (3,538