mailcampaigns / shopware-6-abandoned-cart-plugin
A Shopware 6 plugin for "abandoned" carts.
Installs: 2 016
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 1
Open Issues: 0
Type:shopware-platform-plugin
Requires
- php: ~8.1.0 || ~8.2.0
- ext-json: *
- shopware/core: 6.5.*
README
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.
Getting started
Composer
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 that, run this command so Shopware knows about its existence:
bin/console plugin:refresh
Activate 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
Configuration
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.
Note: Abandoned carts are generated using scheduled tasks and therefore depend on the message queue.