mirror of
https://github.com/vercel/commerce.git
synced 2025-03-14 22:42:33 +00:00
* Add dynamic API endpoints * Add missing dependency * Update api handlers * Updates * Fix build errors * Update package.json * Add checkout endpoint parser & update errors * Update tsconfig.json * Update cart.ts * Update parser * Update errors.ts * Update errors.ts * Move to Edge runtime * Revert to local * Fix switchable runtimes * Make nodejs default runtime * Update pnpm-lock.yaml * Update handlers * Fix build errors * Change headers
Next.js SalesForce Cloud Commerce Provider
SalesForce Cloud Commerce Demo: https://salesforce-cloud-commerce.vercel.store/
Installation
- Copy the
.env.template
file in this directory to/site/.env.local
in the main directory - Run
yarn
and thenyarn dev
in root folder
Features:
{
"provider": "sfcc",
"features": {
"wishlist": false,
"cart": false,
"search": true,
"customerAuth": false,
"customCheckout": false
}
}
References
- SDK: https://github.com/SalesforceCommerceCloud/commerce-sdk
- isomorphic SDK (currently not used atm): https://github.com/SalesforceCommerceCloud/commerce-sdk-isomorphic
- PWA Kit storefront example: https://pwa-kit.mobify-storefront.com/
Training Material and Documentation:
For a detailed introduction into commerce clouds feature set and data setup please refer to our Training Material and Documentation: