Use this Salesforce Commerce Cloud (SFCC) cartridge to connect to Salesforce Commerce Cloud's Storefront Reference Architecture (SFRA) and SiteGenesis platforms.
To view additional documentation online, navigate to: https://developers.pixlee.com/docs/salesforce-commerce-cloud-sfra-demandware
- Download the latest release from this repository.
This metadata update includes:
- Extensions to SFCC systems objects (site and organization preferences)
- Service definition
- Two sample jobs
The easiest way to update the metadata of your environment with the above is to do a site import.
- Open the metadata folder and create a zip of the pixlee_site_template directory with the same name
- In the SFCC Business Manager, navigate to Administration > Site Development > Site Import & Export
- Click the button to choose a file
- Select the zip file created in step 1 and click Upload
- Select the uploaded file from the import list, click Import, and click OK to confirm
A successful import will result in the following:
- Pixlee site preferences in Merchant Tools > Site Preferences > Custom Preferences.
- Pixlee Organization preferences in Administration > Global Preferences > Global Custom Preferences.
- Pixlee service definition (pixlee.http.service) in Administration > Operations > Services.
- Two sample jobs (Pixlee Product Export – SFRA and Pixlee Product Export – SiteGenesis) in Administration > Operations > Jobs.
- Run
npm install
to install all the local dependencies (SFRA has been tested with v12.21.0 and is recommended) - Run
npm run compile:js
from the command line that would compile all client-side JS files. - Create
dw.json
file in the root of the project. Providing a WebDAV access key from BM in the password field is optional, as you will be prompted if it is not provided.{ "hostname": "<your-hostname.demandware.net>", "username": "<username>", "password": "<your_webdav_access_key>", "code-version": "<version_to_upload_to>" }
- Run
npm run uploadCartridge
. It will uploadint_pixlee_core
andint_pixlee_sfra
cartridges to the sandbox you specified indw.json
file. - Add the
int_pixlee_core
andint_pixlee_sfra
cartridge to your cartridge path in Administration > Sites > Manage Sites > RefArch - Settings
See Pixlee Developer documentation for configuring preferences