How to mark multiple variants and specifications in Product Schema?

When multiple variants and specifications need to be marked in the Product Schema, the "hasVariant" property is usually used to associate the main product with variants, and independent specification parameters are defined for each variant. The main product should use the "Product" type, and variants can be nested with "Product" or "ProductModel" types to ensure a clear hierarchy. Basic structure: The main product lists all variants through the "hasVariant" array, and each variant must contain core attributes: - Specification identification: Use "name" (e.g., "Red XL Size") and "sku" to distinguish different variants; - Feature parameters: Mark specific specifications through attributes such as "color", "size", and "material"; - Transaction information: The "offers" of the variant need to be defined separately for price, inventory, etc., to avoid confusion with the main product. Example scenarios: Color variants: The main product "Sports Shoes" is associated with "Black Sports Shoes" and "White Sports Shoes" through "hasVariant", each marked with "color": "Black"/"White"; Size variants: Under the same color, subdivide by "size": "42"/"43", with each size corresponding to an independent "sku" and "offers". It is recommended to use Google's Schema Markup Validation Tool to check the structural integrity, ensure the accurate association logic between variants and the main product, and improve search engines' understanding of product diversity.


