Wix eCommerce (Checkout & Orders): Side Cart

The following slots and APIs are available when building a site plugin for the Side Cart.

Important: Some plugins may not support automatic addition upon installation, even with autoAddToSite enabled. In that case, you must:

Slots

The following image shows slots in the Side Cart, into which users can add plugins.

side-cart-slots

Each slot is identified by a unique placement slot ID. Declare the slots your plugin can be added to by listing their IDs in the placementsSlotIds array in your plugin's configuration:

Copy

The following table lists the placement slot ID for each slot in the Slots diagram:

SlotPlacement slot ID
side-cart:header:after-1ac85529f-da44-4619-a034-eb58ac00a935
side-cart:line-items:after-1466203bb-a4e4-45fa-9d00-74a9ca212285
side-cart:customer-input:after-1e26daf2c-dcaf-4379-b303-6069a9910eca
side-cart:footer:actions:before-10a011896-b109-451a-ac33-4e5fe51e9626
side-cart:footer:actions:after-14f2f403d-90e4-49fd-a828-012a16bebb24

For example, to allow your plugin to be placed after the header in the Side Cart:

Copy

Note: The legacy placements format isn't deprecated, and plugins that haven't been migrated continue to work. We still recommend migrating your code to placementsSlotIds.

Legacy placements values

The slots are represented by the following placement object:

Copy

Provide the following values for each property:

KeyValue
appDefinitionId"1380b703-ce81-ff05-f115-39571d94dfcd"
widgetId"49dbb2d9-d9e5-4605-a147-e926605bf164"
slotIdID of the slot you want as displayed in the image above.
Supported values:
  • "side-cart:header:after-1"
  • "side-cart:line-items:after-1"
  • "side-cart:customer-input:after-1"
  • "side-cart:footer:actions:before-1"
  • "side-cart:footer:actions:after-1"

For example, for your widget to appear before the header in the Side Cart use the following object in your configuration:

Copy

Side Cart plugin APIs

Use the following APIs to integrate with the plugin's host:

The Current Cart API allows you to manage and get information about the current cart. The eCommerce frontend API allows you to interact with the cart's UI elements.

Code example

Copy

Side Cart plugins usually need to integrate with Wix eCommerce's Cart and Checkout APIs, as well as other backend APIs.

In your site plugin or in your app's server code, you may want to perform actions or implement logic that is dependent on the state of the current cart or related data.

The following Wix APIs may be useful:

Design guidelines

When you create a Side Cart plugin, we recommend following these design guidelines:

  • Make sure your design is responsive for all screen sizes.

  • The Side Cart uses a 4px baseline grid for aligning all elements, typography, and spacing between elements. Don't add extra spacing around your plugin design. The slot automatically handles spacing to maintain the Side Cart's uniform layout.

  • Give your designs an appropriate height, depending on the slot you use.

    SlotRecommended heightMax height
    side-cart:header:after-130px70px
    side-cart:line-items:after-150px150px
    side-cart:customer-input:after-124px150px
    side-cart:footer:actions:before-150px70px
    side-cart:footer:actions:after-150px70px

Last updated: 13 October 2026

Did this help?