Cookies & analytics

    We use cookies for analytics and to serve ads. Accept to enable Google Analytics and AdSense. You can decline to stay opt-out.

    SwiftSchema Logo

    SwiftSchema

    Intuitive Schema Generation at Your Fingertips

    AboutLearnContact
      Stack

      Product Comparison Stack

      Comparison pages listing products with ItemList, representative Product details, FAQs, and breadcrumb context.

      Open generatorValidate in Rich Results Test

      When to use this stack

      • Best-of or comparison pages that list multiple products side-by-side
      • Category comparison pages needing structured list + product highlights
      • Pages where FAQs address selection, compatibility, and returns

      What's included

      • Collection Page
        Open generator

        Identifies the page as a comparison/collection landing.

      • Structures the compared items with order and IDs.

      • Provides representative product data for featured items.

      • Frequently Asked Questions
        Open generator

        Answers selection, compatibility, and policy questions.

      • Breadcrumb
        Open generator

        Provides navigation context within the site.

      Required properties (stack union)

      Ensure every applicable required property is present in your implementation. Nested props reference their parent objects (for example, `offers.priceCurrency`).

      description
      image
      itemListElement[].item.@id
      itemListElement[].name
      itemListElement[].position
      mainEntity[].@type=Question
      mainEntity[].acceptedAnswer.text
      name
      offers.availability
      offers.price
      offers.priceCurrency
      url

      Recommended properties (stack union)

      aggregateRating.ratingValue
      aggregateRating.reviewCount
      brand.name
      itemListElement[].item
      itemListElement[].name
      itemListOrder
      mainEntity.@id
      mainEntity[].acceptedAnswer.text
      mainEntity[].author.name
      mainEntity[].name
      numberOfItems
      sku

      Combined JSON-LD

      Paste as a single script tag. Keep product details, offer data, shipping/returns, and FAQ answers in sync with the page.

      Validate
      [
        {
          "@context": "https://schema.org",
          "@type": "CollectionPage",
          "@id": "https://www.example.com/guides/best-wireless-headphones#collection",
          "name": "Best Wireless Headphones",
          "description": "Top wireless headphones compared by battery life, ANC, and comfort.",
          "url": "https://www.example.com/guides/best-wireless-headphones",
          "mainEntity": { "@type": "ItemList", "@id": "https://www.example.com/guides/best-wireless-headphones#list" }
        },
        {
          "@context": "https://schema.org",
          "@type": "ItemList",
          "@id": "https://www.example.com/guides/best-wireless-headphones#list",
          "itemListOrder": "https://schema.org/ItemListOrderDescending",
          "numberOfItems": 3,
          "itemListElement": [
            {
              "@type": "ListItem",
              "position": 1,
              "name": "ACME Ultra Wireless Headphones",
              "item": { "@id": "https://www.example.com/products/ultra-headphones#product" },
              "url": "https://www.example.com/products/ultra-headphones"
            },
            {
              "@type": "ListItem",
              "position": 2,
              "name": "ACME Lite Wireless Headphones",
              "item": { "@id": "https://www.example.com/products/lite-headphones#product" },
              "url": "https://www.example.com/products/lite-headphones"
            },
            {
              "@type": "ListItem",
              "position": 3,
              "name": "ACME Studio Wireless Headphones",
              "item": { "@id": "https://www.example.com/products/studio-headphones#product" },
              "url": "https://www.example.com/products/studio-headphones"
            }
          ]
        },
        {
          "@context": "https://schema.org",
          "@type": "Product",
          "@id": "https://www.example.com/products/ultra-headphones#product",
          "name": "ACME Ultra Wireless Headphones",
          "description": "Flagship over-ear Bluetooth headphones with ANC and 45-hour battery.",
          "image": [
            "https://www.example.com/images/ultra-headphones-front.webp"
          ],
          "brand": { "@type": "Brand", "name": "ACME Audio" },
          "offers": {
            "@type": "Offer",
            "price": "199.00",
            "priceCurrency": "USD",
            "availability": "https://schema.org/InStock",
            "url": "https://www.example.com/products/ultra-headphones"
          },
          "aggregateRating": {
            "@type": "AggregateRating",
            "ratingValue": 4.7,
            "reviewCount": 128
          }
        },
        {
          "@context": "https://schema.org",
          "@type": "FAQPage",
          "mainEntity": [
            {
              "@type": "Question",
              "name": "Which headphones are best for commuting?",
              "acceptedAnswer": {
                "@type": "Answer",
                "text": "The Ultra offers the best ANC and battery life for commuting; the Lite is lighter for short trips."
              }
            },
            {
              "@type": "Question",
              "name": "Do all models support multipoint?",
              "acceptedAnswer": {
                "@type": "Answer",
                "text": "Ultra and Studio support multipoint. Lite supports single-device pairing."
              }
            },
            {
              "@type": "Question",
              "name": "What is the return policy?",
              "acceptedAnswer": {
                "@type": "Answer",
                "text": "30-day returns on all models. Start a return from your account; see the Returns page for details."
              }
            }
          ]
        },
        {
          "@context": "https://schema.org",
          "@type": "BreadcrumbList",
          "itemListElement": [
            { "@type": "ListItem", "position": 1, "name": "Home", "item": "https://www.example.com" },
            { "@type": "ListItem", "position": 2, "name": "Guides", "item": "https://www.example.com/guides" },
            { "@type": "ListItem", "position": 3, "name": "Best Wireless Headphones", "item": "https://www.example.com/guides/best-wireless-headphones" }
          ]
        }
      ]

      Implementation steps

      1. Start from your live product detail page content; ensure titles, prices, and availability match the page.
      2. Embed one JSON-LD script in the head or just before the closing body tag using the combined example as a template.
      3. Fill shipping details for each region you serve and keep them aligned with on-page shipping tables.
      4. Attach your canonical MerchantReturnPolicy URL and keep the policy text in sync with Merchant Center.
      5. Add 3–6 FAQs that address purchase blockers (shipping, returns, compatibility) and keep answers consistent with visible content.
      6. Validate in the Rich Results Test and revalidate after price/availability/policy changes.

      Common errors and fixes

      FAQs

      Do I need Product objects for every item?

      Add representative Product objects for featured items or top picks. Keep IDs, prices, and availability aligned with what’s shown on the page.

      Can I include ratings in the comparison table?

      Yes. If you display ratings on the page, mirror them in Product aggregateRating to avoid mismatches.

      References