> 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`).
> - 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 Stores: Gallery Widget
## Article: Wix Stores: Gallery Widget
## Article Link: https://dev.wix.com/docs/build-apps/develop-your-app/extensions/site-extensions/site-plugins/supported-wix-app-pages/wix-stores/wix-stores-gallery-widget.md
## Article Content:
# Wix Stores: Gallery Widget
The following slots and APIs are available when building a [site plugin](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/site-extensions/site-plugins/about-site-plugin-extensions.md) for the Gallery widget.
> **Note:**
> When selecting a slot for your plugin in the Gallery widget, you should select the same slot for the [Shop page](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/site-extensions/site-plugins/supported-wix-app-pages/wix-stores/wix-stores-shop-page.md) and the [Category page](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/site-extensions/site-plugins/supported-wix-app-pages/wix-stores/wix-stores-category-page.md). Different Wix sites may use any of these and making these slots available for your plugin allows users to add it to their site regardless of their setup.
## Slots
The following images show the slots available in the Gallery widget, into which users can add plugins.
Mobile
Mobile Popup
Desktop
The slots are represented by the following `placement` object:
```json
{
"appDefinitionId": "",
"widgetId": "",
"slotId": ""
}
```
Provide the following values for each property:
| Key | Value |
| ------------------ | ------- |
| `appDefinitionId` | "1380b703-ce81-ff05-f115-39571d94dfcd" |
| `widgetId` | "13afb094-84f9-739f-44fd-78d036adb028" |
| `slotId` | ID of the slot you want [as displayed in the image above](#slots). |
For example:
```json
{
"appDefinitionId": "1380b703-ce81-ff05-f115-39571d94dfcd",
"widgetId": "13afb094-84f9-739f-44fd-78d036adb028",
"slotId": "gallery-products-top"
}
```
### Category plugin API
Use the Category plugin API to integrate with the plugin's host.
The API provides data about the current category.
| Property | Type | Description |
| -------- | ---- | ----------- |
| `categoryId` | String | The ID of the category that is currently applied on the plugin's host. |
## Related Wix 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 current category or related data.
You can do this using the Wix Stores APIs ([Velo](https://dev.wix.com/docs/velo/apis/wix-stores-v2/products/introduction.md), [REST](https://dev.wix.com/docs/rest/business-solutions/stores/about-wix-stores.md), [JavaScript SDK](https://dev.wix.com/docs/sdk/backend-modules/stores/products/introduction.md)).