4
0
forked from crowetic/commerce
Catalin Pinte 6c2610584d
Update types (#831)
* Update product types

* Cart types progress, add zod & initial schema validator

* Update normalize.ts

* Update with-schema-parser.ts

* Updated types, schemas & providers

* Fix providers after schema parse errors

* Fix paths

* More provider fixes

* Fix kibocommerce & commercejs

* Add customer updated types & fixes

* Add checkout & customer types

* Import core types only from commerce

* Update tsconfig.json

* Convert hooks interfaces to types

* Requested changes

* Change to relative paths

* Move Zod dependency
2022-10-05 09:02:29 +03:00
..
2022-10-05 09:02:29 +03:00
2022-02-01 14:14:05 -05:00
2022-02-01 14:14:05 -05:00
2022-02-01 14:14:05 -05:00
2022-02-01 14:14:05 -05:00
2022-02-01 14:14:05 -05:00

Commerce.js Provider

Demo: https://commercejs.vercel.store/

To use this provider you must have a Commerce.js account and you should add some products in the Commerce.js dashboard.

Next, copy the .env.template file in this directory to .env.local in the main directory (which will be ignored by Git):

cp packages/commercejs/.env.template .env.local

Then, set the environment variables in .env.local to match the ones from your store. You'll need your Commerce.js public API key, which can be found in your Commerce.js dashboard in the Developer -> API keys section.