Description
Mautic self-hosted is a powerful email marketing system that you can use for free. This extension links Mautic and Opencart and creates a powerful e-commerce and marketing system. When used on a dedicated server or VPS Mautic can handle a few emails a day or thousands. Unlike some other mailing services you have no quotas and no monthly charge. You are only limited by your hosting setup.
Supercharge your online presence with Mautic and Opencart.
The module allows you to synchronize the accounts of opencart customers subscribed to the mailing list and Mautic contacts in both directions.
Features
- Manual secure export of OpenCart customers to Mautic on click*
- Automatically add Mautic contacts when customers subscribing in OpenCart.
- Automatically remove Mautic contacts when customers unsubscribing in OpenCart.
- Automatically update user data in both directions when data changes (From Mautic to OpenCart (When a contact changes), From OpenCart to Mautic (Add/Edit/Delete credentials and addresses by customer and administrator, Change subscription status))
- Custom field mappings for Mautic and OpenCart**
- Synchronized OpenCart users are assigned a Mautic contact_id
** Some fields, such as country, geo zones can only be synchronized one way - from OpenCart to Mautic, but not back.
Screenshots
- Available on Google Drive
- OpenCart 3.x
- PHP >= 8.1
Admin
- https://mautic-integration.shtt.blog/admin/ (auto login)
- Install the extension via the standard extension installation section.
- Add this code into your system/startup.php after already existed "Autoloader".
- Go to the modules section and install this module.
- To authorize a module in Mautic, you need to fill in 3 fields in the module. "Base url", "Client ID" and "Client secret". Base url is a link to your Mautic panel. The remaining fields can be obtained when creating new API credentials.
- You can create new API instance in your Mautic dashboard Settings > Integrations > API Credentials.
- In Mautic settings, specify the maximum session lifetime. Because Mautic has a sneaky session reset bug. You can set the session lifetime in Settings > Configuration > API Settings. Recommended values (Access token lifetime (in minutes) - 999999, Refresh token lifetime (in days) - 32565)
- After filling in these fields, save the settings and log in
- Go to the Fields mapping section to get the currently available fields from Mautic and set up the mapping of the fields that will be synced in both directions.
- Configure and save the settings.
- Sync contacts.
- In the "OpenCart events" tab, you can select OpenCart events that will send changed user data to Mautic.
- In the "Mautic webhooks" tab, you can configure Mautic events that will send data to OpenCart.
- To create a webhook, go to the Mautic dashboard Settings > Integrations > Webhooks.
- Copy the Secret from Mautic to OpenCart.
- Copy the link to the event handler from OpenCart to Mautic, after replacing the webhookCode with the one you selected. For example, onContactUpdated.
- In the Mautic dashboard, in the Webhook Events field, select "Contact Updated Event"
- That's it, the setup is complete.
License
- The license applies to one store / multi-store.
If the number of people willing to buy and buyers exceeds 6 people, I will be able to start working on a new version with new features. So I ask everyone who wants to sign up.
- Adding UTM tags to Mautic when a user logs in.
- Adding custom events and webhooks with custom handlers.
- New mode of operation - support for the "Do not disturb" list for all clients not subscribed to the mailing list.
- Your wishes.
- mautic_integration_v1.1.1_oc_v3.x.ocmod.zip for version 3.x a99ced8fb93f332c7468ac6219f040f8
- Custom templates Pro - a module that replaces tpl / twig templates for any sections and modules, depending on the conditions.
- Admin menu manager - the module allows you to manage the main menu and adds the ability to create your own top menu.
- [PMP] Products module pack - a module for displaying products. More than 43 product selection options.
Change log
1.1.1
- Fix mautic_contact_id by default to null
- Fix message output
- Added uninstall function
- Added detailed output in case of unsuccessful customer export
- Added numbers for step by step
- Reworked the entire code and interface
- Added safe export of contacts to Mautic
- Fixed a bug with resetting mapped fields on initial save.
- Fixed several bugs.
- Release