Relation > Attribute

Overview

A usefull feature for eCommece websites is the possibility to link your content to a product’s attribute.
For instance, you want to select your products depending on their attribute “color”

Add a new field → Input type and select Attribute

Then in the additional setting “Attribute” select “Color” (or any attribute in the list)

Screenshot

advanced content manager for magento 2 documentation

Settings

  • Title: Label of the field
  • Identifier: Unique ID, used for template redefinition and custom script. By default, the identifier is set by a concatenation of the Custom Type identifier (eg “all_fields”) and Title (eg. “text”).
  • Input type: current definition of the field type. Note that after saving, you’ll be unable to change the Input type.
  • Required: defines if the field is mandatory or not when user will complete the content form.
  • Show in Grid: define if the field will be available to be showed in the content listing (under CMS → Your content type name).
  • Note: A note which will be displayed under the field to help the webmaster, or give information about this field.
loader
Chargement en cours...