PrestaShop plugin (1.7/1.8) - 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

  • ENsure 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. Find out more on PrestaShop's Marketplace.
  • Gather the following information before 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. Ensure 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 in to 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.
    plugin_prestashop-allow-access_en-us.png
  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. 

✅ Manage your contacts' opt-in process

❗️ Important
You have to activate Contact synchronization to access this feature.

To manage your subscription settings:

  1. From the plugin settings, click Subscription Confirmation.
  2. Activate the Use Brevo subscription confirmation to manage opt-in settings option. 
  3. Choose how your contacts' subscription will be confirmed to them after they submit the sign-up form:
    [Recommended] Double confirmation emailSimple confirmation email

    We highly recommend using a double confirmation email to comply with GDPR. After submitting the sign-up form, your contacts receive an email containing a double opt-in link. They will be added to your list of Shopware contacts only after clicking this double opt-in link. 

    1. Select from the drop-down list the double opt-in confirmation email template you want to send to your contacts when they submit the sign-up form. You can choose either: 
    2. Optional: You can redirect your contacts to a specific website page or a landing page after they click the double opt-in link. Just paste the URL to this specific website page or landing page in the field. 
    3. Optional: You can send a final confirmation email to your contacts after they click the double opt-in link. You can choose either: 
      • Default template Simple confirmation
      • Default template - Unsubscription Follow Up, or 
        To edit the default templates, go to Marketing > Templates > Email.
      • Your custom simple confirmation template
        To learn more, check our dedicated article Create an email template.
        woocommerce_double-confirmation-email_EN-US.png
  4. Click Save to confirm your subscription confirmation settings. 

Your contacts' opt-in process is now set up! 🚀 Each contact will be informed of their subscription to your marketing emails. 

🛍️ 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 CRM > Contacts, select a contact, and check the History > Revenue 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]

🛒 Implement product alerts on your store

The product alerts feature is only available on an Enterprise plan and after activating the eCommerce dashboard. For more information, check our website or get in touch with our Sales team.

Automatically send email alerts to your customers when their favorite out-of-stock item becomes available again

Activating the product alerts feature will automatically add an email input field and a Notify me button to each out-of-stock product page on your online store. Your visitors can enter their email and click the button to be notified when the product is back in stock. ⬇️

prestashop_notify-me-block_en-us.png

❗️ Important
The email field and Notify me button are currently not customizable, including the text, design, and layout.

To activate the product alerts option:

  1. From your Brevo account, create a back-in-stock automation to automatically send an email to interested visitors when their awaited product is back in stock.
  2. From the plugin settings, click Product Alerts.
  3. Activate the Allow customers to subscribe to alerts for out-of-stock products.
    shopware_product-alert-activate-option_en-us.png
  4. Click Save. An email field and Notify me button will automatically be added to your out-of-stock products on your online store.

Congratulations! 🎉 The product alerts (back-in-stock) feature has been activated. Website visitors and customers who subscribed to back-in-stock alerts will automatically receive an email when the product becomes available again.

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

events_event-logs_en-us.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.

🤖 Create automated workflows

All automations examples (3).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:

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. To learn more about the Product block, check our dedicated article Insert products from your online store into your emails with the product block.

🛠️ Troubleshoot issues with the plugin

Your contacts' data are not synchronized with Brevo

👀 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 Agency partner.

💬 Was this article helpful?

12 out of 38 found this helpful