Default field values

To save time when creating products, the default value of several product fields references values from another field. You can either accept the default value or enter another. The following fields have automatically generated default values:

FieldDefault
SKUBased on product name.
Meta TitleBased on product name.
Meta KeywordsBased on product name.
Meta DescriptionBased on product name and description.

The placeholders that represent the value of another field are enclosed in double-curly braces. Any attribute code that is included in the product attribute set can be used as a placeholder.

Product Fields Auto-Generation

For a detailed list of these settings, see Product Fields Auto-Generation in the Configuration Reference.

Edit the placeholder value

  1. On the Admin sidebar, go to Stores > Settings > Configuration.

  2. In the left panel, expand Catalog and choose Catalog underneath.

  3. Expand Expansion selector the Product Fields Auto-Generation section and make any needed changes to the placeholder values.

    For example, if there is a specific keyword that you want to include for every product or a phrase that you want to include in every meta description, enter the value directly into the appropriate field.

    NOTE
    If you want to keep the existing placeholder values, preserve the double curly braces that enclose each markup tag.
  4. When complete, click Save Config.

Common placeholders

  • {{color}}
  • {{country_of_manufacture}}
  • {{description}}
  • {{gender}}
  • {{material}}
  • {{name}}
  • {{short_description}}
  • {{size}}
  • {{sku}}
Previous pageProducts list
Next pageCreate a product

Commerce