Requirements
- Paymenter 1.x.
- The Paymenter cron job, which runs
schedule:runevery minute. Abandoned Carts looks for carts to remind every 15 minutes through it. - Working email in Paymenter.
1. Upload the extension
From the admin panel
- Go to Extensions → Available Extensions and click Upload Extension.
- Choose the zip you downloaded and upload it.
- Open the Ready to Install tab and click Install next to AbandonedCart.
Over SFTP
-
Extract the zip.
-
Upload the
AbandonedCartfolder to the extensions folder of Paymenter:/var/www/paymenter/extensions/Others/AbandonedCart -
Give the web server user ownership of the files:
chown -R www-data:www-data /var/www/paymenter/extensions/Others/AbandonedCart -
Go to Extensions → Available Extensions, open the Ready to Install tab and click Install next to AbandonedCart.
2. Enable the extension
- Go to Extensions → Extensions and edit AbandonedCart.
- Turn on Enabled and save.
The extension creates its database table when you enable it. A new Abandoned carts group with a Reminders page appears in the admin menu.
3. Check the settings
The settings are on the same page, under Extension Settings. The defaults work as they are:
- The first reminder goes out 60 minutes after the last change to a cart.
- Only one reminder is sent per cart. Turn on Send a second reminder for a follow-up after 24 hours.
- Carts older than 7 days are left alone.
See Settings for every option.
4. Test it
-
Log in to your client area with a test account and add a product to the cart. Do not check out.
-
Wait for the delay in Wait this many minutes before the first reminder. For a quick test, set it to
1first. -
Run the reminder command by hand instead of waiting for the next 15 minute run:
cd /var/www/paymenter php artisan abandonedcart:sendThe command prints
Reminders sent: 1. -
Open the email and click the button. Your cart opens with the products still in it.
-
Check Abandoned carts → Reminders. The reminder now has the status clicked.