> For the complete documentation index, see [llms.txt](https://docs.goaffpro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.goaffpro.com/affiliate-portal-customization/toolbars/setup-checkout-blocker.md).

# Setup Checkout Blocker

**GoAffPro** provides you with the option to set up the checkout blocker in your store.

To set up the checkout blocker in your store, go to the **Toolbars** section in the **Look and Feel** tab of the GoAffPro admin panel.

<figure><img src="/files/IZJF78P186iHZ0hCwsaX" alt=""><figcaption><p>Look and Feel > Toolbars</p></figcaption></figure>

Here, go to the Checkout blocker section.

<figure><img src="/files/qBN796qDySc1RZdHZSR4" alt=""><figcaption><p>Checkout blocker</p></figcaption></figure>

Now, enable the toggle.

<figure><img src="/files/ODFlMBOwz63AvBX1zQOy" alt=""><figcaption><p>Enable the toggle</p></figcaption></figure>

Next, click on **Configure selectors**.

<figure><img src="/files/ixMfPKn3M90XBDO9WBQt" alt=""><figcaption><p>Click on Configure selectors</p></figcaption></figure>

This will open up the Checkout Button to block window.

<figure><img src="/files/6PcCOh615Z7WTTE0Efjb" alt=""><figcaption><p>Checkout Button to block</p></figcaption></figure>

Here, click on **+ Add selector**.

<figure><img src="/files/jknnkFzbnAPvbCVsbnHx" alt=""><figcaption><p>Click on + Add selector</p></figcaption></figure>

After this, you can set the CSS selector and action. Finally, click on **Submit**.

<figure><img src="/files/EhHoMyhXtHtEOlp4rkOV" alt=""><figcaption><p>Set the CSS selector &#x26; action > Click on Submit</p></figcaption></figure>

This will prevent customers from checking out unless they use the affiliate's referral link to visit your store.&#x20;

<figure><img src="/files/7ZXR3slexNMIhZyKxChx" alt=""><figcaption></figcaption></figure>

{% embed url="<https://youtu.be/xs8R_-6zu5k>" %}
Setup Checkout Blocker
{% endembed %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.goaffpro.com/affiliate-portal-customization/toolbars/setup-checkout-blocker.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
