Как правильно настроить схему предложения нескольких продуктов на странице - PullRequest
0 голосов
/ 14 февраля 2020

Почему-то мне очень трудно это выяснить. Я посмотрел здесь:

https://developers.google.com/search/docs/data-types/product

А здесь:

https://schema.org/Product

Но ни один из приведенных примеров не показывает, как добавить несколько предложений товаров на страницу. Чтобы проиллюстрировать то, о чем я говорю, вот пример на нашем сайте:

https://reclaimdesign.org/vases-reclaimed-wood-stands.html

У меня было время от времени с поддержкой RankMath по этому поводу и они говорят мне, что это невозможно. Я не верю, что они правы, говоря это, но я не могу найти 100% неопровержимых доказательств, чтобы проиллюстрировать обратное.

В настоящее время я работаю над созданием схемы самостоятельно (так как сейчас все кажется пустая трата времени). Мой код схемы для приведенной выше страницы проверяется в инструменте тестирования структурированных данных:

`<script type="application/ld+json">
{
  "@context": "http://schema.org",
  "@type": "Product",
  "brand": "Reclaim Design",
  "logo": "https://reclaimdesign.org/wp-content/uploads/reclaim-design-logo.jpg",
  "name": "4 Glamorous Sustainable Vases – Home Decor | Reclaim Design",
  "image": [   "https://reclaimdesign.org/wp-content/uploads/1x1/test-tube-vases-sustainable-reclaimed-wood-stand1.jpg",    
"https://reclaimdesign.org/wp-content/uploads/4x3/test-tube-vases-sustainable-reclaimed-wood-stand1.jpg", 
"https://reclaimdesign.org/wp-content/uploads/16x9/test-tube-vases-sustainable-reclaimed-wood-stand1.jpg","https://reclaimdesign.org/wp-content/uploads/1x1/test-tube-vases-sustainable-reclaimed-wood-stand5.jpg",    
"https://reclaimdesign.org/wp-content/uploads/4x3/test-tube-vases-sustainable-reclaimed-wood-stand5.jpg", 
"https://reclaimdesign.org/wp-content/uploads/16x9/test-tube-vases-sustainable-reclaimed-wood-stand5.jpg","https://reclaimdesign.org/wp-content/uploads/1x1/bottle-vases-sustainable-reclaimed-wood-stand1.jpg",    
"https://reclaimdesign.org/wp-content/uploads/4x3/bottle-vases-sustainable-reclaimed-wood-stand1.jpg", 
"https://reclaimdesign.org/wp-content/uploads/16x9/bottle-vases-sustainable-reclaimed-wood-stand1.jpg","https://reclaimdesign.org/wp-content/uploads/1x1/recycled-gin-bottle-vase-sustainable-reclaimed-wood-stand.jpg",    
"https://reclaimdesign.org/wp-content/uploads/4x3/recycled-gin-bottle-vase-sustainable-reclaimed-wood-stand.jpg", 
"https://reclaimdesign.org/wp-content/uploads/16x9/recycled-gin-bottle-vase-sustainable-reclaimed-wood-stand.jpg"
   ],
  "url": "https://reclaimdesign.org/vases-reclaimed-wood-stands.html",
  "@id": "https://reclaimdesign.org/vases-reclaimed-wood-stands.html",
  "potentialAction": {
    "@type": "SearchAction",
    "target": "https://reclaimdesign.org/search?q={search_term_string}",
    "query-input": "required name=search_term_string"
  },
  "sameAs":
["https://www.facebook.com/reclaimdesignza",
"https://twitter.com/ReclaimDesignZA",
"https://www.instagram.com/reclaimdesign/",
"https://za.pinterest.com/reclaimdesignza/",
"https://www.google.com/maps/place/Reclaim+Design/@-34.03081,18.4517513,17z/data=!3m1!4b1!4m5!3m4!1s0x1dcc4242e6ad5367:0xcf5844aec51f1a43!8m2!3d-34.03081!4d18.45394"
],
  "description": "Click here to find out more about our sustainable vases and vase sets with reclaimed wood stands | Reclaim Design",
  "offers": [{
    "@type": "Offer",
    "availability": "http://schema.org/InStock",
    "price": "390",
    "priceCurrency": "ZAR",
    "url": "https://reclaimdesign.org/home-decor-shop.html/Test-Tube-Vases-With-Stand-p134947241"
  },{
    "@type": "Offer",
    "availability": "http://schema.org/InStock",
    "price": "290",
    "priceCurrency": "ZAR",
    "url": "https://reclaimdesign.org/home-decor-shop.html/Test-Tube-Vases-With-Stand-p134947241"
  },{
    "@type": "Offer",
    "availability": "http://schema.org/InStock",
    "price": "370",
    "priceCurrency": "ZAR",
    "url": "https://reclaimdesign.org/home-decor-shop.html/Bottle-Vases-with-Stand-p65343612"
  },{
    "@type": "Offer",
    "availability": "http://schema.org/InStock",
    "price": "250",
    "priceCurrency": "ZAR",
    "url": "https://reclaimdesign.org/vases-reclaimed-wood-stands.html"
  },{
    "@type": "Offer",
    "availability": "http://schema.org/InStock",
    "price": "300",
    "priceCurrency": "ZAR",
    "url": "https://reclaimdesign.org/home-decor-shop.html/Floating-Globe-Vase-With-Stand-p65346003"
  }]
}
</script>`

Служба поддержки RankMath говорит мне: «Вы не должны использовать более одной схемы продукта на страницу. Это не имеет особого смысла и будет только запутать гугл. " Если они правы, то зачем тогда проверять код в собственном инструменте тестирования Google?

Пожалуйста, кто-нибудь, имеющий опыт в этой области, может объяснить, как правильно это сделать? ТИА

1 Ответ

0 голосов
/ 19 февраля 2020

Вы можете пометить свои услуги как продукт.

Две причины сделать это

Google не поддерживает разметку «услуги» Услуги включены в определение продукта в schema.org. Если вы иметь несколько разных услуг на одной странице, а затем разметить их одну за другой - по отдельности.

Если у вас есть те же услуги, но с яркими опциями и ценовыми пакетами, тогда используйте совокупную разметку продукта.

Подробнее о Разметка продукта структурированных данных Google. Вы получите образец кода, который вы можете изменить в соответствии с требованиями.

...