Create a custom cart

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 1 minute de lecture
  • Administrators with a knowledge of Jelly can customize the look and feel of service catalog carts, either globally or for specific catalog items, using the UI macro capability.

    Avant de commencer

    Role required: admin

    Pourquoi et quand exécuter cette tâche

    Remarque :
    You can configure cart layouts without scripting.

    Procédure

    1. Navigate to All > System UI > UI Macros.
    2. Click New to create a new macro.
    3. Fill in the details and write the script to define your custom cart.
      Remarque :
      Designing a custom cart requires knowledge of the Jelly expression language. For reference purposes, the default cart script appears in the list as catalog_cart_default.
    4. Click Submit.

    Que faire ensuite

    After creating a custom card, you can reuse it and link it to catalog items.

    Link a cart to an item

    Link the default cart or a custom cart to an item so the requester sees the pertinent information.

    Avant de commencer

    Role required: catalog_admin or admin

    Procédure

    1. Navigate to All > Service Catalog > Catalog Items.
    2. Open an item to test the new cart.
    3. In the Cart field, select the cart to use.
      You can configure the form layout to add this field to the form.
    4. Save the changed form.