Prestashop/ CSV Import

Discover how to easily connect Prestashop

1/ Before you begin

Some prerequisites

2/Connect API's with PHP

Samples for both API's

3/Import CSV

Learn how to manually import data and automate refresh

4/PHP Code

A demo of what can be achieved

Before you begin...

Prerequisites

This guide will explain how to connect a Prestashop 1.7 webshop with Stanley/Stella API Framework to periodically synchronize the product referential.

The guide assumes that you are familiar with Prestashop and that you already have your Prestashop running.

It also requires a little bit of development knowledge in order to transform the CSV files.

In this guide, we will illustrate the integration in the PHP development environment but this could also be realized in any other modern development environment.

Please note that the PHP code provided in this document is for illustration purpose only.


Further technical explanation on the API can be found on this page.

Integration scenario Stanley/Stella API <> Prestashop

Like a lot of ecommerce solutions, Prestashop provides 2 ways to import product information:

At Stanley/Stella, our API provides these 2 capabilities as well.


In this scenario, we chose to use the REST API on Stanley/Stella side and the REST API on WooCommerce side.


The integration logic in the middle has been developed in PHP.