Presta Shop - integrating with Price2Spy

Presta Shop – integrating with Price2Spy

Steps to be performed on Presta Shop side

 

Please login to PrestaShop, and do the following:

1. Selecting Webservice

      1. Go to Dashboard => Advanced Parameters
      2. Select Webservice

Presta Shop - integrating with Price2Spy

2. Configuration

On the following screen,

      1. Select Enable PrestaShop’s webservice: YES
      2. Select Enable CGI mode for PHP: YES
      3. Click Save button
      4. Click ADD NEW button, to create new webservice accout

Presta Shop - integrating with Price2Spy

3. Add New Webservice Account 

In WEBSERVICE ACCOUNTS tab

      1. Click on Generate button to generate key
      2. Select checkbox View (GET), to select unnecessary permissions for “GET” operation for next resources : categories; manufacturers; products ; specific prices ; stock availables ; suppliers ; taxes ; combinations.
      3. Select checkbox Modify (PUT) for next resource : products.
      4. Click SAVE button

Presta Shop - integrating with Price2Spy
Presta Shop - integrating with Price2Spy
Presta Shop - integrating with Price2Spy
Presta Shop - integrating with Price2Spy
Presta Shop - integrating with Price2Spy

Integrating your PrestaShop with Price2Spy

 

Steps to be performed in Price2Spy

 

 

Please login to your Price2Spy account and do the following

  1. Click Misc => Link My Store

Presta Shop - integrating with Price2Spy

2.Click PRESTASHOP and click Next

Presta Shop - integrating with Price2Spy

3.Fill in store details

Store URL: this is the URL of your online store
note: copy and paste URL of your online store without index.php at the end of URL !

API KEY = YOUR SECRET API KEY (this corresponds to key generated in Prestashop setup (see above 3.1 )

Please be patient: depending on your store size and your server speed, it may take 30s or so to establish link to your Prestashop

Presta Shop - integrating with Price2Spy

4.Select Categories (or leave default = all) from which the products should be copied

 

 

5.Click Matched products to see how many products are contained in the above categories, click Next

Presta Shop - integrating with Price2Spy
6.Finalizing operation details

 

  • Name your operation (for example PrestaShop | LINK)
  • Define execution frequency (default = 1 day)
  • Choose whether you want to be notified by email on each operation execution (default = OFF)
  • Check ‘Do it now‘ if you want the products to be copied immediately (otherwise, the operation will be done according to the daily schedule)
  • Define price check frequency (of the products created via Link My Store Operation)

7.Click Finish. Once your products have been linked from PrestaShop, you’ll see them in your Price2Spy account

Presta Shop - integrating with Price2Spy

Troubleshooting

 

 

  • Network / Firewall issues
    • When syncing your Presta Shop with Price2Spy, Price2Spy has to perform an API request for each and every product you’re syncing (this is far from optimal, but I’m afraid this is the way Presta API works). For example – if you’d like to sync 2500 products, that means 2500 individual small HTTP requests from Price2Spy API to your Presta
    • In many cases we experience that client’s Presta is behind a firewall, which will block our requests. Therefore, please make sure that you have done the following whitelisting changes in your firewall
      • Whitelist Price2Spy IPs (please ask support@price2spy.com for the list of IPs we use)
      • Whitelist specific countries: please white list Serbia and The Netherlands (Holland)
      • Whitelist user-agent: ReactorNetty
    • In case you’re not sure where to apply the above firewall changes, please get in touch with your hosting company. If you’re unsure whom to contact, please let us know, we’ll be happy to point you in the right direction.