Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
description: Learn how to configure the abandoned cart notification.
---

# Configuring Abandoned Cart Notification

{% hint style="info" %}
Available from Umbraco Commerce 16.1.0
{% endhint %}

## Abandoned Cart Recurring Background Job

The abandoned cart recurring background job automatically sends reminder emails to customers about items left in their shopping carts. You can configure it using the steps below:
- Go to Store Settings in your admin dashboard.
- Select the store you want to configure.
- Scroll down to the Notification Settings section.
- Choose your Abandoned Cart Email Template. If the email template is not set, no notification will be sent but the webhooks can still be fired.
- Set the period of minutes that a cart must be inactive before it is deemed to be abandoned. If the value is 0, the abandoned cart detection is disabled.
- Enter the landing page url for customers to be redirected to when they click on the links in the abandoned cart email.

Check warning on line 19 in 16/umbraco-commerce/how-to-guides/configuring-abandoned-cart-notification.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐢 [UmbracoDocs.Names] We prefer 'URL' over 'url' Raw Output: {"message": "[UmbracoDocs.Names] We prefer 'URL' over 'url'", "location": {"path": "16/umbraco-commerce/how-to-guides/configuring-abandoned-cart-notification.md", "range": {"start": {"line": 19, "column": 26}}}, "severity": "WARNING"}
- Click the Save button to apply your changes.

![store notification settings](images/configuring-abandoned-cart-notification/store-notification-settings.png)


The advanced settings can be configured in the `appsettings.json`

```json
{
"Umbraco" : {
"Commerce": {
// Optional settings
"AbandonedCartNotifierService": {
"FirstRunTime": "",
"Period": "1.00:00:00",
"NotificationBatchSize": 20
}
}
}
}
```

The `appsettings.json` section supports the following keys.

| Key | Description |
| -- | -- |
| `FirstRunTime` | The time to first run the scheduled cleanup task, in crontab format. If empty, runs imediately on app startup. |
| `Period` | How often to run the task, in timespan format. Defaults to every 24 hours. |
| `NotificationBatchSize` | The number of abandoned carts processed each time the job is run. |

## Abandoned Cart Webhook
A new webhook called Cart Abandoned has been added. It is triggered when the Abandoned Cart Recurring Background Job detects any abandoned carts. The POST payload will look like this:
```json
{
"orderIds": [
"8b2cfad6-a0eb-4b87-ad86-019768ad1308",
"95aa34bd-8a01-45a4-9492-019768ac6c61",
"db9a2cc5-621a-40a3-9fab-019768a79d0a"
]
}
```

## Abandoned Cart Conversion Rates Widget

The Abandoned Cart Conversion Rates widget shows how effectively your store recovers lost sales by tracking the percentage of notified abandoned carts that turn into completed purchases.

Check warning on line 64 in 16/umbraco-commerce/how-to-guides/configuring-abandoned-cart-notification.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐢 [UmbracoDocs.SentenceLength] Write shorter sentences (less than 25 words). Raw Output: {"message": "[UmbracoDocs.SentenceLength] Write shorter sentences (less than 25 words).", "location": {"path": "16/umbraco-commerce/how-to-guides/configuring-abandoned-cart-notification.md", "range": {"start": {"line": 64, "column": 1}}}, "severity": "WARNING"}

![Abandoned cart conversion rates widget](images/configuring-abandoned-cart-notification/abandoned-cart-conversion-rates-widget.png)



Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading