# Single logic

The Single results logic type recommends products for every answer that a customer chooses. If you have multiple questions in your quiz, then the customer will likely end up with multiple product recommendations at the end.&#x20;

## In this section: <a href="#in-this-section" id="in-this-section"></a>

* [Changing the results logic type](#changing-the-recommendations-logic-type)
* [Setting up Single logic results](#setting-up-basic-logic-results)

***

## Changing the results logic type <a href="#changing-the-recommendations-logic-type" id="changing-the-recommendations-logic-type"></a>

You can adjust the results logic on any quiz that has been created with a blank template.&#x20;

**Steps:**

1. From the quiz builder, click **Settings.**
2. Click **Recommendations**.
3. Under **Results Logic**, click the drop-down menu for logic options, and click **Single.**
4. Optional: In the text box under **Recommended products limit**, enter the maximum number of products that you want to show on the quiz results page. Leave the field blank if you want to remove the limit.
5. Click **Save**.

***

## Setting up Single logic results <a href="#setting-up-basic-logic-results" id="setting-up-basic-logic-results"></a>

To have product recommendations display on the quiz results page, you need to set up products for the answers in your quiz at the answer level.

**Steps:**

1. From the quiz builder menu, click the **Quiz** tab.
2. From the left-hand menu, click the question, then the answer that you want to set up product recommendations for.
3. Under **Selected products**, click **Select products**.
4. Check all of the products that you want to be recommended for this quiz answer.
5. Click **Save and close**, then click **Save**.

Repeat this process to define product recommendations for all of the answers on your quiz that you want to recommend products for.

{% hint style="info" %}
You don't have to associate every answer with a product/products, if that answer doesn't impact the product recommendations. However, if none of the answers chosen have products associated with them, then the Fallback result is displayed at the end of the quiz.
{% endhint %}

{% embed url="<https://youtu.be/tW1lxn77NFo>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.quizkitapp.com/building-a-quiz/results/results-logic/single-logic.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
