The handling of products in relation to Prestashop nodes is bidirectional. It is not only possible to publish products with the appropriate connector, but also to "pick up" the products present on one site and then possibly publish them on another.
The product download may be complete with all data and images, or it may be an update of only some restricted data, such as stock availability.
The execution of the connectors can be activated in interactive mode, by clicking on the appropriate button, or be "automatically launched" from a scheduled procedure.
Product import configuration
Before creating the connector, you need to set up the product import configuration. Then go to the menu:
E-Commerce >> Prestashop >> Product import
click on the Add button and fill in the fields as follows:
- Configuration name: enter the desired name
- eCommerce platform: select Prestashop eCommerce
- Web Server for image storage: select the web server for the images among those available in the drop-down menu. To create the web server node, refer to the appropriate guide
- What kind of imports to perform ?: choose the value that best suits your needs between Products and Links to products
- From which language of the site to pick up: select the language of the site from which the products will be imported
Then continue with the specific fields to define the fields that will be considered in the import phase:
- Create products in bindCommerce? - by selecting YES you will have access to a series of items that can be checked to determine which data will be considered for the creation of the products
- Modify existing products on bindCommerce? - by selecting YES you will have access to a series of items that can be checked to determine which data will be considered for the modification of the products
For each of these actions, the following options are available.
NOTE: Consider that in order to decide whether it is necessary to carry out a new insertion or an update of the products, the SKU code is used as the primary identification key.
The identification key of the categories used to manage the updates is built by appending the names of the categories in the main language, which will form a field called "keycat"; therefore, if a category is renamed or moved in the category tree, it will be identified as a new category (it will not be updated, but a new category will be created in addition to the previous one).
Options for creating new products in bindCommerce
The options relating to the creation of products not present are the following:
- enter product name, description, notes, dimensions and custom
- options
- enter categories
- enter child products
- enter product - category combination
- enter manufacturer
- insert images
- enter prices
- enter stock availability
- insert category image
- enter metadata
- insert featured products
Options for editing existing products in bindCommerce
The options for editing existing products are as follows:
- update product name, description, notes, dimensions and custom
- options
- update child products
- delete product - category combination
- add product - category combination
- update manufacturer
- update prices
- update stock availability
- update product image
- update category image
- update category description
- update metadata
- update featured products
- set the quantity to 0 for products not present in the file
- mark as canceled and set the quantity to 0 for products not present in the file
Finally, there is another premium option that is valid both in creation and in modification of the articles:
- Convert the relative URLs present in the description into absolute: it can be useful when you want to download products that have images inserted in the body of the description and saved on the database in the form of relative URLs, which would not be visible outside the site.
Prestashop
In this section there are some fundamental parameters to indicate for the correct functioning of the communication with the eCommerce platform.
- Node: choose the Prestashop node previously created
- Language to import from: allows you to choose in which languages, installed on the Prestashop store, to import the products. This information is downloaded from the Prestashop configuration download connector.
- Shop (id): Allows you to choose the id linked to the Prestashop shop from which to import the products. This information is downloaded from the Prestashop configuration download connector
- Single store url: this field must be filled in ONLY if you have a multi-store management
- Download only matches for existing data? - Selecting Yes enables the download of matches only for data already existing on bindCommerce.
- Delete all existing references before importing new ones? - In general it is good to use this option only in case of real need, for example if elements are manually deleted on Prestashop and not on bindCommerce, as the latter would try to update elements using reference ids that no longer exist, generating a mistake.
- Number of products to extract for each request: the default is 0 in order to import products with a single request, but if this should create problems, which usually occur when there is a lot of data to import, you can enter values other than 0 (eg: 100) in order to limit the load on the Prestashop server
- Record form which to start from: allows you to start importing from a specific record
- Maximum number of products to import: in this field you can choose a specific number of products to import by setting a maximum
Alternative choice
Once you have chosen the options to perform, you can decide whether to save the data in an alternative to the product list. It is useful for managing, for example, alternative languages to the main one.
Finally click on SAVE AND CLOSE.
Creation of the Prestashop product download connector
We remind you that before creating the connector it is necessary to install the Prestashop node on which the connector will operate. After doing this, go to the menu:
Process >> Connectors
and click on the Add button.
The following parameters must therefore be chosen:
- Connector Name: Choose a name to identify what the connector does
- Node type (technology): choose Prestashop eCommerce
- Node: choose the previously created node
- Connector type: choose eCommerce Prestashop [Download products on bindCommerce].
Configuration
The previously created import configuration from PrestaShop must be indicated in this field.
Product filter
In this section of the connector it is possible to choose whether, and which, filter to apply among those previously created using the product filters setting function.
Once the changes are complete, save the configuration.
The connector can be executed in interactive mode (by clicking on the button Run the connector immediately?) Or through automatic procedures.
Thank you for rating this article.