Skip to content

dayhaysoos/use-shopping-cart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

674 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

use-shopping-cart

All Contributors

NPM

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

https://useshoppingcart.com

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

Documentation

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 CONTRIBUTING.md file.

Contributors โœจ

Thanks goes to these wonderful people (emoji key):

Kevin Cunningham
Kevin Cunningham

โš ๏ธ ๐Ÿ’ป
Ian Jones
Ian Jones

โš ๏ธ
Nick DeJesus
Nick DeJesus

โš ๏ธ ๐Ÿ“ ๐Ÿ’ผ ๐Ÿ› ๐Ÿ”ฃ ๐Ÿ“– ๐Ÿ” ๐Ÿš‡ ๐Ÿ“† ๐Ÿ’ฌ ๐Ÿ‘€ ๐Ÿ›ก๏ธ
Shodipo Ayomide
Shodipo Ayomide

๐Ÿ“–
Anders Bech Mellson
Anders Bech Mellson

๐Ÿ’ป
Thor ้›ท็ฅž
Thor ้›ท็ฅž

๐Ÿ“– ๐Ÿ’ป โš ๏ธ
Ryan Warner
Ryan Warner

๐Ÿ“–
Horacio Herrera
Horacio Herrera

๐Ÿ“–
Brian Douglas
Brian Douglas

๐Ÿ“–
Brittney Postma
Brittney Postma

๐Ÿ“–
Prince Wilson
Prince Wilson

๐Ÿ“–
Eric Howey
Eric Howey

๐Ÿ“– ๐Ÿ”Œ
Hidetaka Okamoto
Hidetaka Okamoto

๐Ÿ’ป
Andria Brown
Andria Brown

โš ๏ธ ๐Ÿ’ป ๐Ÿ“– ๐Ÿ› ๐Ÿ’ก ๐Ÿš‡ ๐Ÿšง ๐Ÿค” ๐Ÿ’ฌ ๐Ÿ‘€
Konnor Rogers
Konnor Rogers

๐Ÿ’ป
Larissa Pissurno
Larissa Pissurno

๐Ÿ“–
Lucy Macartney
Lucy Macartney

๐Ÿ“– ๐Ÿ–‹ ๐Ÿ’ก
brendanmorrell
brendanmorrell

๐Ÿ’ป
Tom
Tom

๐Ÿ’ป
Milind Goel
Milind Goel

๐Ÿ“–
Rajat Bhatt
Rajat Bhatt

๐Ÿ’ก

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

License

MIT ยฉ dayhaysoos

About

Shopping cart state and logic for Stripe

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

  •  
  •  

Packages

 
 
 

Contributors

โšก