PrestaShop plugin (1.7) - Installation and setup

prestashop_brevo.jpg

Download the PrestaShop plugin

The Brevo plugin for PrestaShop enables you to synchronize contact and order data from multiple PrestaShop stores to Brevo. By leveraging the power of Brevo and PrestaShop, you can implement an effective strategy for your emails and SMS messages, build trust for your brand, and nurture your relationship with your contacts.

Before you start

  • Make sure you're on the latest version of PrestaShop. If you're still on PrestaShop 1.6, PrestaShop provides a 1-Click Direct Upgrade module to upgrade to PrestaShop 1.7. Find out more on PrestaShop's Marketplace.
  • Gather the following information prior to installation:
    • Your Brevo account credentials. If you don't have an account yet, you can sign up for free.
    • Your PrestaShop store dashboard access.

🏪 How to connect multiple stores to my Brevo account?

The plugin allows you to connect multiple PrestaShop stores to your Brevo account and manage separate settings for each store:

  1. Make sure you've enabled the Enable Multistore option from your PrestaShop dashboard by going to Shop Parameters > General.

  2. Install the plugin on one of your PrestaShop stores and connect it to your Brevo account as explained in 🔌 Install the plugin.
  3. Manage the plugin settings for this store as explained in the rest of this article.
  4. Repeat steps 2 and 3 for your other stores.

This will create multiple instances of the plugin in your Brevo account, allowing you to manage the settings of each store separately. For example, you can sync the contacts from different stores to different lists or track visitors' actions from one store only. Each instance will be named based on the name of each shop, so make sure you access the correct plugin instance for each of your stores. You can access it either through the PrestaShop dashboard of a store or directly from your Brevo account, as explained in ⚙️ Access your plugin settings.

❗️ Important
We highly recommend syncing your contacts from different stores to different Brevo lists for easier management.

🔌 Install the plugin

1️⃣ Download the plugin

You have two options to download the plugin:

PrestaShop dashboard PrestaShop Marketplace
  1. Log into your PrestaShop dashboard as an administrator.
  2. In the sidebar menu, go to Modules > Module Manager.
  3. Type "Brevo" in the search bar.
  4. Click Configure next to the plugin.
    prestashop_install-plugin_EN-US.png

2️⃣ Connect your PrestaShop store to Brevo

Now that the plugin is installed, connect your store to Brevo:

  1. In the sidebar menu, click Brevo.
  2. Click Connect.

  3. Click Allow access to allow PrestaShop to access your Brevo account.
  4. Click Activate to activate your plugin.

⚙️ Access your plugin settings

To access your plugin settings:

PrestaShop dashboard Brevo account
  1. In the sidebar menu, click Brevo.
  2. Click SETTINGS to access your plugin settings.

👤 Synchronize your contacts

During the initial contact sync, Brevo will only synchronize contacts who have subscribed to your newsletter via your PrestaShop store default footer and contacts who have created a PrestaShop account and agreed to receive your newsletters

To enable the sync of your contacts:

  1. From your plugin settings, click Contact Synchronization.
  2. Toggle the Sync your store contacts to Brevo option to enable contact sync.
  3. Select the list to which the contacts will be synced. By default, Brevo automatically selects the Integrations/PrestaShop list.

  4. The following options are enabled by default:
    • Sync the state of contacts (subscribed/unsubscribed): automatically update the status of your contacts on Brevo and on your PrestaShop store. 
    • Auto-assign store contacts' attributes to Brevo contact attributes: automatically synchronizes the following contact attributes: Last name, First name, Phone, and Birthday. To be able to choose which field(s) should be synced, disable the option.
  5. Click Save.

The initial contact sync process begins. After this initial sync, the contact sync will be processed in real-time for newly added or updated contacts. 

🛍️ Synchronize your orders

After the initial contact sync, we'll automatically sync your orders. After this initial sync, the order sync will be processed in real-time for new orders.

