A Shopware 6 plugin for "abandoned" carts.
This Shopware 6 plugin allows you to automatically mark carts as "abandoned" after a configured number of seconds. Currently, the "abandoned" carts are only available through the custom /abandoned-cart API endpoints.
This plugin is currently only available as a Composer package and can be installed with the following command:
$ composer require "mailcampaigns/shopware-6-abandoned-cart-plugin"
After installation, this plugin still needs to be activated. This can be done via the Admin panel (Extensions > My extensions) or by running the following command:
$ bin/console plugin:install --activate MailCampaignsAbandonedCart
To determine when a cart can be considered "abandoned" you can configure this after activating the plugin. The value you enter is the number of seconds (default 3600) after a cart is created or updated.