These settings allow you to customize the titles of single variation products in your WooCommerce store. By defining how the title and attributes are displayed, you can make the variations easily identifiable and more descriptive for your customers.
1. Single Variation Title: This field sets the global title format for single variation products. Use {title}
to represent the parent product title and {attributes}
to insert the variation’s attributes. This template helps in dynamically generating variation titles based on the parent product and its specific attributes.
Examples:
{title} in {attributes}
: This would generate titles like “Hoodie in Red, XXL”.{title} in {attributes}
with Attributes Structure as{attribute_name} {attribute_value}
: This could look like “Hoodie in Color Red”.{attributes} {title}
with Attributes Structure as{attribute_value}
: This might result in titles like “Red Hoodie”.
Use Case: Customize how variation titles appear to make them more meaningful and aligned with your store’s naming conventions.
2. Attributes Structure: Defines the structure of how attribute data is displayed within the variation title. Use {attribute_name}
for the attribute’s name (e.g., “Color”) and {attribute_value}
for the value (e.g., “Red”). This setting helps in controlling the format of how attributes are combined in the title.
Examples:
{attribute_name} {attribute_value}
: Displays as “Color Red”.{attribute_name}: {attribute_value}
: Displays as “Color: Red”.{attribute_value}
: Displays only the value, like “Red”.
Use Case: Use this setting to specify the exact format of attributes in titles, whether you prefer a more detailed (“Color Red”) or a concise (“Red”) display.
3. Attributes Separator: Specifies the character or word used to separate multiple attribute values in the title. Common separators include commas (,), slashes (/), or conjunctions like “and”.
Examples:
- Comma
,
: Attributes appear as “Red, XXL”. - Slash
/
: Attributes appear as “Red / XXL”. - “and”: Attributes appear as “Red and XXL”.
Use Case: Adjust this setting to change how multiple attributes are visually separated in variation titles, enhancing readability and alignment with your brand’s style.
Use Case Scenarios
- Scenario 1: If your store sells clothing and you want each variation’s title to clearly state the product along with its color and size, configure the title format to include both
{title}
and{attributes}
with appropriate structuring and separation. - Scenario 2: For products where attributes are more important than the parent title (e.g., technical specs), you might prioritize
{attributes} {title}
or even just{attributes}
in the title format.