> 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: Configuration

## Article: Configuration

## Article Link: https://dev.wix.com/docs/api-reference/business-solutions/stores/service-plugins/product-restrictions-v3/configuration.md

## Article Content:

# Configuration

With the Product Restrictions service plugin integrated into your app, Wix will retrieve the product restriction configurations you provide whenever it calls a catalog of products from your app. Follow these steps to add the service plugin and enable Wix to communicate with your app.

1. Go to [Extensions](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/about-extensions.md) in your app's dashboard.

2. Click **+ Create Extension** in the top right.

3. Find **Product Restrictions Provider** and click **+ Create**.

4. Use the JSON editor to create the extension's configuration file. Configure the parameters by referencing the table below or the **Documentation** section to the right of the editor.

| Name                                | Type   | Description                                                                                                                                        |
|-------------------------------------|--------|----------------------------------------------------------------------------------------------------------------------------------------------------|
| `deploymentUri`                     | string | Base URI of the service plugin implementation. Since no method calls this path, it can be left blank.                                              |
| `componentName`                     | string | A unique name for this component. This is an internal name that will only appear in the app dashboard.                                             |
| `productRestrictionsConfig`         | object | Object that contains product fields to restrict. See below for more details about nested fields.                                                   |
| `prices.restrictionLevel`           | enum   | Affected fields: <ul><li>`variantsInfo.variants.price.actualPrice.amount`</li><li>`variantsInfo.variants.price.compareAtPrice.amount`</li></ul>    |
| `options.restrictionLevel`          | enum   | Affected fields: `options` (all nested fields except `linkedMedia`)                                                                                |
| `modifiers.restrictionLevel`        | enum   | Affected field: `modifiers` (all nested fields except `linkedMedia`)                                                                               |
| `inventory.restrictionLevel`        | enum   | Affected fields: <ul><li>`variantsInfo.variants.sku`</li><li>`variantsInfo.variants.barcode`</li><li>`inventory.trackingMethod.quantity`</li></ul> |
| `preOrder.restrictionLevel`         | enum   | Affected fields: `inventory.preorderInfo`                                                                                                          |
| `duplicateProduct.restrictionLevel` | enum   | Whether to block product duplication or display a warning when duplicating a product.                                                              |

5. Click [**Test Your App**](https://dev.wix.com/docs/build-apps/launch-your-app/app-distribution/test-your-app/test-your-app-on-a-premium-site.md).

## Understanding Restriction States

Each restriction can be set to one of the enum values: `LOCKED` or `WARNING`. These restrictions apply to all products in the Wix Stores dashboard.

* `LOCKED`: Users cannot edit any product fields.
* `WARNING`: Users can modify product fields. However, a warning message will notify them of possible complications like synchronization errors. After acknowledging the warning, the fields can be edited normally.