This article explains how to install Paazl's extension in your Salesforce CC SFRA implementation.
Note
The Paazl LINK cartridge can be used out of the box with Commerce Cloud's Storefront Reference Architecture (SFRA) - version 3.3.0
You can use it with other versions but you may need to make additional adjustments.
Step 1. Install LINK cartridge
Install the int_paazl_sfra and int_paazl_core cartridges in Commerce Cloud UX-studio.
Step 2. Install sgmf-scripts
Salesforce CC has published an NPM node named sgmf-scripts that has tools to compile the CSS and JS scripts for your storefront site. To install and then compile the scripts, execute the following instructions from the command line:
npm install sgmf-scriptsnpm run compile:js && npm run compile:scss && npm run compile:fonts
Normally, you only have to compile the fonts once.
Step 3. Import metadata
To add Paazl configuration functionality to Business Manager, import Paazl's predefined metadata as follows:
- Download the Paazl LINK installation package from
https://github.com/SalesforceCommerceCloud/link_paazl - Open the
link_paazl-master/site_import/sites/folder - Rename the
yourSiteIdfolder to your site's ID in Salesforce CC Business Manager - Zip the
site_importfolder - Import the zipped file into Business Manager (Administration > Site Development > Site Import & Export).
After the import, the following changes will have been made to Business Manager.
Paazl attributes will have been added to:
- Administration > Site Development > System Object Types > Site Preferences > Attribute Definitions
- Administration > Site Development > System Object Types > Order > Attribute Definitions
- Administration > Site Development > System Object Types > Shipment > Attribute Definitions
- Administration > Site Development > System Object Types > Basket > Attribute Definitions
The following services will have been added to Administration > Operations > Services:
service.paazl.rest.gettokenservice.paazl.rest.getSelectedOption
The paazl shipping method will have been added to [yourSiteId] > Merchant Tools > Ordering > Shipping Methods.
Step 4. Compile JS and CSS
The Paazl JS and CSS files are part of the int_paazl_core cartridge.
- Compile the JS and CSS code of the
app_storefront_basecartridge as explained in SFRA README.md. - Compile the JS and CSS code of the
int_paazl_corecartridge.- Go to the top level of your project (just above the
cartridgesfolder). - Make sure that you are using the
package.jsonandwebpack.config.jsfiles in thelink_paazlrepository in GitHub. - Execute the following command:
npm install
- Execute the following commands:
npm run compile:js && npm run compile:scss
- Go to the top level of your project (just above the
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article