LorisMenghi_AbandonedCartSpoki module
WhatsApp reminders for abandoned carts — works for registered and guest customers.
The module intercepts uncompleted carts and, after the delay configured in the admin panel, sends a payload to Spoki with customer data and cart summary so that a WhatsApp reminder is delivered. Registered users automatically receive the reminder after the admin-defined interval, while guests can enter their number and consent through a modal before the message is triggered.
- Compatible with Magento Open Source / Adobe Commerce 2.4.x.
- Requires a Spoki account with an approved WhatsApp template and an automation with Webhook/API trigger.
- Dedicated admin log with send history and links to cart/customer.
- Composer dependency:
lorismenghi/module-core.
User Guide
Recommended flow:
- In Spoki, configure the template and automation with Webhook trigger, then copy the URL and secret into Magento.
- Set the send delay and the maximum number of attempts to avoid spam.
- Use saved phone/email for registered customers; enable the guest modal to collect number and consent when needed.
- Each send is logged with HTTP status and cart data for potential retry or audit.
Installation Guide
Install via Composer:
composer require lorismenghi/module-abandoned-cart-spoki
bin/magento module:enable LorisMenghi_AbandonedCartSpoki
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush
In Stores → Configuration → Loris Menghi → Spoki Abandoned Cart set webhook, secret, send delay, maximum attempts, and the guest modal behavior (required/optional, consent text, default country prefix field).
Reference Manual
- Trigger: cart not converted after the configured delay; single send per session/cart.
- Data sent: phone, email (if available), name, cart value, link to cart or main product page, secret.
- Log: admin grid with HTTP result, payload, cart/customer ID, timestamp, resend action.
- Guest consent: optional modal with checkbox; the module can block sending if consent is missing.
- Multi-store: scope configurations (Default/Website/Store View) to manage languages and templates.
- Uninstall:
composer remove lorismenghi/module-abandoned-cart-spoki+bin/magento setup:upgrade+bin/magento cache:flush.