Email abandoned cart with all abandoned items

Your software
My Mautic version is: 4.1.1
My PHP version is: 7.4.3
My Database type and version is: 10.3.34-MariaDB-0ubuntu0.20.04.1

Your problem
My problem is: I was able to create a list of users who have abandoned carts, but how could I email them the details of the abandoned products? How could Mautic have that information?

These errors are showing in the log: -

Steps I have tried to fix the problem: I’ve my own ecommerce, I’m not using Wordpress.

We’re storing the cart items in json format in a custom field, then parsing it via a twig template…

@gary.harrison for this functionality is it needed to install a special plugin ? are those twig templates available by default ?

You need this plugin - Twig Templates for Mautic – Mautic Extendee

Then we created a custom field for the contact and populate that field in with JSON based on the items in the cart. After we send the email via a campaign, we clear the field to remove it from the segment. Works well.

1 Like

@gary.harrison - Thank you my friend !
It looks to me that Mautic it’s a great product but with small documentation.

Please tell me that plugin has enough documentation to be able to complete this job myself ?

I will be happy to have that functionality as well.

Can it be done with sending a block of html per user? Or have mautic request the block of html per email sent?

Hello everyone,

I believe this is a crucial functionality, and @gary.harrison has done an excellent job solving it. A more detailed post explaining the steps would be incredibly valuable. I’m happy to contribute by writing it, but I’m not sure where the best place to publish it would be. Any suggestions?