Felder für die Rich Suchergebnisse | Google Rich Snippets
Posted: 01 Sep 2022, 19:42
Moin,
ich möchte die Rich-Suchergebnisse einrichten. Mir fehlen allerdings die Felder zu den 4 gezeigten.
Kann mir die jemand nennen?
---
Hello, I want to create my google rich snippets. Can you guys tell me the four input fields that are shown below?
"ratingValue": "?",
"bestRating": "?"
"ratingValue": "?",
"reviewCount": "?"
Dnakeschön
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "Product",
"name": "' . $this->getItemData()['title'] . '",
"image": ["' . $this->getItemData()['image'] . '"],
"description": "' . $this->getItemData()['description_long'] . '",
"sku": "' . $this->getItemData()['sku'] . '",';
if($this->getItemData()['ean']){
$output .= '
"gtin13":"' . $this->getItemData()['ean'] . '",';};
if($this->getItemData()['mpn']){
$output .= '
"mpn":"' . $this->getItemData()['mpn'] . '",';};
if($this->getItemData()['upc']){
$output .= '
"upc":"' . $this->getItemData()['upc'] . '",';};
if($this->getItemData()['isbn']){
$output .= '
"isbn":"' . $this->getItemData()['isbn'] . '",';};
if($this->getItemData()['jan']){
$output .= '
"jan":"' . $this->getItemData()['jan'] . '",';};
$output .= '
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "?",
"reviewCount": "' . $this->getItemData()['???'] . '"
},
"brand": {
"@type": "Brand",
"name": "' . Factory::getConfig()->get('sitename') . '"
},
"offers": {
"@type": "Offer",
"priceCurrency": "EUR",
"price": "' . $this->getItemData()['price'] . '",
"priceValidUntil": "' . $untilDate . '",
"itemCondition": "' . $this->getItemData()['condition'] . '",
"availability": "' . $this->getItemData()['stock'] . '",
"URL": "' . Uri::current() . '",
"seller": {
"@type": "Organization",
"name": "' . Factory::getConfig()->get('sitename') . '"
}
}
}
</script>
<!-- END Item Rich Snippet -->
';
ich möchte die Rich-Suchergebnisse einrichten. Mir fehlen allerdings die Felder zu den 4 gezeigten.
Kann mir die jemand nennen?
---
Hello, I want to create my google rich snippets. Can you guys tell me the four input fields that are shown below?
"ratingValue": "?",
"bestRating": "?"
"ratingValue": "?",
"reviewCount": "?"
Dnakeschön
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "Product",
"name": "' . $this->getItemData()['title'] . '",
"image": ["' . $this->getItemData()['image'] . '"],
"description": "' . $this->getItemData()['description_long'] . '",
"sku": "' . $this->getItemData()['sku'] . '",';
if($this->getItemData()['ean']){
$output .= '
"gtin13":"' . $this->getItemData()['ean'] . '",';};
if($this->getItemData()['mpn']){
$output .= '
"mpn":"' . $this->getItemData()['mpn'] . '",';};
if($this->getItemData()['upc']){
$output .= '
"upc":"' . $this->getItemData()['upc'] . '",';};
if($this->getItemData()['isbn']){
$output .= '
"isbn":"' . $this->getItemData()['isbn'] . '",';};
if($this->getItemData()['jan']){
$output .= '
"jan":"' . $this->getItemData()['jan'] . '",';};
$output .= '
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "?",
"reviewCount": "' . $this->getItemData()['???'] . '"
},
"brand": {
"@type": "Brand",
"name": "' . Factory::getConfig()->get('sitename') . '"
},
"offers": {
"@type": "Offer",
"priceCurrency": "EUR",
"price": "' . $this->getItemData()['price'] . '",
"priceValidUntil": "' . $untilDate . '",
"itemCondition": "' . $this->getItemData()['condition'] . '",
"availability": "' . $this->getItemData()['stock'] . '",
"URL": "' . Uri::current() . '",
"seller": {
"@type": "Organization",
"name": "' . Factory::getConfig()->get('sitename') . '"
}
}
}
</script>
<!-- END Item Rich Snippet -->
';