Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Salesforce Enforces New Security Requirements in Summer 2026Read More
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Add Data to the View Quote and View Cart Steps (Managed Package)

          Add Data to the View Quote and View Cart Steps (Managed Package)

          For the managed package runtime, the Messaging Framework of the View Quote and View Cart steps stores the data format for the selected device. For the example, only the DeviceName is a merge field. The remaining values are hard-coded.

          Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

          1. Click the View Quote step.
          2. In the Messaging Framework properties for the step, make sure the Window postMessage, Pub/Sub, and Session Storage boxes are checked.
          3. Add the following Message Key/Value pairs:

            Key

            Value

            eventName

            productClick

            eventAction

            click

            list

            Search Results

            action

            Product Click

            category

            Ecommerce

            productDetails

            (leave blank)

          4. Open the JSON Editor and replace the null value or empty quotes after the productDetails node with the following JSON array:
            [
              {
                "name": "%DeviceName%",
                "price": 699,
                "brand": "Apple",
                "category": "Mobile",
                "variant": "Black",
                "list": "Search Results",
                "quantity": 1,
                "shipping": 19.9,
                "tax": 17.35,
                "revenue": 736.25
              }
            ]
          5. Exit the JSON Editor.
          6. Repeat this procedure for the View Cart step, adding the same data.
           
          Loading
          Salesforce Help | Article