Loading
Get Started with B2C Commerce
Table des matières
Sélectionner des filtres

          Aucun résultat
          Aucun résultat
          Voici quelques conseils de recherche

          Vérifiez l'orthographe de vos mots-clés.
          Utilisez des termes de recherche plus généraux.
          Sélectionnez moins de filtres pour élargir votre recherche.

          Recherchez dans toute l’aide de Salesforce
          Install the Shopper Agent Cartridge for SFRA Storefronts

          Install the Shopper Agent Cartridge for SFRA Storefronts

          If you use SFRA (Storefront Reference Architecture) to develop your storefront, install the required SFRA cartridge to run the agent.

          1. Confirm that you can access the Salesforce Commerce repository on GitHub.
          2. Clone the plugin_shopper_agent repository.
          3. From the plugin_shopper_agent directory, install Node Package Manager (NPM) dependencies with the command npm install.
            SFRA depends on modules managed by npm.
          4. Return to the plugin_shopper_agent directory, and open the dw.json configuration file.
          5. In the dw.json configuration file, edit the hostname, username, password, and code version. If the file doesn't exist, create it.
            The dw.json file establishes the server connection and the code version to upload the cartridge. The code version must match the SFRA deployment in Business Manager. To locate it, click App Launcher App Launcher, and then select Administration | Site Development | Code Deployment
            "hostname": "HOST.salesforce.com",
            "username": "USERNAME",
            "password": "WEBDAV_ACCESS_KEY",
            "code-version": "CODE_VERSION"
          6. Upload the cartridge with the command npm run uploadCartridge.
          7. In the Business Manager, set up the cartridge path.
            1. Install the app_storefront_base cartridge.
            2. Click App Launcher App Launcher, and then select Administration | Sites | Manage Sites, and select your site.
            3. On the Settings tab, update the cartridge path. For example, plugin_shopper_agent:app_storefront_base.
            4. Save your changes.
           
          Chargement
          Salesforce Help | Article