The Inventory page has 4 plugin slots: 1 dashboard, and 3 dashboard menu. Slots are the placeholders in the UI for plugins. When configuring the plugin in the App Dashboard, use the slot ID as the value for the required extends
field.
Catalog > Store Products > Inventory
The Stores Inventory page features 1 dashboard plugin slot.
The inventory page dashboard plugin slot is positioned above the inventory list.
Add a plugin to the Inventory page that sums the total number of available items in each product category.
When configuring the dashboard plugin in your app's dashboard, use the following slot ID for the extends
property:
slot ID: c9b19070-3e25-4f3d-9d27-4e0f74164835
For example:
1
Important:
The hosting platform must be BUSINESS_MANAGER
.
Apps built by Wix can pass data from built-in dashboard page slots to your plugin. Learn how to use the Wix SDK to interact with and retrieve data from the dashboard.
This plugin slot can host multiple plugins.
Dashboard plugins added to this slot are displayed horizontally by creation date, with the newest plugin displayed furthest left.
The Inventory page features 3 dashboard menu plugin slots.
This dashboard menu plugin slot is located in each inventory item's more actions menu:
Add a plugin to the more actions menu that opens a modal with a product quick view.
Use the following slot ID for the extends
property in your dashboard plugin's configuration in your app's dashboard:
slot ID: 1b9742f8-2b93-4e66-85f2-47289bf548bb
For example:
1
Important:
The hosting platform must be BUSINESS_MANAGER
.
Apps built by Wix pass parameters via dashboard slots for you to utilize in your plugin's functionality. Learn how to interact with and retrieve parameters from the dashboard page.
This slot passes the following parameters:
Name | Type | Description |
---|---|---|
selectedId | string | When the item is the default product version, the value is ${productId} . When the item is a variant, the value is ${productId}_${variantId} |
This plugin slot can host multiple plugins.
Dashboard menu plugins added to this slot are displayed vertically by creation date, with the latest plugin added at the bottom.
This dashboard menu plugin slot is located in the global more actions menu at the top of the page. It can contain action items that perform actions on the entire page, all products, all variants, or any combination of items.
Note: The global more actions menu is only visible when at least one plugin is added to its built-in slot.
Add a plugin that allows users to export their inventory items to a CSV file.
Use the following slot ID for the extends
property in your dashboard plugin's configuration in your app's dashboard:
slot ID: b9e4104f-9beb-4258-8bdb-6a34d6bf7fd0
For example:
1
Important:
The hosting platform must be BUSINESS_MANAGER
.
Apps built by Wix can pass data from built-in dashboard page slots to your plugin. Learn how to use the Wix SDK to interact with and retrieve data from the dashboard.
This plugin slot can host multiple plugins.
Dashboard plugins added to this slot are displayed vertically by creation date, with the latest plugin on top.
This dashboard menu plugin slot is located in the more actions menu of the bulk actions toolbar. It can contain items that perform bulk actions on all selected items.
Note: The bulk action toolbar appears when at least 1 product is selected. Its more actions menu appears when at least 1 plugin is added to its built-in slot.
Add a plugin that allows users to perform bulk actions on all selected items, such as syncing the Wix Stores inventory with an external inventory.
Use the following slot ID for the extends
property in your dashboard plugin's configuration in your app's dashboard:
slot ID: b9f2ad03-7407-48d9-9e89-fe2f2df63e8a
For example:
1
Important:
The hosting platform must be BUSINESS_MANAGER
.
Apps built by Wix pass parameters via dashboard slots for you to utilize in your plugin's functionality. Learn how to interact with and retrieve parameters from the dashboard page.
This slot passes the following parameters:
Name | Type | Description |
---|---|---|
selectedIds | array of strings | Array of IDs of selected items. |
allSelected | boolean | Whether the Select All checkbox was selected. |
uncheckedIds | array of strings | When allSelected is true , an array of IDs of items that were manually deselected. |
total | number | Total number of selected items. |
This plugin slot can host multiple plugins.
Dashboard plugins added to this slot are displayed vertically by creation date, with the latest plugin on top.
You can implement logic in your plugin using the Wix Stores APIs:
Slot | ID | Parameters |
---|---|---|
Inventory page plugin | c9b19070-3e25-4f3d-9d27-4e0f74164835 | |
Inventory item menu action | 1b9742f8-2b93-4e66-85f2-47289bf548bb | selectedId |
Global more actions menu slot | b9e4104f-9beb-4258-8bdb-6a34d6bf7fd0 | |
Bulk action in the bulk more actions menu | b9f2ad03-7407-48d9-9e89-fe2f2df63e8a | selectedIds , allSelected , uncheckedIds , total |