Skip to content

talon-one/talonone-sfcc-cartridge

Repository files navigation

Talon.One

Talon.One Salesforce Commerce Cloud Cartridge

Company Overview

The all-in-one promotion software designed for enterprises. Manage all your marketing promotions in one scalable system without stressing developer resources.

Integration Overview

This repository contains the cartridges required to integrate Talon.One with the Salesforce Commerce Cloud platform. The integration suppports the following architectures:

  • SiteGenesis Javascript Controller (SGJS)
  • Salesforce Reference Architecture (SFRA)

Cartridges

The cartridges directory contains the following items:

  • bm_talonone - includes functionality for Business Manager
  • int_talonone - includes the base functionality used by SG controllers and SFRA
  • int_talonone_controllers - includes SG Controllers-specific logic
  • int_talonone_sfra - includes SFRA Controllers-specific logic

SiteGenesis Javascript Controller (SGJC)

For integration instructions, please see the Talon.One_Controllers_SiteGenesis_Integration_Guide.pdf file in the documentation directory.

Salesforce Reference Architecture (SFRA)

For integration instructions, please see the Talon.One_SFRA_Integration_Guide.pdf file in the documentation directory.

NPM scripts

npm install - Install all of the local dependencies. npm run compile:js - Compiles all .js files and aggregates them. npm run lint - Execute linting for all CSS & JavaScript files in the project.

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