During this initial sync, the following transactional attributes will be automatically created on your Brevo account:

  • ORDER_ID: ID of the order (ID).
  • ORDER_DATE: Date of the order (Date).
  • ORDER_PRICE: Total amount of the order (Number).

All your new orders and their details will be recorded in these attributes. To view them, go to Contacts, select a contact, and check the Transactions tab on their details page:

❗️ Important
Currently, there is no way to know from which store the orders come by looking at the Transactions tab. If you've synced contacts from different stores to different lists, we recommend you check to which list the contact is synced to know from which store the orders come.
💡 Good to know
You can create calculated values using the following formulas:
  • PS_LAST_30_DAYS_CA: total amount spent over the last 30 days = SUM[ORDER_PRICE,ORDER_DATE,>,NOW(-30)]
  • PS_CA_USER: total amount spent = SUM[ORDER_PRICE]
  • PS_ORDER_TOTAL: total number of orders = COUNT[ORDER_ID]

Set up your subscription confirmation emails

When a new contact subscribes to your newsletter, you can confirm their subscription by sending them a confirmation email:

  1. In your PrestaShop integration, click Subscription confirmation.
  2. Enable the Use Brevo subscription confirmation options to manage opt-in settings option.
  3. Choose which kind of confirmation you want to activate and which email template to send:
    • Double confirmation email: The contact will be added to the "Temp - DOUBLE OPTIN" list and a confirmation email with a subscription confirmation link will be sent. Once they click the link, they will be added to the selected Brevo list(s).
      • Opt-in email: Select an active email template from your Brevo account that will be used for your new subscriber to confirm their subscription.
        ❗️ Important
        Make sure to include a double opt-in link in your template. Learn more in our dedicated article Create a double opt-in (DOI) confirmation template for Brevo form.
      • Confirmation page: Enter the URL of the page where the contact should be redirected after successfully submitting the form. It can be a “Thank You” page or a landing page where you provide additional information about your business.
      • Final confirmation email: Select an active email template from your Brevo account that will be sent after confirming the opt-in email.
    • Simple confirmation email: The contact will be subscribed to the selected list(s) and notified by a follow-up email. Select an active email template from your Brevo account.
  4. Click Save.

👀 Track your visitors' actions

Brevo allows you to enable Automation and track your visitors' actions on your PrestaShop store using the Brevo tracker:

  1. From your plugin settings, click Behavior Tracking.
  2. Enable the Brevo tracker option.
  3. Choose if you want to enable the following options:
    • Track page visits: enable the Brevo tracker to track the pages visited by your website visitors.
    • Track the actions related to an abandoned cart: enable the Brevo tracker to track when visitors add or remove products from their cart or make a purchase.
  4. Click Save.

Brevo will automatically install the Brevo tracker to track your visitors' actions on your PrestaShop store. 

❗️ Important
Contacts who are identified by the Brevo tracker but who have not subscribed to your newsletter via your PrestaShop store default footer or created a PrestaShop account and agreed to receive your newsletters will be added to the identified_contacts list in Brevo.

Event logs

Once you have enabled tracking, you will find the following logs in your Brevo account under Automation > Logs > Event logs:

  • Page: when a contact visits a page on your website.
  • Identify: when a contact is identified on your website.
  • Track events: when a contact adds or removes a product from their cart, or makes a purchase.

mceclip0.png

Track events

The Brevo plugin will automatically pass the following track events that can be used to create abandoned cart or post-purchase workflows:

  • cart_updated is passed when an item is added to a cart.
  • cart_deleted is passed when a cart is emptied.
  • order_completed is passed when an order has been made.
💡 Good to know
A customer has to be identified by their email address to trigger a workflow, e.g., a customer who has logged into their account on your PrestaShop website or input their email address during checkout.

📨 Send transactional emails

💡 Good to know
To send transactional emails for your PrestaShop store via Brevo SMTP, make sure your SMTP account has been activated.

