> 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: Recommendation Settings

# Type: Recommendation Settings Object

# Link: https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/recommendations/recommendation-settings/recommendation-settings-object.md

## Description: Recommendation settings define whether menu item recommendations are enabled for a restaurant operation, and how the
recommended items are selected. There are separate settings for recommendations in an item's details and in the
purchase flow.

Each operation has exactly 1 recommendation settings object, with the same ID as the operation. The settings are
created automatically when the operation is created, and deleted when the operation is deleted. You can't create or
delete recommendation settings yourself.

New recommendation settings have `itemDetails.enabled` and `purchaseFlow.enabled` set to `false`, and both strategies
set to `FREQUENTLY_ORDERED_TOGETHER`.

## Schema:

```json
 Type: Recommendation Settings Object | type: RecommendationSettings
 Description: Recommendation settings define whether menu item recommendations are enabled for a restaurant operation, and how the
recommended items are selected. There are separate settings for recommendations in an item's details and in the
purchase flow.

Each operation has exactly 1 recommendation settings object, with the same ID as the operation. The settings are
created automatically when the operation is created, and deleted when the operation is deleted. You can't create or
delete recommendation settings yourself.

New recommendation settings have `itemDetails.enabled` and `purchaseFlow.enabled` set to `false`, and both strategies
set to `FREQUENTLY_ORDERED_TOGETHER`.
       - name: id  | type: string | description: Recommendation settings ID. Same as the operation ID.
           - name: value  | type: string | description: 
       - name: revision  | type: string | description: Revision number, which increments by 1 each time the recommendation settings are updated. To prevent conflicting changes, the current revision must be passed when updating the recommendation settings.
           - name: value  | type: string | description: 
       - name: createdDate  | type: string | description: Date and time the recommendation settings were created.
           - name: seconds  | type: string | description: 
           - name: nanos  | type: number | description: 
       - name: updatedDate  | type: string | description: Date and time the recommendation settings were updated.
       - name: itemDetails  | type: ItemDetailsRecommendationSettings | description: Settings for recommendations shown in a menu item's details, such as in the item modal of an ordering page.
           - name: strategy  | type: RecommendationStrategy | description: How recommended items are selected. To retrieve the recommended items, specify this strategy as is when calling [Get Recommendations](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/recommendations/recommendations/get-recommendations.md).  Default: `type` is `FREQUENTLY_ORDERED_TOGETHER`
               - name: type  | type: string | description: Strategy type.
               - ONE-OF:
                   - name: featuredOptions  | type: FeaturedOptions | description: Options for the `FEATURED` strategy.  Required when `type` is `FEATURED`.
           - name: enabled  | type: boolean | description: Whether recommendations are enabled in item details.  This is a stored preference. The client that displays recommendations is responsible for checking it, as Wix's online ordering pages do. [Get Recommendations](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/recommendations/recommendations/get-recommendations.md) returns recommendations regardless of this value.  Default: `false`
               - name: value  | type: boolean | description: 
       - name: purchaseFlow  | type: PurchaseFlowRecommendationSettings | description: Settings for recommendations shown during the purchase flow, such as in the cart and at checkout.
           - name: strategy  | type: RecommendationStrategy | description: How recommended items are selected. To retrieve the recommended items, specify this strategy as is when calling [Get Recommendations](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/recommendations/recommendations/get-recommendations.md).  Default: `type` is `FREQUENTLY_ORDERED_TOGETHER`
           - name: enabled  | type: boolean | description: Whether recommendations are enabled in the purchase flow.  This is a stored preference. The client that displays recommendations is responsible for checking it, as Wix's online ordering pages do. [Get Recommendations](https://dev.wix.com/docs/api-reference/business-solutions/restaurants/online-orders/recommendations/recommendations/get-recommendations.md) returns recommendations regardless of this value.  Default: `false`
       - name: businessLocationId  | type: string | description: ID of the operation's business location. Copied from the operation when the recommendation settings are created.  Not returned for an operation without a business location.

```