Category attributes define specific characteristics of a category, describing items within it. These attributes support SEO and merchandising by acting as tags for different product categories and facilitating the creation of landing pages for various product types. Using categories, merchants can organize products into a tree structure of subcategories, and each item belongs to one category or subcategory. Attributes added to higher-level categories are inherited by subcategories, ensuring consistency in organizing product information.
Common use cases for category attributes encompass search engine optimization and merchandising. In terms of SEO, category attributes serve to "tag" various product categories. Additionally, merchants can leverage category attributes to facilitate the creation of landing pages for different product types.
fabric supports the following attribute types for storing category information:
Text: A sequence of characters allowing the storage of text, numbers, or special characters. The text attribute has three subtypes:
- Small text: Suitable for single-line text attributes.
- Text Area: Ideal for multi-line text attributes.
- Html: Supports HTML in text area attributes.
Number Only: Used when the value is consistently a number.
Date: Supports all date-related formats. Importantly, the date format is fixed upon attribute creation, and if changes are needed, deletion and recreation with the required format are necessary.
Boolean: Represents a Boolean value (true/false) for a category attribute. When importing attributes from an external system, ensure that true or false values are specified for all Boolean attribute types.
For each attribute type, certain fields are optional, while others are required. Failure to provide required fields will result in an "Unable to create attribute" error message.
The table below delineates the attribute types and their properties, aiding in the determination of mandatory and optional attributes. To uphold data quality, one or more validations should be provided based on the selected attribute type.
Updated 12 days ago