Skip to content

Latest commit

 

History

History
62 lines (47 loc) · 2.38 KB

README.md

File metadata and controls

62 lines (47 loc) · 2.38 KB

Extend - Salesforce Commerce Cloud

The latest version

The latest version of this cartridge is v2022_08

Company Overview

Extend provides an easy way for any merchant to offer extended protection plans, generating new revenue, increasing purchase conversion, and dramatically improving the customer experience.

Integration Overview

This repository contains the Extend integrations with the Salesforce Commerce Cloud platform. There are two versions currently available for SiteGenesis Javascript Controller (SGJS) and Salesforce Reference Architecture (SFRA).

Feature List

Cartridges

  • int_extend - Includes SG Controllers specific logic
  • int_extend_sfra - Includes SFRA specific logic

Salesforce Reference Architecture (SFRA)

For setup instructions please see the Extend SFRA Integration Guide.

SiteGenesis Javascript Controller (SGJC)

For setup instructions please see the Extend Sitegenesis Integration Guide.

NPM scripts

npm install - Install all of the local dependencies. npm run compile:scss - Compiles all .scss files and aggregates them. npm run compile:js - Compiles all .js files and aggregates them. npm run lint - Execute linting for all CSS & JavaScript files in the project. npm run uploadCartridge - Will upload int_extend and int_extend_sfrato the server. Requires a valid dw.json file at the root that is configured for the sandbox to upload.

Tests

Unit tests

In order to run the unit tests, do the following steps in the root of the project.

  1. npm install
  2. npm run test

Integration tests

Support