Skip to main content

PrestaShop plugin (1.7) - Installation and setup

Download the PrestaShop plugin

The Sendinblue plugin for PrestaShop allows you to set up an effective email and/or SMS marketing strategy from your PrestaShop website.

In this article, we will explain how to:

Good to know

To upgrade from PrestaShop 1.6 to the latest version of PrestaShop 1.7, PrestaShop provides a 1-Click Direct Upgrade module. Find out more on PrestaShop's Marketplace.

Before you start

Gather the following information prior to installation:

  • Sendinblue account credentials. If you don't have an account, sign up for free.
  • PrestaShop website admin panel access.

Install the PrestaShop plugin

Download the plugin

You have two options to download the plugin:

Through the PrestaShop back office

  1. Log into your PrestaShop dashboard as an administrator.
  2. In the sidebar menu, go to the Modules and Services.
  3. Type "Sendinblue" in the search bar.
  4. Click Configure.
    PS_1.7_Configure.png

As Sendinblue is a PrestaShop Partners plugin, the plugin should be installed by default in your PrestaShop back office.

Through the Sendinblue plugin page

  1. Log into your PrestaShop dashboard as an administrator.
  2. Access the Sendinblue plugin page.
  3. Click Download.
    mceclip0.png
  4. Follow the installation steps available here.

Connect your website to Sendinblue

Now that the plugin is installed, connect your website to Sendinblue:

  1. In the sidebar menu, go to Configure > Sendinblue.
  2. Click Connect.
    PS_1.7_Connect.png
  3. Click Allow access.
    PS_1.7_Allow_access.png
  4. Click Activate.
    mceclip1.png

Synchronize your contacts

💡 Good to know
After the initial sync, synchronization will be done in real time.

Sendinblue will synchronize contacts who have subscribed to your newsletter via your website default footer and contacts who have created a PrestaShop account and agreed to receive your newsletter.

To synchronize your contacts:

  1. In Sendinblue integrations, select your PrestaShop integration.
    Intregations.png
  2. Click Contact Sync to have access to the contact sync settings.
    PS_1.7_Contact_sync.png
  3. Enable the contact sync.
    Note: Sendinblue automatically configures the list on which the contacts will be synced as Integrations/PrestaShop, but you can change it if needed.
    PS_1.7_Contact_sync_2.png
  4. Click Save.

Sync contact status

When the Sync the state of contacts (subscribed/unsubscribed) option is enabled, the status of your contacts is automatically updated on Sendinblue and on your store.

PS_1.7_Contact_sync_2__1_a.png

Automatically assign attributes

When the Autoassign store contacts' attributes to Sendinblue contact attributes option is enabled, Sendinblue automatically synchronizes the following contact attributes:

  • Last name
  • First name
  • Phone
  • Birthday

If you disable it, you will be able to choose which field(s) will be synced.

PS_1.7_Contact_sync_2__1_.png

Synchronize your orders

💡 Good to know
After the initial sync, synchronization will be done in real time.

Once you have synced the contacts, we'll automatically sync your orders. This will be very useful for a targeted campaign based on customer spending, for example. 

The following fields will be synchronized to your Sendinblue account as transactional attributes. You can view your orders by going to Campaigns > Contacts, clicking an email address and checking the Transactions tab:

  • ORDER_ID – ID of the order
  • ORDER_DATE – Date of the order
  • ORDER_PRICE – Total amount of the order
    mceclip0.png

For each contact, our platform will calculate daily:

  • PS_CA_USER – Total amount spent by the contact
  • PS_ORDER_TOTAL – Total number of orders by the contact
  • PS_LAST_30_DAYS_CA  – Total amount spent over the last 30 days by the contact

In addition, global data about your store will also be displayed on your Sendinblue account:

  • PS_CA_LAST_30DAYS – Total amount spent over the last 30 days (Formula: SUM[PS_LAST_30_DAYS_CA])
  • PS_CA_TOTAL – Total amount spent (Formula: SUM[PS_CA_USER])
  • PS_ORDERS_COUNT – Total number of orders (Formula: SUM[PS_ORDER_TOTAL])

For further information on formulas, read this article.

Send transactional emails

💡 Good to know
To be able to send transactional emails, make sure your SMTP account has been activated. If it has not been activated yet, send a request to our support team.

To send transactional emails (e.g. payment confirmations, order summaries, etc.) through Sendinblue:

  1. In Sendinblue integrations, click your PrestaShop integration.
  2. Click SMTP for transactional mailing.
    PS_1.7_SMTP.png
  3. Enable Use Sendinblue to send your store's transactional emails.
  4. Choose the sender's address.
    PS_1.7_SMTP_2.png
  5. Click Save.

Confirmation emails

