Overview
Good to know: This plugin has been developed by a third party, write to contact@opencartspecialist.com for support.
In this tutorial, you'll learn how to set up the plugin to seamlessly transfer data between your OpenCart store and your Brevo account. With the integration, you'll be able to:
- Synchronize opt-in customers and their data upon standard registration and checkout registration
- Map OpenCart customer default fields with Brevo contact attributes
- Easily create an abandoned cart workflow within Brevo as cart data is automatically transferred
- Improve your deliverability by sending transactional emails through Brevo SMTP
- Override OpenCart notification emails and use a template created with Brevo drag & drop responsive design email builder
Before getting started
You will need to gather the following information prior to installation and use:
- Brevo account credentials. If you don't have one, sign up for free.
- Brevo API v3 key following the instructions here.
- OpenCart website admin panel access
To utilize all extension features, please ensure that your Brevo account has been validated and you are able to send emails from the Brevo Campaigns and Transactional platforms.
Installing the extension
- Download the Brevo extension from the OpenCart Marketplace.
- Unzip the installation archive to a folder on your computer
- Download and install the FileZilla Client
- Log in to your cPanel
- Click on FTP Accounts cPanel FTP Accounts
- In the "Add FTP Account" form fill in a username and password and click "Create FTP Account"
Next, navigate to your store admin then click on Extensions > Modules > Brevo > Install. Enter your Brevo API v3 key then Save.
Now that you’ve successfully connected your OpenCart store with your Brevo account, you can sync your contacts with Brevo.
Synchronizing your contacts
Good to know: Only opt-in contacts will be added to your Brevo account.
1. Enabling contact synchronization
Go to the Contacts Manager tab.
Once you reach this tab, you’re presented with a number of options for synchronizing your contacts. Let's go through them step by step. For the first option "Use Brevo to manage your contacts?", choose Yes to automatically synchronize your new subscribers.
All the lists on your Brevo account will be displayed, check the one(s) where your want your subscribers to be added to.
Orders and their data will also be automatically synchronized to your Brevo account as transactional attributes:
- ORDER_ID > ID of the order
- ORDER_DATE > date of the order
- ORDER_PRICE > amount of the order
2. Mapping your contact attributes
For the second option "Enable Attribute Mapping?", choose Yes to match the default OpenCart Attributes with your Brevo attributes.
The attributes that can be synchronized are:
- firstname > First name of the customer
- lastname > Last name of the customer
- telephone > Telephone number of the customer
- fax > Fax number of the customer
- payment_company > Company name of the customer
- payment_address_1 > Billing address line 1
- payment_address_2 > Billing address line 2
- payment_city > Billing city
- payment_postcode > Billing postcode
- payment_country > Billing country
- payment_zone > Billing region
- payment_zone_code > Billing region code (if applicable) of the customer
Click on the save button at the top right.
3. Importing old data
There are three buttons to import existing data:
- Sync Existing Customers > When you click on this button, all the customers who have subscribed to receive your newsletter will be added to the Brevo list(s) you have chosen. If you have enabled mapping of attributes, their data will also be synchronized on Brevo.
- Sync Existing Orders > When you click on this button, the orders of all the customers who have subscribed to receive your newsletter will be added to the Brevo list(s) you have chosen.
- Sync Contacts From Brevo > When you click on this button, contacts that are blocklisted on your Brevo account will be blocklisted on your OpenCart store.
Setting up marketing automation
1. Installing the marketing automation tracker
In just a click, you can enable Marketing Automation on your website and track your contacts' activity on your website. This is very easy to do: check the "Activate marketing automation through Brevo" and click on the Save button at the top right.
Good to know: Only contacts that have subscribed to receive your newsletter will be tracked.
Once Marketing Automation is enabled and functioning properly, you will find these logs in your Brevo account under Automation > Logs > Event logs:
- page
- identify
- track events
Note that the plugin uses the RESTful implementation. For this reason, the tracking ID status on the Tracking code page will not show as verified.
2. Creating an abandoned cart workflow
The plugin automatically creates 3 track events that can be used to create an abandoned cart automation workflow:
- cart_created is passed when an item is added to the cart by an identified contact. When the cart is updated, updated data will be passed in this event as well.
- cart_deleted is passed when a cart is emptied
- order_completed is passed when the order has been made
Learn how to create an abandoned cart email for OpenCart customers with this tutorial.
Configuring transactional emails
Go to the Transactional Emails tab to set up your transactional emails.
1. Sending transactional emails
Selecting "Yes" to activate Brevo SMTP, your transactional emails (order confirmations, password resets, etc.) will be sent via the Brevo SMTP. Your password can be found in your Brevo account, under the SMTP tab. You must make sure that your SMTP account has been activated.
You can send a test email thanks to the field "Send email test From/To". This test email will appear in the transactional logs of your Brevo account.
2. Setting up email confirmation emails
To use a Brevo template for your confirmation emails, you have to make sure that emails are sent through Brevo SMTP.
To welcome your new subscribers, you have 3 options.
- No confirmation > With this option, subscribers will be added to the list(s) you've selected under the Contacts Manager tab without any confirmation email.
- Simple confirmation > With this option, subscribers will be added to the list(s) you've selected and will receive a confirmation email. Select a Brevo template in the dropdown list.
- Double opt-in confirmation > With this option, subscribers will be added to the list(s) you've selected and will receive a confirmation email. Select a Brevo template in the dropdown list. Check the "Send a final confirmation email" box if you want to send another email after a new subscriber has clicked on the confirmation email. We recommend using a double opt-in form.
If you want to redirect your contact to a landing page or your website, check the "Redirect URL after clicking in the validation email" box. If you want to redirect to a landing page created on Brevo, paste the URL you get after publishing your landing page.
3. Setting up notification emails
You can override OpenCart notification templates with Brevo templates. Note that it is not possible to personalize the templates with variables such as order number, order price, shipping status etc. Below is the list of notifications that can be overridden.
- Canceled
- Canceled Reversal
- Chargeback
- Complete
- Denied
- Expired
- Failed
- Pending
- Processed
- Processing
- Refunded
- Reversed
- Shipped
- Voided
Further Reading
- Recover Abandoned Carts with OpenCart: Create an Email Template
- Recover Abandoned Carts with OpenCart: Send the Recovery Email
🤔 Have a question?
If you have a question, feel free to contact our support team by creating a ticket from your account. If you don't have an account yet, you can contact us here.
If you’re looking for help with a project using Brevo, we can match you with the right certified Brevo expert partner.