# Abandoned Cart Add-on

The **SpurtCommerce Abandoned Cart Add-on** helps store administrators recover lost sales by tracking and managing abandoned carts. This plugin enables automated follow-up emails to remind customers of their pending purchases, encouraging them to complete their orders and helping to boost the store’s conversion rate.

**Features:**

* **Automated Cart Recovery Emails**: Send reminders to customers about items left in their carts, prompting them to return and complete the purchase.
* **Customizable Email Templates**: Personalize follow-up emails to align with the store’s brand and messaging.
* **Cart Tracking Dashboard**: View and monitor abandoned cart activity, including customer details, cart contents, and recovery status.
* **Conversion Analytics**: Track the effectiveness of cart recovery efforts with detailed analytics on conversions and recovered revenue.

### <mark style="color:blue;">Frontend Setup – Admin Panel:</mark>

Follow these steps to set up the front end for the Abandoned Cart addon in Spurtcommerce Admin Panel.&#x20;

#### Step 1: Install the Addon:

Locate the Spurtcommerce addon package, typically named admin.addOns.zip.

Extract the zip file and copy the Abandoned Cart folder into the addOns folder in your project.

projectFolder -> addOns

After this step, the structure should look like:

projectFolder -> addOns ->Marketplace->Product Configuration-> Abandoned Cart

Once completed, proceed to update the configuration.

&#x20;

#### Step 2: Update the Configuration

After installing the addon, update the add-ons.constant.ts file to include the necessary plugins:

```
// --------------------- Abondoned--------------------- //
import * as abondoned from './Marketplace/Manage Sales/abandoned/abandoned.constant'
// Components Path
export const abondonedComponents = abondoned.components;
// Route Path
export const abondonedRoutes = abondoned.routes;

```

If you wish to uninstall or remove the Abandoned Cart addon, replace the component paths and route paths with an empty array.

```
// --------------------- Abondoned--------------------- //
import * as abondoned from './Marketplace/Manage Sales/abandoned/abandoned.constant'
// Components Path
export const abondonedComponents = [];
// Route Path
export const abondonedRoutes = [];

```

#### Step 3: Run the Application:

To run the application with the integrated Abandoned Cart addon, use the following command:

```
$ npm run large-serve
```

After executing this command, the addon will be available on Spurtcommerce on the designated page.

#### Step 4: Build the Application

Finally, to prepare the application for deployment, run the build command:

```
$ npm run large-build
```

The latest build files will then be ready to deploy to the server.


---

# 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.spurtcommerce.com/addons/sales-related-add-ons/abandoned-cart-add-on.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.
