We will explain how to choose or modify the colors of small squares associated with color attributes, which appear in the product pages of PrestaShop sites, as in this example:
How to change the color of small squares associated with each color attribute in PrestaPricing?
The first method is to edit the hexadecimal code directly in the "6" field if you know it.
For example #ffffff means white and # 000000 means black. This is a standard #RGB code. You can use this code to enter precise colors, for example found in a Pantone color chart.
The second method is to fetch the color in the selector:
Tip: If the cell is empty without color, double-clicking does not open the color picker. Just type # in the cell, change row to save this value and return to the cell marked # then proceed as described above, double-click the cell to open the selector and choose your color.
In order for small squares to appear on the page, the attributes group must be defined as a group of colors and more than its type of display must be defined as being of the "color" type. You can do it directly from PrestaPricing, in the table of attribute groups:
How do you make small squares of color appear in the page with PrestaPricing?
Next week we will see how to properly set PrestaPricing and PrestaCategories so that the thumbnails or photos are displayed correctly and not in the form of simple question marks.
Category's other articles