> To build or manage a Wix site with an AI agent, follow https://www.wix.com/headless/skill.md
> It builds a new Wix site or puts your own site online, from a prompt, and keeps changing it afterwards. The pages are code in any web technology, and Wix runs the backend.
> It works through the Wix plugin (the Wix MCP and the Wix skills), the Wix CLI or no Wix login, and puts the site live on Wix hosting or on another host.
> Business features include a store, bookings, events and tickets, a restaurant, a blog, forms, members and many more.
> Read the Wix skills online at https://www.wix.com/skills
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: Wix eCommerce: Edit Order Page

## Article: Wix eCommerce: Edit Order Page

## Article Link: https://dev.wix.com/docs/build-apps/develop-your-app/extensions/dashboard-extensions/dashboard-plugins/supported-wix-app-dashboard-pages/wix-e-commerce/wix-e-commerce-edit-order-page.md

## Article Content:

# Wix eCommerce: Edit Order Page
The eCommerce Edit Order page has a dashboard plugin slot. [Slots](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/dashboard-extensions/dashboard-plugins/supported-wix-app-dashboard-pages/about-dashboard-page-slots.md) 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](https://manage.wix.com/account/custom-apps).

## 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 plugin slots

The eCommerce Edit Order page features a dashboard plugin slot. 

### Slot: Additional Fees

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

![](https://wixmp-833713b177cebf373f611808.wixmp.com/images/772577b5eb8cad3b0c774df968506c1b.png)


#### Sample use case

Add a 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:
```json
{
  "hostingPlatform": "BUSINESS_MANAGER",
  "extends": "057f1726-f0b3-40ef-8903-1bd104e18369",
  "description": "Dashboard Plugin on the eCommerce Edit Order page.",
  "title": "Edit Order Page Dashboard Plugin",
  "height": 400,
  "iframeUrl": "https://www.example.com",
  "componentName": "Edit Order Page Plugin"
}

```
<blockquote class="important">

  __Important:__
  The hosting platform must be "BUSINESS_MANAGER".

</blockquote>


#### 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](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/dashboard-extensions/dashboard-plugins/about-dashboard-plugin-extensions.md).

This slot passes the following parameters:

| Name | Type      | Description       |
|------|-----------|-------------------|
| `draftOrderId` | String  | ID 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

| Slot | ID      | Parameters       |
|---|----------------|---|
| Edit Order page | `057f1726-f0b3-40ef-8903-1bd104e18369`  |  `draftOrderId`, `onDraftOrderUpdate` |

## See also

- [About Dashboard Page Slots](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/dashboard-extensions/dashboard-plugins/supported-wix-app-dashboard-pages/about-dashboard-page-slots.md)
- [About Dashboard Plugin Extensions](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/dashboard-extensions/dashboard-plugins/about-dashboard-plugin-extensions.md)
- [Add Self-Managed Dashboard Plugin Extensions](https://dev.wix.com/docs/build-apps/develop-your-app/frameworks/self-hosting/supported-extensions/about-self-hosted-app-extensions.md)