Skip to main content
All CollectionsPrestashopInstall Sharpei into Prestashop
How to Install Sharpei into Prestashop
How to Install Sharpei into Prestashop

install sharpei in prestashop

Lucia clifford avatar
Written by Lucia clifford
Updated over a week ago

Sharpei has been built on the idea of being compatible with any kind of technological stack, however, we understand most shops are based on certain platforms; therefore we have developed plugins for the most relevant CMS to simplify the installation and integrate real-time with the inventory and stock management systems.

Plugin Installation

The plugins works for Prestashop versions from 1.5 to 8.1.4.

  1. We have two ways to install the Prestashop module:

1.1 Through the market place of Prestashop.

1.2 Downloading the zip file. We have two plugins:

a. Includes the integration with Prestashop CloudSync so if you have module ps_accounts installed please Download the plugin through this link.

Download the plugin for Prestashop through this link.

b. If you don't have CloudSync configured in Prestashop please use this link.

  1. Access your back office in Prestashop and navigate to the module area

3. Click on upload a module and upload the zip file:

4. Once installed, configure the 'Sharpei Connect' module.

Right after its uploaded, you'll see the option to start configuring it.

You can also navigate to the plugin and click on configure.

This configuration panel will appear:

  • Live Mode: If you're going to launch and sync your products in production, be sure to enable 'Live Mode'.

* If you don't activate this toggle, the products won't appear in your app.gosharpei account once you synchronize them

  • Create Product: This toggle will allow you - after the first synchronization - to automatically create products that don't exist in Sharpei every time you update a product in your Prestashop catalog.

🚨 We recommend leaving it disabled if you don't want every product you update to enter Sharpei.

We only recommend activating it for merchants who want to give the options of subscription and renting to all of their products.

5. You will then need to login in your Sharpei account to find your API_keys and paste them:

🚨 Make sure that the API Keys you're using correspond to the environment in which you're testing.

Depending on whether you are in production (app.gosharpei) or if you have a test environment account with us (app.dev), the API Keys will be different.

6. Introduce your Sharpei account email and password

7. Once you've decided how to configure the module and you've introduced your API Keys, click on Save.

Once you click on Save, in the upper left corner of your screen a loading wheel symbol will appear. Once it stops spinning and it disappears, the changes will be saved.

Synchronize your first products

Once you've finished configuring the module, you need to select the products you want to sync with Sharpei.

This will initially upload the product and its variants to Sharpei and then will only update information.

Please note you need to manually select the products.

Go to the Sharpei Connect module to see the Sync Panel:

  • Synchronize products in bulk:

Select your products and then click on bulk actions.

Once you've selected your products, click on 'sync selected'. You'll find them in your Sharpei account.

  • Synchronize a single product:

Choose the product you want and click on the 'Sync' button on its right. You'll find it in your Sharpei account.

If you've been testing the module in dev, you can then move it to production.

To change the module you have to switch to live mode, and configure the new api keys.

Once you finish synchronizing your products, you need to finish the configuration of your Sharpei account and assign the Selling Plans to the products. Without these, the subscriptions button will not appear.


Sharpei's Subscriptions button:

Once you install the module in Prestashop, it will automatically inject the javascript and html so that the Sharpei subscription button appears on your products.

The html is a hook that goes after the add to cart button.

We have two versions of the Sharpei button for you to choose which one you'd like to install:

  • If you prefer to install the version 2 of the Sharpei button, you need to use this html:

<sharpei-button product-id='${this.variant.remote_id}' version="v2"></sharpei-button> <br/>

This is the one that comes by default when you install the module.

It will look like this:

  • If you prefer to install the version 1 of the Sharpei button, you need to use this other html:

<sharpei-button product-id='${this.variant.remote_id}' ></sharpei-button>

It will look like this:

Did this answer your question?