Skip to main content
How to Install Sharpei into Prestashop

install sharpei in prestashop

Lucia clifford avatar
Written by Lucia clifford
Updated this week

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

  1. Download the plugin for Prestashop 1.8> through this link

    Download the plugin for Prestashop 1.7> through this link

  2. 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 navigate to the plugin and click on configure

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

Click on Save.

🚨 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. [ONLY FOR THE PRESTASHOP 1.8 > VERSION] Once the api_keys have been saved you may 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.

** For the 1.7 > versiones, all products will sync automatically with Sharpei

🚨 Make sure that the Product ID you have in your Prestashop also exists in Sharpei (go to your Sharpei account to verify).

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.

In the next version of the module, the process will be automatic using the login.

Once you verify that the product ID exists in Sharpei and that the API Keys you're using correspond to the environment in which you are testing:

Perform an update in Prestashop so that the information is sent to Sharpei. Then you'll be able to see the changes reflected in Sharpei.


Access your Prestashop through FTP

  1. Make a backup copy of the files you will be changing, you never know if a change could potentially break the website so make sure you create a backup of the pages you will be changing.

  2. Navigate to:

public_html/webs/YOURWEBSITENAME/themes/YOURWEBISTETHEME/templates/_partials/javascript.tpl

2. Copy the code we saved before and paste it at the end of the file. This is the code that will insert the necessary javascript on the page, however, you still have to add the HTML in the product page where we want it to show.

3. Navigate to:

public_html/webs/YOURWEBSITENAME/themes/YOURWEBISTETHEME/templates/catalog/product-add-to-cart.tpl

4. Inside of the file, search for the 'Add to cart' button and paste the html there.

5. Save the file and navigate to your website, check the Network to see if the JS is running. Search for validate_api_key . If you find that, and it returns a 200, it means the js is injecting properly.

6. If you haven't already configured your remote_ids to your Sharpei backoffice for the HTML to run. The button will not show unless its Active and the remote_id matches that of the product.id in prestashop.

Did this answer your question?