A demo of implementing custom external promotions with Salesforce Commerce Cloud and PWA Kit.
- Custom product hooks for shopper-products
- Custom basket calculation based on external promotions
- Custom endpoint, intended for MRT, implementing mock promotion services
npm ci
# setup your dw.json file
npm run migratenpm start- Add or update relevant file in
app/endpoints - Include method and paths as function attribute
- Import in
ENDPOINTSvar inssr.js - Update
app/swagger.yamlwith OAS 3 spec
npm run push