To send transactional emails for your PrestaShop store via Brevo SMTP:

  1. From your plugin settings, click SMTP for transactional mailing.
  2. Enable Use Brevo to send your store's transactional emails.
  3. In the Choose your sender drop-down list, choose the email address you want to use to send your transactional emails for your PrestaShop store.
  4. Click Save.

📲 Send SMS messages

💡 Good to know
You can use customized parameters to personalize the Message field of your SMS messages. The placeholders you can use are listed under the Message field.
Order confirmation Shipping confirmation SMS campaign

You can send a transactional SMS to confirm an order made on your PrestaShop store via Brevo:

  1. From your PrestaShop dashboard, go to Brevo.
  2. Go to SMS Order Confirmation.
  3. Click Enable.
  4. Set up the Sender and Message fields.
  5. (Optional) Send a test SMS to a specific phone number. The test SMS will be deducted from your SMS credits.
  6. Click Update.

🤖 Create automated worflows

mceclip4.png

With Automation, create automated workflows and automatically send welcome or abandoned cart messages to your PrestaShop customers. To learn more about Automation, check our dedicated articles.

🎨 Auto-populate product blocks in your campaign design

When designing your campaign with the new email editor, you can easily and automatically populate your product blocks with the product information displayed on your PrestaShop store:

  1. From the Content tab, drag and drop the Product block wherever you want in your campaign. The Select a product pop-up window opens.
  2. In the search bar, enter the name of the product you would like to show in your email campaign and select it from the list.
  3. Click Insert.
    prestashop_auto-populate-product-block_EN-US.gif

Your product information is automatically filled in the Product block such as its image, name, description, price, and also URL. The URL is automatically added to the product image and button. You can edit your product's information and the design of the Product block from the left sidebar. To learn more about the Product block, check our dedicated article Insert a Product block in the Drag & Drop Editor.

🛠️ Troubleshoot issues with the plugin

Your contacts' data are not synchronized with Brevo

🥇 You are not using the latest version of the plugin

Make sure you are using the latest version of the PrestaShop plugin. If you are still using version 3 of the plugin, check our dedicated article PrestaShop plugin (1.7) : update from version 3 to version 4.

👀 You are not tracking order data

For your contacts' data to be synchronized with Brevo, the Brevo tracker must be able to track your order data. To do so, enable the Track the actions related to an abandoned cart option.

📰 The contact has not subscribed to your newsletter

During the initial contact sync, Brevo will only synchronize contacts who have subscribed to your newsletter via your PrestaShop store default footer and contacts who have created a PrestaShop account and agreed to receive your newsletters

🌐 The contact attributes are not in the same language in PrestaShop and Brevo

Brevo only supports English and French for contact and order data. If your attributes in PrestaShop are in another language, the synchronization will not work.

The workaround here is to create English or French attributes in your Brevo account:

Contact attributes

English French
CIV (Text)

CIV (Text)

NAME (Text)

PRENOM (Text)

SURNAME (Text)

NOM (Text)

BIRTHDAY (Date)

DDNAISSANCE (Date)

PS_LANG (Text)

PS_LANG (Text)

SMS (Text)

SMS (Text)

GROUP_ID (Text)

GROUP_ID (Text)

STORE_ID (Text)

STORE_ID (Text)

CLIENT (Number)

CLIENT (Number)

DEFAULT_GROUP_ID (Text)

DEFAULT_GROUP_ID (Text)

Transactional attributes

  • ORDER_ID (ID)
  • ORDER_DATE (Date)
  • ORDER_PRICE (Number)

Your double opt-in emails are not being sent

📨 You have not enabled your transactional emails to be sent via Brevo SMTP

For your double opt-in emails to be sent, make sure you've enabled the Use Brevo to send your store's transactional emails option.

🤔 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.

💬 Was this article helpful?

6 out of 18 found this helpful