My Cart 0

User Manual - Abandoned Cart Email

 

 

Installing Abandoned Cart Email

Command Line Installation

  1. Backup your web directory and store database
  2. Download the Abandoned Cart Email installation package
  3. Upload the contents of the Abandoned Cart Email installation package to your store root directory
  4. In the SSH console of your server, navigate to your store root folder:
cd path_to_the_store_root_folder

run:

php bin/magento module:enable Aheadworks_Acr

then:

php bin/magento setup:upgrade

after:

php bin/magento setup:static-content:deploy -f

     5. Flush store cache; log out from the backend and log in again

Make sure the installation is done from the FTP Administrator account. Otherwise, set 775 permissions to the store root directory after the extension is deployed.

Composer Installation

  1. If you are installing an extension from Aheadworks for the first time, you need to add our composer repository to your Magento store:

Login to your ssh console and navigate to your store folder:

cd path_to_the_store_root_folder

Run the following command:

composer config repositories.aheadworks composer https://dist.aheadworks.com/

On successful execution of the command you will be able to use the composer to install the extensions.

To install the extension:

     2. Login to your ssh console and navigate to your store folder:

cd path_to_the_store_root_folder

     3. Run the following command to install the latest version of the extension:

composer require aheadworks/aheadworks/module-acr

if you need to install a specific version, run this command:

composer require aheadworks/aheadworks/module-acr:<version>

 

Specify the version of the extension in <version>

When prompted, enter Public Key (Username) and Private Key (Password):

Public Key (Username) and Private Key (Password) | Abandoned Cart Email for Magento 2

Both Public Key (Username) and Private Key (Password) can be found in My Projects and Licenses in your personal account on our site:

     4. Enable the extension:

php -f bin/magento module:enable Aheadworks_Acr

Next, register the extension:

bin/magento setup:upgrade

Recompile your Magento store if you are in the Production mode:

bin/magento setup:di:compile

To verify that the extension is enabled, run this command:

bin/magento module:status

Clean store cache, by running the following command:

bin/magento cache:clean

Log out and Log in the backend again.

To upgrade the extension:

     5. To update or upgrade an extension:

Download the updated extension file. Take note of the module-name and version. Export the contents to your Magento root.

If a composer package exists for the extension, run one of the following.

Update per module name:

composer update aheadworks/module-acr

Updater per version:

composer require aheadworks/module-acr:<version>

Run the following commands to upgrade, deploy, and clean the cache.

php bin/magento setup:upgrade --keep-generated 
php bin/magento setup:static-content:deploy
php bin/magento cache:clean

 

Set up cron

If you have already configured cron jobs for your Magento installation then you can skip this step. Read the following instructions on setting cron job for your Magento store: Magento user guide.

Generally, it would be enough to run in SSH console of your server: 

crontab -e
And insert the following line:  
*/3 * * * * php -c <ini-file-path> <your Magento install dir>/bin/magento cron:run
*/3 * * * * php -c <ini-file-path> <your Magento install dir>/update/cron.php
*/3 * * * * php -c <ini-file-path> <your Magento install dir>/bin/magento setup:cron:run
Don't forget to confirm the saving request when exit.

 

 

Uninstalling Abandoned Cart Email

Since Magento introduced declarative Database you need to be very carefull when uninstalling or disabling the module.

NOTE: Please be very careful when uninstalling/disabling this module. This module uses a declarative DB scheme. Once the module is uninstalled the DB tables will be lost.

Manual Removal

  1. Run command: 

bin/magento module:uninstall --non-composer Aheadworks_Acr

It will remove data patches including sample data so you can install it again in future

2. Disable extension: 

bin/magento module:disable Aheadworks_Acr

3. Run setup upgrade: 

php bin/magento setup:upgrade

It will remove module related tables from the system

4. Remove module files manually: 

app/code/Aheadworks/Acr

Automatic Removal (via Composer)

1) Disable the module by executing the following commands:
 
php bin/magento module:uninstall Aheadworks_Acr

 

 

 

Compatibility

Module Version 

Magento Version 

1.1.4  and earlier versions

2.3.ĐĄ - 2.3.6

2.4.0 - 2.4.3

As of version 1.1.5

2.3.7-p3+

2.4.0 - 2.4.4

As of version 1.1.6

2.4.4 - 2.4.6

As of version 1.1.8

2.4.5 - 2.4.7

