Wix eCommerce: Edit Order Page

The eCommerce Edit Order page has a dashboard menu plugin slot. Slots are the placeholders in the UI for plugins. The slot ID is the value for the required extends field when configuring the plugin in the App Dashboard.

Location in dashboard

Sales > Orders > Order > More Actions > Edit Order

To test your plugin on a site, do the following:

  1. Install any Wix app that integrates with the Wix eCommerce platform. For example, Wix Stores.
  2. Add a new order manually, or let a customer generate the order (for example, by purchasing a product).
  3. Click on the order, and then click More Actions > Edit order in the top right corner of the page.

Dashboard menu plugin slots

The eCommerce Edit Order page features a dashboard menu plugin slot.

Slot: Additional Fees

This dashboard menu plugin slot is located on the right side of the page, in the Order summary card.

Sample use case

Add a menu plugin that enables site owners to manage custom fees for orders. By integrating with this plugin, your app can provide merchants with the ability to add or remove order fees according to your custom logic and functionality.

Configuration

Use the following slot ID for the extends property in your dashboard plugin's configuration in your app's dashboard:

slot ID: 057f1726-f0b3-40ef-8903-1bd104e18369

For example:

Copy

Important: The hosting platform must be "BUSINESS_MANAGER".

Interaction between the dashboard page and your plugin

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:

NameTypeDescription
draftOrderIdStringID of the order that is being edited.
onDraftOrderUpdate()()=>Promise<void>Callback that notifies the host page about a draft order update, prompting a UI refresh. It returns a promise indicating when the UI update on the host page is complete.

Multiple plugins in the same slot

This plugin slot can host multiple plugins.

The plugins are displayed vertically and ordered by date created, with the most recently created plugin displayed at the bottom.

Slot IDs

SlotIDParameters
Edit Order page057f1726-f0b3-40ef-8903-1bd104e18369draftOrderId, onDraftOrderUpdate

See also

Was this helpful?
Yes
No