💡 Good to know
Only the PrestaShop default email for newsletter subscription confirmation can be overridden by a Sendinblue template.

When a new contact subscribes, there are several ways to follow up:

  • No confirmation - contacts will be subscribed to the selected list(s) without any notification
  • Simple confirmation - contacts will be subscribed to the selected list(s) and notified by a follow-up email. Select an active email template from your Sendinblue account.
  • Double confirmation - contacts that submit a form will be added to the Temp - DOUBLE OPTIN list and a confirmation email requiring them to click to confirm their subscription will be sent. Once they have clicked, they will be added to the selected Sendinblue list(s).
    • Opt-in email - Select an active email template from your Sendinblue account that will be used for your new subscriber to confirm their subscription. Note: the template should contain the double opt-in tag as it will be replaced with a generated confirmation link.
    • Confirmation page - Type the URL of the page where a contact will be redirected after successfully submitting the form. It can be a “Thank You” page or a landing page where you provide additional information.
    • Final confirmation email - Select an active email template from your Sendinblue account that will be sent after confirming the opt-in email.

To set up your confirmation emails:

  1. In Sendinblue integrations, click your PrestaShop integration.
  2. Click Subscription confirmation.
    PS_1.7_Subscription_conf.png
  3. Enable Use Sendinblue subscription confirmation options to manage opt-in settings.
  4. Choose which kind of confirmation you want to activate.
    PS_1.7_Subscription_conf_2.png
  5. Click Save

Send SMS

💡 Good to know
You can use customized parameters to personalize your SMS. For example: {civility}, {firstname}, {lastname}, {order_reference}, etc.

Order confirmation SMS

You can send a transactional SMS confirming an order via the Sendinblue plugin:

  1. Go to the Order Confirmation tab.
  2. Select Enable.
  3. Set up the Sender and Message fields.
  4. If necessary, send a test SMS.
  5. Click Update.
    mceclip0.png

Shipping confirmation SMS

You can send a transactional SMS confirming the shipment of an order via the Sendinblue plugin:

  1. Go to the Shipping Confirmation tab.
  2. Select Enable.
  3. Set up the Sender and Message fields.
  4. If necessary, send a test SMS.
  5. Click Update.
    Capture_d__cran_2021-06-10___18.21.34.png

Send an SMS campaign

You can send an SMS campaign via the Sendinblue plugin:

  1. Go to the Campaign tab.
  2. Select Enable.
  3. Select the recipient(s): either a single contact or subscribed customers.
  4. Set up the Sender and Message fields.
  5. If necessary, send a test SMS.
  6. Click Update.
    PS_1.7_Campaigns.png

Track your visitors' actions

The Sendinblue plugin allows you to enable Marketing Automation on your website and track your visitors' actions on your website in just one click:

  1. In Sendinblue integrations, click your PrestaShop integration.
  2. Click Behavior Tracking.
    PS_1.7_Behavior_tracking_.png
  3. Enable the Sendinblue tracker.PS_1.7_Behavior_tracking_2.png
  4. Click Save.

Sendinblue will automatically install the tracking script (Sendinblue tracker) to track your visitors actions on your website. 

mceclip0.png

Once you have enabled tracking, you will find the following logs in your Sendinblue 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 an item to their cart, empties their cart, or makes a purchase.

The plugin will automatically pass 3 track events that can be used to create abandoned cart or post-purchase automation 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.

Troubleshoot issues with the PrestaShop plugin (1.7)

🛑 My contacts' data are not synchronized with Sendinblue

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 out 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 Sendinblue, the Sendinblue 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

For Sendinblue to be able to synchronize a contact's data, the contact must have subscribed to your newsletter. If they are added via the Sendinblue Tracker only, they have not opted-in and their information is not synced.

The contact attributes are not in the same language in PrestaShop and Sendinblue

Sendinblue only supports English and French for contacts and orders 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 Sendinblue account:

Normal attributes (French):

  • CIV (Text)
  • PRENOM (Text)
  • NOM (Text)
  • DDNAISSANCE (Date)
  • PS_LANG (Text)
  • SMS (Text)
  • GROUP_ID (Text)
  • STORE_ID (Text)
  • CLIENT (Number)
  • DEFAULT_GROUP_ID (Text)

Normal attributes (English):

  • CIV (Text)
  • NAME (Text)
  • SURNAME (Text)
  • BIRTHDAY (Date)
  • PS_LANG (Text)
  • SMS (Text)
  • GROUP_ID (Text)
  • STORE_ID (Text)
  • CLIENT (Number)
  • DEFAULT_GROUP_ID (Text)

Transactional attributes (English): 

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

🛑  My double opt-in emails are not being sent

For your double opt-in emails to be sent, make sure you've enabled the Use Sendinblue 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.