# How to configure the product features of Prestashop to synchronize them with the complementary...

## Features Prestashop Products to synchronize

### 1- We want to synchronize the height features (id 1) and Styles (id 6) in Dolibarr product sheets

![](https://2541083729-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4PYhvygnHsMuqE4VeU%2F-M4PYiS1lAPtTk8riKu1%2F-M4PYkM2LJ3KkIlqEy3A%2Ffeatures-prestashop.jpg?generation=1586362261274324\&alt=media)

### 2- Complementary attributes (Extrafields) must be created in Dolibarr. (Value to enter for height and Selection list for style)

> Extrafield1 (Chain type = Value)

![](https://2541083729-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4PYhvygnHsMuqE4VeU%2F-M4PYiS1lAPtTk8riKu1%2F-M4PYkM4L8uowBmAqrPa%2Fid-mapping-en.jpg?generation=1586362255809628\&alt=media)

> Extrafield2 (Type select = Selection list). For this type of 'select' field, you must enter the values ​​with the following format.

1, name1\
2, name2\
3, name3\
Etc...

> **Attention to the notion of required field. If you pass them to YES, they must all be filled in, otherwise the characteristics will not be synchronized.**

![](https://2541083729-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4PYhvygnHsMuqE4VeU%2F-M4PYiS1lAPtTk8riKu1%2F-M4PYkM6XCuunHzXhUO2%2Fselect-id-en.jpg?generation=1586362261713696\&alt=media)

### 3- Initialize the CyberOffice module (allows you to create the dictionary) In the Modules section, locate CyberOffice and switch to OFF and then ON the button.

> The configuration of the module is preserved

![](https://2541083729-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4PYhvygnHsMuqE4VeU%2F-M4PYiS1lAPtTk8riKu1%2F-M4PYkM8aEHww_3I6h9U%2Fmodule-reset-en.jpg?generation=1586362255817186\&alt=media)

### 4- The CyberOffice dictionary has just been created with the list of complementary attributes (Extrafields) of products

![](https://2541083729-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4PYhvygnHsMuqE4VeU%2F-M4PYiS1lAPtTk8riKu1%2F-M4PYkMAo6QRKUYIXJoT%2Fdictionnary-cyberoffice-created-en.jpg?generation=1586362256259543\&alt=media)

### 5- Link Prestashop product feature IDs to Dolibarr complementary attributes (Extrafields) code.

> ID 1 (height) and 6 (styles) must match with complementary attributes of Dolibarr (extrafields 1 and 2)

![](https://2541083729-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4PYhvygnHsMuqE4VeU%2F-M4PYiS1lAPtTk8riKu1%2F-M4PYkMCzNxjUcXQcchA%2Ffeatures-prestashop.jpg?generation=1586362256464256\&alt=media)

> Add in the Prestashop features ID column the corresponding IDs.

![](https://2541083729-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4PYhvygnHsMuqE4VeU%2F-M4PYiS1lAPtTk8riKu1%2F-M4PYkME9hGUq4dpUsGX%2Ffeatures-extrafields-idprestashop-iddolibarr-en.jpg?generation=1586362256047191\&alt=media)

## Synchronization of Prestashop features to Dolibarr complementary attributes (Extrafields) of products is now functional

> The changes made in the Prestashop product sheet will be synchronized to Dolibarr.

![](https://2541083729-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M4PYhvygnHsMuqE4VeU%2F-M4PYiS1lAPtTk8riKu1%2F-M4PYkMGq5c93F3JBqIo%2Fsynchronization-features-prestashop-dolibarr.jpg?generation=1586362262046114\&alt=media)
