0

I have a photography business that offers multiple services. Our site is hosted with Zenfolio. They allow me to create custom web pages that contain HTML and CSS as expected.

One of our services pages is Maternity & Newborn. We offer several packages. As of right now, I don't have any schema.org data on that page, Google Webmaster Tools shows that I have structured data and is showing one price- not sure where they are getting that from.

How can I add multiple products and prices using the schema?

Here's what I'm using on another page that offers just one product:

<script type="application/ld+json">
{
  "@context": "https://schema.org/",
  "@type": "Product",
  "name": "Name here",
  "image": "p2222510803-3.jpg",
  "description": "Desc",
  "sku": "skuhere",
  "brand": {
    "@type": "Thing",
    "name": "Product1"
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.9",
    "reviewCount": "17"
  },
  "offers": {
    "@type": "Offer",
    "priceCurrency": "USD",
    "price": "250.00",
    "priceValidUntil": "2020-01-01",
    "itemCondition": "https://schema.org/NewCondition",
    "availability": "https://schema.org/InStock",
    "seller": {
      "@type": "Organization",
      "name": "CompName"
    }
  }
}
</script>
0

You use the schema to describe the meaning of a single page. When they click on a particular product to go to its page, that's when you add a schema for that particular product.

More info: https://schema.org/docs/gs.html

  • Hi, what I have a page that describes a service and that particular service has multiple packages. I want to specify those if possible... – JK81 Aug 14 '18 at 21:45
0

You are looking for a Service with an OfferCatalog. Here is an example of how to get started, lifted directly from Schema.org under CC-BY-SA:

<script type="application/ld+json">
{
  "@context": "http://schema.org/",
  "@type": "Service",
  "serviceType": "Weekly home cleaning",
  "provider": {
    "@type": "LocalBusiness",
    "name": "ACME Home Cleaning"
  },
  "areaServed": {
    "@type": "State",
    "name": "Massachusetts"
  },
  "hasOfferCatalog": {
    "@type": "OfferCatalog",
    "name": "Cleaning services",
    "itemListElement": [
      {
        "@type": "OfferCatalog",
        "name": "House Cleaning",
        "itemListElement": [
          {
            "@type": "Offer",
            "itemOffered": {
              "@type": "Service",
              "name": "Apartment light cleaning"
            }
          },
          {
            "@type": "Offer",
            "itemOffered": {
              "@type": "Service",
              "name": "House light cleaning up to 2 bedrooms"
            }
          },
          {
            "@type": "Offer",
            "itemOffered": {
              "@type": "Service",
              "name": "House light cleaning 3+ bedrooms"
            }
          }
        ]
      },
      {
        "@type": "OfferCatalog",
        "name": "One-time services",
        "itemListElement": [
          {
            "@type": "Offer",
            "itemOffered": {
              "@type": "Service",
              "name": "Window washing"
            }
          },
          {
            "@type": "Offer",
            "itemOffered": {
              "@type": "Service",
              "name": "Carpet cleaning"
            }
          },
          {
            "@type": "Offer",
            "itemOffered": {
              "@type": "Service",
              "name": "Move in/out cleaning"
            }
          }
        ]
      }
    ]
  }
}
</script>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.