21/10/2023 Franck Bugnet How to

How to create attribute groups and attribute values in PrestaShop

As a reminder, before you can create product declinations, you need to create the attribute groups and attribute values used by them.

If all this remains confusing, check out this little glossary covering all these terms and a bit more.

In this article, we'll explain two ways to go about it, the first with PrestaShop and its limitations, the other with the magic and power of Merlin Backoffice™.


Add or modify an attribute group in PrestaShop 1.7



  1. Open the "Catalog" menu.
  2. <Select "Attributes".
  3. Go to the "Attributes" tab.
  4. The attribute groups already created are listed.
  5. Click on the first + button to create a new group.
  6. To modify or delete an attribute group, click on the drop-down arrow
  7. .
  8. Select "Modify" to change it:


How to add or modify an attribute group in PrestaShop

Whether you're creating a new group or modifying an existing one, you'll arrive at the same form, with three mandatory fields to fill in:

  1. The name of the attribute group, used only in administration.
  2. The public name, this is the one used on the site.
  3. The attribute type, determining the type of selector used in the store to choose an attribute, either a drop-down list, or checkboxes (radio buttons), or finally colored square patterns.
  4. Don't forget to register:


PrestaShop attribute group creation and modification form


Add or modify an attribute group in PrestaShop 1.6



The approach is virtually similar. The only differences are:

  • This is accessed via the "Attributes and values" menu.
  • There are no tabs to choose from (different page from "Features").
  • The form contains more fields (9 -10 - 11 on the capture), used only if the facet navigation module is activated:


How to create attribute groups with PrestaShop 1.6

Add or modify an attribute (or attribute value) in PrestaShop 1.7

  1. In the same way, go to the "Catalalogue" menu.
  2. Then go to the "Attributes and features" page.
  3. Stay in the "Attributes" tab.
  4. Click on the second + button to add a new value (or attribute).
  5. Choose the "Attribute group" (note in passing PrestaShop's lack of consistency in the choice of terms).
  6. Enter the value of the attribute.
  7. Eventually the color of the attribute if the group is a color group.
  8. Eventually the texture file if the group is a group of textured colors.
  9. Save (with choice to remain or name on same page).


How to add an attribute value with PrestaShop 1.7

Managing attributes with the PrestaShop Merlin Backoffice module ™

The basic principle of this module, being to be able to manage the catalog faster, this obviously also includes managing attribute groups and attribute values. This is why a tab in the application is dedicated to them, allowing you to do many different things en masse, i.e. on a selection of several attribute groups and values.



Some examples of what can be achieved from this tab:

  • Create new attribute groups and values, and of course delete them en masse.
  • Change the display order of store attributes manually and automatically (e.g. alphanumerically).
  • Choose colors from a color chart.
  • Modify attribute types.
  • Associate and de-associate store attributes.
  • Modify names and values en masse with MagicEdit.
  • Translate and mass-edit translations of names, public names and attribute values.
  • Copy a selection of values from one group (or several groups), to one or several other groups.
  • And of course, select values for use in the declination generator and launch it.

On this page, we'll just show you how to add some. Other features will be covered in other, more detailed tutorials.



Let's start by looking at the existing attributes in PrestaShop

.

  1. Go to the "Declinations and images" tab.
  2. Then go to the "Attributes" sub-tab.
  3. And finally click on the "View" button.
  4. On the left you then have the list of attribute groups, and on the right the list of attribute values for various selected groups:


Managing attributes with the PrestaShop Merlin Backoffice module


How to add a new attribute group

  1. Click on the "+New" button on the left-hand table
  2. Give your new group a name, a public name, define it or not as a color group and choose its type.
  3. Validate.


How to add a new PrestaShop attribute

How to add a new attribute value (or a new attribute in PrestaShop terms)

  1. Select the attribute group to be enriched.
  2. Click on the "+New" button in the right-hand table.
  3. Give your new attribute a value.
  4. If it's a color, you can either enter it directly dasn the field, in the form #rrggbb or click on the button opening the color palettes.
  5. If you've opened the palette, select a color.
  6. Validate.


Add a new attribute value to an attribute



NEED TO KNOW: Merlin is also capable of copying attributes from one group to other groups, or even merging attribute lists between several groups. For example, if you have two different color groups (because your products have two different color zones, both of which can be customized), it's very practical and, above all, quicker not to have to recreate all the colors for the second group, but simply to copy them in one click from the first group. This is briefly demonstrated in the general training video on the subject of variations. A step-by-step tutorial will also be added to this knowledge base shortly.

Category's other articles Managing PrestaShop variations and attributes

Settings
  • Login
    • £ GBP
    • $ USD
Menu