With site plugins, you can create interactive and feature-rich components that seamlessly integrate into Wix’s business solutions, such as Wix Stores and Wix Bookings, extending their functionality and user experience.
Wix users can easily place site plugins into predefined slots (UI placeholders) within Wix apps, using the plugin explorer available in all Wix editors.
The following are key terms related to site plugins:
Term | Definition |
---|---|
Host widget | A widget belonging to a Wix business solution, which contains one or more slots. |
Slot | A placeholder within a host widget in which users can add a plugin. |
Site plugin | A component that can be added inside a slot, extending the host widget's functionality. |
Plugin API | An API contract between a site plugin and a slot that both must implement to communicate. |
A site plugin integrates with its host widget in two ways:
To enable site plugins to communicate with their hosts, each slot supports an API that provides data about the plugin's context (for example the productId
of the current product on the Product page).
Wix offers a range of placeholders – called slots – across app pages, for which you can build plugins.
When developing a plugin, you need to explicitly declare the specific slots in which users are allowed to add it.
Explore the slots available on each host widget, as well as the APIs they support:
Wix app | Host widget |
---|---|
Wix eComm | Checkout page |
Wix Stores | Product page |
Wix Stores | Category page |
Wix Stores | Shop page |
Wix Stores | Gallery widget |
Wix Bookings | Service page |
Wix Events | Event Details page |
Wix Blog | Post page |
You can add a site widget extension using: