Custom Colors

Since version 1.4.3 the plugin include a folder named colors which includes a small colors database that recognizes different languages. This folder is used to recognize color attributes that don’t exist in PrestaShop for variants. 

This means that if Sales Layer has a variant with the color verde claro in Spanish, the plugin will try to find the file es.txt, delete accents and spaces, and search for the color verde claro to assign the color #90ee90, which is defined in that file. These files can be customized according to the needs. The reason is that every company uses different names, and different maps of colors in many languages to recognize colors. The option allows you to have always the file and with each update, it will simply copy and paste the color files from the plugin. Having a file in the language we are going to use is enough to recognize colors and assign them the first time the attribute is created.

Another way to send colors is sending it as text like this: 

verde claro:#90ee90. The plugin accepts everything before :# as name, and everything after: as color #90ee90

 

Version: 1.4.16

 

Since version 1.4.16 the system allows many color codes for the same name. For example, there could be 20 colors named white, and each one would have a different hex code. In that case, the hex codes will be part of the search in the synchronization to identify the searched value. In case the match doesn’t exist (name and code), it will be added to PrestaShop.