# Installation

Install the extension via **Extensions** > **My extensions**.

<figure><img src="https://747417571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYYTKTU6awfIFbvBGavuX%2Fuploads%2FSceHl3bv4S4wEknylW9i%2Fimage.png?alt=media&#x26;token=a29f01c5-0f84-4909-847f-454dbb4e60d5" alt=""><figcaption></figcaption></figure>

Adjust the fields as described below via **My extensions** > **Abandoned cart reminder** > **Configure**.

### General settings <a href="#general-settings" id="general-settings"></a>

General properties provide basic controls, such as enabling or disabling the extension.

| Field          | Type   | Description                                                                                                                                                                                                                                                                                                                                            |
| -------------- | ------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Active         | Slider | Use the slider to enable the extension for specific sales channels.                                                                                                                                                                                                                                                                                    |
| Scheduled task | Slider | <p>Decide whether abandoned carts should be processed via a <strong>scheduled task</strong>. Instead of the scheduled task, you can also use a cron job with: <code>./bin/console prems:abandoned-cart:process</code><br>This setting must be enabled/disabled for <strong>all sales channels</strong> and cannot be configured per sales channel.</p> |
| Log level      | Select | Choose whether only errors should be written to the log file, or also informational messages.                                                                                                                                                                                                                                                          |

### Email notifications

| Field                                                   | Type          | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ------------------------------------------------------- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Enable checkbox to subscribe to e-mail notifications    | Slider        | Customers can choose via checkbox whether they want to receive abandoned cart emails. If this option is disabled, all customers will receive email notifications automatically.                                                                                                                                                                                                                                                                                                                                      |
| Subscribe checkbox enabled by default for new customers | Slider        | If the previous option is enabled, you can define whether the checkbox is enabled by default.                                                                                                                                                                                                                                                                                                                                                                                                                        |
| Unsubscribe link in email notification                  | Slider        | Decide whether the email should automatically include an unsubscribe link.                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| Configured Notification E-Mails                         | List + button | <p>Defines after how many hours an abandoned cart reminder email is sent. You can configure multiple reminders. <br></p><p>Automatic e-mail reminder for different times is possible with the paid plan.<br><br>Currently, it's not possible to define a different email template for each reminder.<br>Instead the email template content can be changed depending on the number of sent notification:</p><ul><li><pre class="language-twig"><code class="lang-twig">{% if abandonedCart.numberNotification == 1 %} |

```
...
```

{% endif %} </code></pre></li><li><pre class="language-twig"><code class="lang-twig">{% if abandonedCart.numberNotification == 2 %}
...
{% endif %} </code></pre></li></ul> |

### Cleanup

Define how long abandoned carts should be stored and whether they should be deleted.

| Field                               | Type          | Description                                                                                                           |
| ----------------------------------- | ------------- | --------------------------------------------------------------------------------------------------------------------- |
| Delete old abandoned carts          | Slider        | If enabled, abandoned carts are deleted after a certain time. This helps keep the database from growing indefinitely. |
| Delete abandoned carts after n days | Numeric input | Define after how many days an abandoned cart should be deleted.                                                       |

### Statistics

To see detailed stats (recovered orders, total abandoned orders, and products most often involved), click **Show statistics** or navigate to **Marketing > Abandoned carts**.


---

# 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.premsoft.de/en/plugins/abandoned-cart-reminder/installation.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.
