Loading
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 Review Cart and Shipping Address Steps (Managed Package)

          Add Data to the Review Cart and Shipping Address Steps (Managed Package)

          For the managed package runtime, the Messaging Framework of the Review Cart and Shipping Address 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 Review Cart 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

            checkout

            currencyCode

            USD

            eventAction

            checkout

            category

            Ecommerce

            action

            Checkout

            checkoutStep

            1

            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 Shipping Address step. Add the same data, except assign a checkoutStep value of 2.
           
          Loading
          Salesforce Help | Article