As of version 1.1.9

2.4.6 - 2.4.8

The PHP version depends on your current Magento version. Please, refer to your Magento version release notes.

 

 

 

Introducing Abandoned Cart Email

Extension Overview

The Abandoned Cart Email extension for Magento 2 provides intuitive functionality to return customers to your store via scheduled automatic mailing. Merchants can manage abandoned carts effectively, enable extra promotions, and monitor return campaigns via detailed logs and reports.

Key Features

  • Automated recovery emails for registered and guest customers

  • Audience segmentation based on cart, product, and store view conditions

  • Sequential email chains with individual templates and schedules

  • Restore Cart link for seamless cross-device cart recovery

  • Automatic unique coupon generation via Magento Cart Price Rules

  • Integration with Automatic Related Products for recommendation widgets

Integrations 

 

Using Magento 2 Abandoned Cart Email extension

Extension Configuration

To configure the module, go to Stores > Configuration > AHEADWORKS EXTENSIONS > Abandoned Cart Reminder.

General Settings

In the General Settings section, configure the core behavior of the extension:

  • Sender – select the email identity used for sending reminder notifications; 

  • Test Email Recipient – specify the address where test versions of templates will be sent; 

  • Enable Test Mode – set to Yes to redirect all outgoing reminder emails to the test recipient address; 

Mail Log

  • Keep Emails For, days – define the number of days reminder records are stored in the Mail Log before being automatically cleaned

Creating Abandoned Cart Reminders Rules Management 

To manage your recovery campaigns, go to Marketing > Abandoned Cart Reminder by Aheadworks > Rules

Carts are assigned an 'Abandoned' status after one hour of inactivity since the last update. The system calculates the mailing time using the following formula: (1 hour since last update) + (Delay time defined in the rule) = Sending Time.

 

The Rules grid supports built-in filtering and search options to quickly locate specific campaigns: 

  • ID – unique rule identifier; 

  • Store View – the scope where the rule applies; 

  • Status – indicates if the rule is currently Active; 

  • Rule name – internal name of the rule.

Creating a Rule 

Navigate to Marketing > Abandoned Cart Reminder by Aheadworks > Rules. Click the "Add New Rule" button to open the configuration interface.

General Settings

In the "Specify rule name, subject and content" section, define the basic parameters and target audience for your reminder:

  • Enable – Set this toggle to Yes to activate the rule immediately after saving.

  • Name – Enter a unique internal title for the rule. This name helps you identify the rule in the management grid.

  • Store View – Select the specific store views where this reminder will be active. You can select All Store Views or target individual stores.

  • Customer Groups – Choose which customer segments should receive the notification. 

 

 

Coupon

This section allows you to configure automatic coupon generation for customers who receive the reminder email. Offering a personalized discount is a highly effective way to motivate users to return and complete their checkout.

  • Send Coupon – Set to Yes to enable the discount functionality for the current rule. Once activated, the following configuration fields will appear:

  • Cart Price Rule – Select a predefined rule from your store (Marketing > Cart Price Rules) that will serve as a template for the generated coupons.

Note: Ensure the selected rule has Coupon = Specific Coupon and Use Auto Generation = Yes in its own settings to work correctly with this extension.

  • Code Length – Specify the number of characters for the generated coupon code. This count excludes the prefix, suffix, and separators.

  • Code Format – Choose the character set for the code from the dropdown menu.

  • Code Prefix – Enter a specific string to appear at the beginning of every generated code. This is useful for identifying which campaign the sale came from.

  • Code Suffix – Enter a specific string to appear at the end of the generated code.

  • Dash Every X Characters – Specify how often a dash should be inserted to improve code readability. 

Cart Conditions

The Cart Conditions section provides advanced filtering options to control when the reminder rule should be triggered. By setting specific conditions, you can ensure that customers receive highly relevant messages based on the contents of their abandoned shopping carts.

To set a condition, follow these steps:

  1. Define the Logic: Choose between ALL or ANY and TRUE or FALSE to establish the global logic for your rule set.

  2. Select a Category: Click the green "+" icon to open the dropdown menu and select the type of attribute you want to target.

  3. Specify the Value: Once a category is selected, click on the bold links (e.g., "is", "...") to define the operator and the specific value for the condition.

Cancel Conditions

