Download the PHP package mailcampaigns/shopware-6-abandoned-cart-plugin without Composer
On this page you can find all versions of the php package mailcampaigns/shopware-6-abandoned-cart-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mailcampaigns/shopware-6-abandoned-cart-plugin
More information about mailcampaigns/shopware-6-abandoned-cart-plugin
Files in mailcampaigns/shopware-6-abandoned-cart-plugin
Package shopware-6-abandoned-cart-plugin
Short Description A Shopware 6 plugin for "abandoned" carts.
License MIT
Informations about the package shopware-6-abandoned-cart-plugin
đ Abandoned Cart Plugin for Shopware 6 | MailCampaigns
This Shopware 6 plugin adds an /abandoned-cart
API endpoint that allows you to retrieve shopping carts that your customers have left behind.
âšī¸ Note: By default, Shopware stores shopping carts in the SQL database. For high-throughput scenarios, Shopware supports storing carts in Redis instead of SQL. If your Shopware installation is configured to use Redis for cart storage, this plugin may not be compatible, as it expects carts to be stored in the database. Learn more: Shopware Cart Storage
After a configured number of seconds, a cart can be considered abandoned.
It only returns carts of active known customers that have not been converted to an order yet.
Use this data to send automated cart recovery reminders to increase your conversions.
đ¯ Features
- đ Adds
/abandoned-cart
API endpoint - đ¤ Only returns known, non-order customers
- âąī¸ Configurable timeout in seconds (default: 3600)
- đ ī¸ Compatible with scheduled tasks & message queue
- â Supports Shopware 6.4 â 6.6
đī¸ Supported Shopware Versions
Shopware Version | Plugin Version | Download |
---|---|---|
6.4 | 1.7.1 | đ View Release |
6.5 | 3.0.8 | đ View Release |
6.6 | 3.0.8 | đ View Release |
â Note: Plugin version
3.0.8
supports both Shopware6.5
and6.6
.
đ Getting Started
You can either upload the .zip
manually or install via Composer.
đ Composer Installation
đ Activate Plugin
Option 1 (Admin panel):
Go to Extensions > My extensions
and activate the plugin.
Option 2 (CLI):
đ§ Configuration
After activating, configure the cart timeout setting:
"Number of seconds after which a cart is considered abandoned" (default:
3600
)
Make sure this timeout is less than than Shopware's own cart expiration setting:
Time in minutes for a customer to finalize a transaction
Make sure to give the API user the necessary permissions to access the /abandoned-cart
endpoint.
abandoned_cart:read
permission to read abandoned carts
đ§ Abandoned carts are generated using scheduled tasks and depend on the message queue.
âī¸ Example API Request
đ Retrieve Abandoned Carts
Optional query parameters:
limit
(default: 10)page
(default: 1)
Example response:
đ Retrieve a Specific Abandoned Cart
You can retrieve details of a specific abandoned cart using its unique {id}
.
Endpoint:
Method:
- GET: Retrieve details of a specific abandoned cart.
đĄ Events
The plugin dispatches several events that you can listen to in your custom code:
AfterCartMarkedAsAbandonedEvent
Dispatched when a cart is marked as abandoned. Contains:
AbandonedCartEntity
: Newly created abandoned cart entityarray
: Original Shopware cart dataContext
: Shopware context
AfterAbandonedCartUpdatedEvent
Dispatched when an abandoned cart is updated. Contains:
AbandonedCartEntity
: Updated abandoned cart entityarray
: Updated Shopware cart dataContext
: Shopware context
đĻ Release Overview
Plugin Version | Compatible Shopware Versions |
---|---|
1.7.1 | 6.4 |
2.0.0 | 6.5 |
3.0.8 | 6.5, 6.6 |
đ¤ Contributing
Pull requests, issues, and feedback are welcome.
For support, contact us at [email protected]
đ More
Check all releases:
đ https://github.com/mailcampaigns/shopware-6-abandoned-cart-plugin/releases
All versions of shopware-6-abandoned-cart-plugin with dependencies
ext-json Version *
shopware/core Version 6.5.* || 6.6.*