How to show and modify the color squares (color selectors)
This tip will teach you how to choose or change the colors of small squares associated with each color type attribute
Applicable to : Merlin Backoffice ™, PrestaPricing (tuto and screen shots made with PrestaPricing)
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:
Where can I find the exact value of the color of the small squares associated with each color attribute in PrestaPricing?
- Go to the "declinations and images" tab
- Then in the sub-tab "attributes"
- Click on the gear to display the attributes
- Choose the attribute group containing your colors (by default it is called "Color")
- and 6 In the color column in the left table, the value displayed in the lines starting with # corresponds to the hexadecimal code of the color
How to change the color of small squares associated with each color attribute in PrestaPricing?
Two methods to change the color of small squares associated with each color type 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:
For it
- Double click in the color column on the color line (indicator 6 in the image above)
- This opens the selector: choose your color (in the chromatic wheel, or the table or by entering the RGB or CMYK components, or with the pipette tool ...)
- Click OK
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.
Little reminder:
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:
- The group is defined as a group containing colors
- The display type of the group is set to "color".
How do you make small squares of color appear in the page with PrestaPricing?
Next week we will see how to properly set Merlin Backoffice (or the older PrestaPricing and PrestaCategory) so that the thumbnails or photos are displayed correctly and not in the form of simple question marks.
Category's other articles Managing PrestaShop variations and attributes
-
How to set the order of display variations in your product pages?
How to
With PrestaPricing (or now Merlin Backoffice) , the Swiss knife addon for PrestaShop, you can also easily change the display order of variations of attributes in product pages. This tutorial is showing this in images, here's how
-
How to export product variations?
How to
This tutorial explains the best way to export the product variations from PrestaShop, using PrestaPricing or Merlin Backoffice addons from Sitolog
-
How to quickly create declination attributes in PrestaShop
How to
Step-by-step tutorial for adding attribute groups and attribute values to create product variations. Two methods are explained, with PrestaShop and by batch with the Merlin Backoffice module
-
How to deactivate a declination in PrestaShop without deleting it
Trick
How to
Here's a quick and easy way to deactivate one or more declinations in PrestaShop, in one or more products at a time, without having to delete them or reset their stock, thanks to Merlin Backoffice
-
Merging attributes in Prestashop
How to
A quick and easy way to combine duplicate or similar attributes into a single attribute, without having to redo the declensions