# Add to Cart Redirect Setting

**Add to Cart Redirect Settings**

<figure><img src="/files/iXrXPKpdnqwiK3hixMBz" alt=""><figcaption></figcaption></figure>

* **Add to Cart Redirection:** Enable redirection for add to cart button from here.
* **Add to Cart Redirection for Specific Customer Groups:** Select customer groups for which you want to enable add to cart redirection.
* **Add to Cart Redirection On:** Select either CMS Pages or Custom URL to redirect users after registration. Here we have selected Custom path for redirection after add to cart.

**Note –** Here, the redirection field provides only 2 options – CMS page and Custom URL. The third-party URL option is not applicable for Add to Cart Redirection.

* **Custom Path:** Enter the URL of a custom path without domain name to redirect users.


---

# 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://docs.magecomp.com/magento-2-custom-redirect-extension/add-to-cart-redirect-setting.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.