The Cancel Conditions section allows you to define specific scenarios where the extension should automatically stop sending reminder emails. This ensures that customers do not receive irrelevant or annoying messages after they have already taken action or if the products are no longer available.

  • Stop emails if – Select one or multiple conditions from the list to trigger the cancellation of the email sequence:

    • Cart was restored: Stops the campaign as soon as the customer returns to the store and updates their cart or completes the purchase.

    • Any product in cart is unavailable: Cancels the reminder if at least one item from the abandoned cart goes out of stock.

    • Entire cart is unavailable: Stops the emails only if all items in the abandoned cart are no longer available for purchase.

    • Products that match conditions are unavailable: Specifically targets the cancellation based on the availability of items that met your initial Cart Conditions.

Google Analytics: Campaign Settings

Use this section to add UTM parameters to all links included in your reminder emails. This enables precise tracking of your recovery campaign performance within Google Analytics or other tracking tools.

  • utm_source – Identify the marketing channel or platform .

  • utm_medium – Describe the type of marketing communication.

  • utm_campaign – Specify the overall campaign name or purpose.

 

 

Email Chain

The Email Chain section allows you to build a multi-step sequence of reminders. You can schedule several emails to be sent at different intervals to maximize the chances of cart recovery.

  • Template – Select the transactional email template for this specific step. Click the Preview link to see how the email will appear to your customers.

  • Send after – Define the exact delay for the reminder. You can set the timing in days, hours, and minutes from the moment the cart was abandoned.

  • Send coupon – Enable this toggle to include a unique discount code in this specific email of the chain.
    Note: This functionality relies on the settings configured in the Coupon section of the rule.

  • utm_content / utm_term – Enter specific UTM tags for this individual email to differentiate it from others in the chain within your analytics reports.

  • Add email – Click this button to create additional steps in your sequence (e.g., a second reminder after 48 hours).

 

Test emails

Before making your campaign live, use this section to verify the appearance and functionality of your emails.

  • Test email address – Enter an email address where the test messages should be delivered.

  • Send test emails – Click this button to trigger the entire chain.
    Important: When sending test emails, the "Send after" parameters are ignored. All emails in the chain will be sent to the specified address simultaneously for quick review.

 

Displaying Related Products

Starting from version 1.1.0, the extension allows you to display cross-sell or up-sell items directly within the abandoned cart email. This is achieved through native integration with the Aheadworks Automatic Related Products extension.

Configuration via Widgets

The related product block is inserted into the email body as a widget. To set it up:

  1. Navigate to Content > Elements > Widgets.

  2. Create a new widget and bind it to a specific Automatic Related Products rule.

  3. Add the widget to your email template using one of the following methods:

    • Insert Widget: Use the standard editor functionality to select and place the block.

    • Variable: Use a manual variable insertion (where rule_id is the ID of your specific related products rule).

 

Sent Email View

The abandoned cart email looks in the following way:

Sent Email View | Abandoned Cart Email for Magento 2

The layout is created with the built-in content settings and enabled integration with Aheadworks Automatic Related Products.

 

Working with Mail Log

Once the rules have been configured you can track the extension performance under the Mail Log section found at Marketing > Abandoned Cart Reminder by Aheadworks > Mail Log.

Mail Log allows you to manually manage scheduled email statuses either one-by-one or en masse. To do this, storeowner selects required emails and in the Action column selects an action:

  • Preview;

  • Cancel;

  • Delete;

  • Send now.

 

 

Unsubscribed

To monitor users who have opted out of receiving your recovery emails, navigate to Marketing > Abandoned Cart Reminder by Aheadworks > Unsubscribed.

This grid provides a clear overview of customers who clicked the unsubscribe link in your automated emails, ensuring your marketing efforts remain compliant with privacy regulations and that you don't send unwanted messages.

Unsubscribed Grid Overview

The grid contains the following key columns for tracking:

  • Customer Email – Displays the email address of the user who opted out.

  • Customer Name – Shows the full name associated with the customer's account.

  • Status – Indicates the current subscription status.

  • Unsubscribed At – Provides the exact date and timestamp when the user opted out.

 

Abandoned Cart Email | Abandoned Cart Email for Magento 2

Product Page

Write Your Own Review

Already used our product?

We would appreciate your feedback. Please, leave a review.

Only registered users can write reviews. Please Sign in or create an account
Report incorrect information

Still Have Questions?

Our customer care team is here for you!

Contact Us