> For the complete documentation index, see [llms.txt](https://document.tek-labs.app/post-purchase-userguide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://document.tek-labs.app/post-purchase-userguide/user-guides/how-to-set-up-funnel-step-by-step/thank-you-page/customize-widgets-on-thank-you-page.md).

# Customize widgets on Thank you page

Design Thank You blocks and set up every Thank you page widget.

Open a funnel, go to the **Thank you page** tab and click **Edit block**. The **Edit Thank You page** editor opens.

## Blocks

<figure><img src="https://2072184172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FD7nJPiqs3PWuRTtrh4pP%2Fuploads%2Fgit-blob-85c0f8dc47370f78c688129cc10de85719ecb09f%2Fpp-ty-blocks.png?alt=media" alt="Thank You blocks"><figcaption></figcaption></figure>

The left panel lists **Thank You Block 1** to **Thank You Block 6** with their status (**Active** or **Inactive**). Click a block to design it.

The **Place block in Thank you page editor** box reminds you which blocks you've designed. **Open Shopify editor** opens the Shopify checkout editor so you can place them. See [Enable and place widgets on Thank you page editor](/post-purchase-userguide/user-guides/how-to-set-up-funnel-step-by-step/thank-you-page/enable-and-place-widgets-on-thank-you-page-editor.md).

## Inside a block

<figure><img src="https://2072184172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FD7nJPiqs3PWuRTtrh4pP%2Fuploads%2Fgit-blob-438d62e43b8290668571109cde1cd8cb3767c5e6%2Fpp-ty-block.png?alt=media" alt="A Thank You block"><figcaption></figcaption></figure>

* **Enable block**: **Enable** or **Disable** the block. Only enabled blocks show on your store.
* **Widgets**: the block's widgets. Click one to edit it, or drag to reorder.
* **Translation**: translate the block's text. See [Translation](/post-purchase-userguide/user-guides/translation.md).
* **Position** (top right of the preview): previews the block in a different place on the page, such as **Above Order status block** or **Below Subtotal block**. It's only a preview. The real position is set in the Shopify editor.
* Use the **Desktop**, **Mobile** and **Fullscreen** buttons to change the preview.

Click **Add widget** to add a widget:

<figure><img src="https://2072184172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FD7nJPiqs3PWuRTtrh4pP%2Fuploads%2Fgit-blob-fdab0da21a4c8f2b91d6a1d3aa499989cb5c25fe%2Fpp-ty-add-widget.png?alt=media" alt="Thank you page widgets"><figcaption></figcaption></figure>

Click **Save** when you're done. A **Block saved successfully** message reminds you to add the block to your Thank you page in Shopify.

## Coupon code

Rewards the customer with a discount code for their next order.

<figure><img src="https://2072184172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FD7nJPiqs3PWuRTtrh4pP%2Fuploads%2Fgit-blob-4fec2b584565a3ff75a02f4a67d5cf5fce3c3360%2Fpp-ty-coupon.png?alt=media" alt="Coupon code"><figcaption></figcaption></figure>

* **Header** and **Body**: for example "10% off your next purchase".
* **Discount code**: pick one of your existing Shopify discount codes. Create the code in **Shopify Admin › Discounts** first.
* **Help text**: for example "Copy and paste the code above at checkout for a discount on your next order."
* **Background color**: Base, Transparent or Subdued.
* **Button type** (Primary, Secondary or Link) and **Button text** (default "Shop now"). The button takes the customer back to your store.

## Single product recommendation

Recommends one product. The customer can buy it straight from the Thank you page.

<figure><img src="https://2072184172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FD7nJPiqs3PWuRTtrh4pP%2Fuploads%2Fgit-blob-e78d2578f18847df90172dbb4a3049e4cc080839%2Fpp-ty-single.png?alt=media" alt="Single product recommendation"><figcaption></figcaption></figure>

* **Product**
  * **Header** (default "You may also like").
  * **Product selection**:
    * **Shopify recommendations**: choose the **Recommendation intent**, **Related products** or **Complementary products**.
    * **Specific product**: search or **Browse** for the product.
  * **Hide products that are bought in original order**.
  * **Show description**.
* **Price and discount**
  * **Automatic discount**: an amount with **% Off** or **Fixed amount**.
  * **Use "compare at" price**.
  * **Shipping** (only when the button goes to checkout): **Use store shipping rates**, **Free shipping** or **Charge for shipping** with an amount. It applies to the separate order created from this widget.
* **Quantity and variant selector**
  * **Display variant picker** and its label (default "Variant").
  * **Show variant picker for single-variant products**.
  * **Allow quantity selection** and its label (default "Quantity").
* **Button**
  * **Button type** (Primary, Secondary or Link) and **Button text** (default "Buy now").
  * **Redirect to** (Specific product only): **Checkout page** (default) or **Cart page**.
  * **Discount name**: required when redirecting to the cart page. The app creates a Shopify discount with this name, so it must be unique.

<figure><img src="https://2072184172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FD7nJPiqs3PWuRTtrh4pP%2Fuploads%2Fgit-blob-d9810d3da8d26f06dc28e6cdc9bbc2ec6e5368bb%2Fpp-ty-single-product.png?alt=media" alt="Single product recommendation: Product"><figcaption></figcaption></figure>

<figure><img src="https://2072184172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FD7nJPiqs3PWuRTtrh4pP%2Fuploads%2Fgit-blob-4930d27a548685600bc1faac1182c7d84d38ff50%2Fpp-ty-single-price.png?alt=media" alt="Single product recommendation: Price and discount"><figcaption></figcaption></figure>

{% hint style="info" %}
**Related** recommendations are generated by Shopify automatically. **Complementary** recommendations must be set up by you in the Shopify **Search & Discovery** app.
{% endhint %}

## Multiple product recommendations

Recommends several products at once. It has the same settings as the single product recommendation, plus a **Layout** section.

<figure><img src="https://2072184172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FD7nJPiqs3PWuRTtrh4pP%2Fuploads%2Fgit-blob-ab6b7a2414a1e4f79dd663bfc9cabe1308de6894%2Fpp-ty-multi-product.png?alt=media" alt="Multiple product recommendations: Product"><figcaption></figcaption></figure>

* **Header** default: "People who bought this also bought...".
* **Specific product**: we recommend up to 10 products so the layout stays clear.
* **Layout**: **List**, **Slider** or **Grid**.
* **Number of products**: 1–10 (default 3). With Shopify recommendations, Shopify may return fewer products than this.
* **Maximum products per row/ Slider size**: 1–4 (default 3).

<figure><img src="https://2072184172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FD7nJPiqs3PWuRTtrh4pP%2Fuploads%2Fgit-blob-ab7f732746b7032afd8926c99b0f09a2f025d7c4%2Fpp-ty-multi-layout.png?alt=media" alt="Multiple product recommendations: Layout"><figcaption></figcaption></figure>

When you add a product recommendation widget, a **Banner** is added above it automatically.

## Banner

A Shopify-style banner. A block can have one banner, and it always stays at the top of the block.

<figure><img src="https://2072184172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FD7nJPiqs3PWuRTtrh4pP%2Fuploads%2Fgit-blob-6131d51add53b9607cfb1d1f4f201551bef636a9%2Fpp-ty-banner.png?alt=media" alt="Banner"><figcaption></figcaption></figure>

* **Banner type**: Information, Success, Warning or Critical.
* **Title** (default "Special offer") and **Description**.
* **Dismissible banner**: the customer can close it.
* **Collapsible banner**: the customer can collapse it.

## Text

<figure><img src="https://2072184172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FD7nJPiqs3PWuRTtrh4pP%2Fuploads%2Fgit-blob-228267ba9c8943db91403992055c2fce6d83df54%2Fpp-ty-text.png?alt=media" alt="Text"><figcaption></figcaption></figure>

* **Heading** and **Content**.
* **Alignment**: left, center or right.

## Image

<figure><img src="https://2072184172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FD7nJPiqs3PWuRTtrh4pP%2Fuploads%2Fgit-blob-16a69c12f3b2b1302c190e1a4d968d709b90f0d5%2Fpp-ty-image.png?alt=media" alt="Image"><figcaption></figcaption></figure>

* **Add files**: .jpg, .jpeg, .png, .svg or .gif, up to 20 MB.
* **Size** and **Alignment**.
* **Redirect to**: tick and enter a URL to make the image a link.

## Button

<figure><img src="https://2072184172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FD7nJPiqs3PWuRTtrh4pP%2Fuploads%2Fgit-blob-d73773dfe4e167b5876c88ae3d1cef9dee954067%2Fpp-ty-button.png?alt=media" alt="Button and Insert variables"><figcaption></figcaption></figure>

* **Content** (default "Click here").
* **Type**: Primary, Secondary or Link. **Appearance**: Default, Neutral or Critical.
* **Alignment**.
* **Redirect to**: the URL the button opens. **Insert variables** adds order details to the URL:

| Variable            | Value                                     |
| ------------------- | ----------------------------------------- |
| `{{checkoutToken}}` | A stable ID that represents the checkout. |
| `{{orderId}}`       | ID of the order that was placed.          |
| `{{orderNumber}}`   | The order's alpha-numeric identifier.     |
| `{{email}}`         | The customer's email address.             |

## Survey (Beta)

Ask customers questions on the Thank you page. Answers are saved in [Survey responses](/post-purchase-userguide/user-guides/survey-responses.md).

{% hint style="info" %}
Survey is a Beta feature. If you see **Interested in the Survey Beta Feature?**, click **Unlock now** to ask our support team for free early access.
{% endhint %}

<figure><img src="https://2072184172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FD7nJPiqs3PWuRTtrh4pP%2Fuploads%2Fgit-blob-13d331a76fa90d47005b4bb0dae25a940da9c143%2Fpp-ty-survey.png?alt=media" alt="Survey widget"><figcaption></figcaption></figure>

* **Add question** to add a question. Drag questions to reorder them.
* **Next button text** (default "Next") and **Submit button text** (default "Submit").
* **Show progress indicator**: shows "1/3" so customers know how many questions are left.

Click a question to edit it:

<figure><img src="https://2072184172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FD7nJPiqs3PWuRTtrh4pP%2Fuploads%2Fgit-blob-6413a37d7c9a7a06385ec852518497a3a16c76d0%2Fpp-ty-survey-question.png?alt=media" alt="Survey question settings"><figcaption></figcaption></figure>

* **Question** and **Description**.
* **Question type**: Multiple choice, Dropdown, Checkboxes, Short answer, Paragraph, Linear scale or Rating.
* **Require an answer**: the customer must answer before moving on.
* For choice questions: edit the options, **Add option**, and **Add 'Other' option** to let customers type their own answer.
* **Dropdown**: **Help text** (default "Choose a reason").
* **Linear scale**: the scale range and the **Left side label** and **Right side label**.
* **Rating**: the **Number of stars**.
* **Delete question** removes it.

To remove any widget, open it and click **Remove widget** at the bottom.
