> For the complete documentation index, see [llms.txt](https://lvs-1-fo.gitbook.io/cyberoffice-synchronisation-for-woocommerce-to-dolibarr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://lvs-1-fo.gitbook.io/cyberoffice-synchronisation-for-woocommerce-to-dolibarr/cyberoffice-for-woocommerce-en/how-to-configure-woocommerce-product-attributes-to-sync-with-dolibarr-attributes.md).

# How to configure WooCommerce product attributes to sync with Dolibarr attributes

How to configure Woocommerce product attributes to synchronize them with Dolibarr additional product attributes (extrafields).

![](https://916755557-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpGkg6WJU1kYdqLeM7J39%2Fuploads%2FUZi5xGJMtf4mVN3lOBMZ%2Flogo-cyberoffice.png?alt=media\&token=5af87bd8-1fd1-40db-a6ac-77695e73e641)

## WooCommerce Product attributes to synchronize

### 1-We want to synchronize the Color (id 2) and Energy (id 3) attributes in the Dolibarr product sheets

![Products / attributes](https://916755557-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpGkg6WJU1kYdqLeM7J39%2Fuploads%2FVt5iS2fYODuTrgegXN7S%2Fcyberoffice-woocommerce-attributes-en.jpg?alt=media\&token=fff53a91-b187-4339-b8a3-0731f183e21a)

### 2-Determine WooCommerce Attribute ID and detail

![Change Attributes / Color Id = 2](https://916755557-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpGkg6WJU1kYdqLeM7J39%2Fuploads%2FyinLZrikYprBZAMyS7LL%2Fcyberoffice-woocommerce-attributes-id-en.jpg?alt=media\&token=132481de-3926-44d9-8ebd-a1378f1843e2)

![Change Attributes / Energy Id = 3](https://916755557-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpGkg6WJU1kYdqLeM7J39%2Fuploads%2Fe8KoOKHxks4bj9nbAw1K%2Fcyberoffice-woocommerce-attributes-id3-en.jpg?alt=media\&token=bba5e144-ce08-4b21-b8d2-a283749310fb)

![Id detail same method in URL red ID= 27](https://916755557-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpGkg6WJU1kYdqLeM7J39%2Fuploads%2FAa3V7m5EtDQ64JjPG06t%2Fcyberoffice-woocommerce-id-detail-attibutes-en.jpg?alt=media\&token=5d7b7096-7fe9-4a81-aaa1-8d83e47a5e98)

### 3- Extrafields additional in complementary attributes tab must be created in Dolibarr. (Select list for color and energy)

![Create attributes in the products / additional attributes module](https://916755557-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpGkg6WJU1kYdqLeM7J39%2Fuploads%2FzFWRiiNSK5Hb9H2jnUt9%2Fcyberoffice-woocommerce-complementary-attributes-dolibarr-en.jpg?alt=media\&token=32103d1f-2d66-4a98-af5d-7820d6ab9b89)

{% hint style="info" %}
For select lists, you must enter the values ​​according to this format:

1, name1 \
2, name2 \
3, name3 \
Etc...
{% endhint %}

![Select list 1, Name1](https://916755557-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpGkg6WJU1kYdqLeM7J39%2Fuploads%2FVA3LmucVtnl4XbxtKvUB%2Fcyberoffice-woocommerce-complementary-attributes-setting-dolibarr-en.jpg?alt=media\&token=e2cc81e0-e056-4099-85ee-f068f9630db0)

{% hint style="danger" %}
Warning to the notion of required. If you pass them to YES, they must all be filled in, otherwise the synchronization of the attributes will not work.
{% endhint %}

![Switch to NO to avoid synchronization aborted](https://916755557-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpGkg6WJU1kYdqLeM7J39%2Fuploads%2FQ7PPeXtZeMmxWbzi9oLt%2Fcyberoffice-woocommerce-complementary-attributes-required-dolibarr-en.jpg?alt=media\&token=2cbdc44f-cd17-4729-bd8a-281745701325)

### 4- Go to the cyberoffice\_extrafield dictionaries and see the list of extra attributes (Extrafields) of product

![Dictionaries cyberoffice\_extrafield (id 2 and 3)](https://916755557-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpGkg6WJU1kYdqLeM7J39%2Fuploads%2FBJZAsVWbDvlfjyVzbJ4f%2Fcyberoffice-woocommerce-dictionnaries-dolibarr-en.jpg?alt=media\&token=5a0f15da-1d82-46bc-bef0-8880289b74f6)

### 5- Link WooCommerce product attribute ID to Dolibarr additional attribute codes (extrafields)

{% hint style="info" %}
ID 2 (color) and 3 (energy) must correspond to Dolibarr extraflieds (color and energy)
{% endhint %}

![Enter Woocommerce ID](https://916755557-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpGkg6WJU1kYdqLeM7J39%2Fuploads%2F2Po4XBjeKTjT66uiCFxb%2Fcyberoffice-woocommerce-id-dolibarr-en.jpg?alt=media\&token=64abc79d-fb1d-436d-a276-cbaaeae14978)

### 6- Synchronization of WooCommerce Attributes to Dolibarr complementary attributes (Extrafields) is now functional

{% hint style="info" %}
The changes made in the Woocommerce product sheet will be synchronized on Dolibarr.
{% endhint %}

![The attributes of the Woocommerce product sheet are synchronized in Dolibarr](https://916755557-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpGkg6WJU1kYdqLeM7J39%2Fuploads%2FktgHZKLDj6GNUSlgM23S%2Fcyberoffice-woocommerce-attributes-woocommerce-en.jpg?alt=media\&token=18680a62-aa53-45e2-8fb6-3b97db41a1b7)

![The attributes synchronized in the Dolibarr product sheet](https://916755557-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpGkg6WJU1kYdqLeM7J39%2Fuploads%2FbG7895QVSyekTTVGogcq%2Fcyberoffice-woocommerce-attributes-dolibarr-sync-en.jpg?alt=media\&token=3ad8f13a-30d9-4b2a-875d-70f3a9b1173f)
