Last active
August 5, 2022 10:53
-
-
Save pentago/f2cb99a272889c605cbb521f381e9a63 to your computer and use it in GitHub Desktop.
Tehnomanija
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type='application/ld+json'> | |
{ | |
"@context": "http://www.schema.org", | |
"@type": "LocalBusiness", | |
"name": "$COMPANY OR WEBSITE NAME HERE", | |
"description": "$META_DESCRIPTION", | |
"url": "$WEBSITE_URL", | |
"logo": "$WEBSITE_LOGO_IMAGE_URL", | |
"contactPoint": { | |
"@type": "ContactPoint", | |
"contactType": "Customer Service", | |
"telephone": "+381112223334", | |
"url": "$CONTACT_US_PAGE_URL" | |
}, | |
"sameAs": [ | |
"https://www.facebook.com/COMPANY", | |
"https://www.linkedin.com/company/COMPANY", | |
"https://twitter.com/COMPANY", | |
"https://www.instagram.com/COMPANY" | |
], | |
"department": [ | |
{ | |
"@type": "LocalBusiness", | |
"name": "$SHOP1_NAME", | |
"image": "$ABSOLUTE_URL_OF_SHOP1_PHOTO", | |
"telephone": "$SHOP1_PHONE", | |
"email": "$SHOP1_EMAIL", | |
"address": { | |
"@type": "PostalAddress", | |
"addressLocality": "$CITY", | |
"addressCountry": "RS", | |
"streetAddress": "$STREET_AND_NUMBER" | |
}, | |
"openingHours": [ | |
"Mo-Fr 09:00-21:00", | |
"Sa-Su 10:00-17:00" | |
] | |
}, | |
{ | |
"@type": "LocalBusiness", | |
"name": "$SHOP2_NAME", | |
"image": "$ABSOLUTE_URL_OF_SHOP2_PHOTO", | |
"telephone": "$SHOP2_PHONE", | |
"email": "$SHOP2_EMAIL", | |
"address": { | |
"@type": "PostalAddress", | |
"addressLocality": "$CITY", | |
"addressCountry": "RS", | |
"streetAddress": "$STREET_AND_NUMBER" | |
}, | |
"openingHours": [ | |
"Mo-Fr 09:00-21:00", | |
"Sa-Su 10:00-17:00" | |
] | |
}, | |
{ | |
"@type": "LocalBusiness", | |
"name": "$SHOP3_NAME", | |
"image": "$ABSOLUTE_URL_OF_SHOP3_PHOTO", | |
"telephone": "$SHOP3_PHONE", | |
"email": "$SHOP3_EMAIL", | |
"address": { | |
"@type": "PostalAddress", | |
"addressLocality": "$CITY", | |
"addressCountry": "RS", | |
"streetAddress": "$STREET_AND_NUMBER" | |
}, | |
"openingHours": [ | |
"Mo-Fr 09:00-21:00", | |
"Sa-Su 10:00-17:00" | |
] | |
} | |
] | |
} | |
</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="application/ld+json"> | |
{ | |
"@context": "https://schema.org/", | |
"@type": "Product", | |
"name": "$CONTENT FROM PAGE TITLE ELEMENT", | |
"image": [ | |
"$PRODUCT_IMAGE_URL1", | |
"$PRODUCT_IMAGE_URL2" | |
], | |
"description": "$CONTENT FROM META DESCRIPTION ELEMENT", | |
"brand": { | |
"@type": "Brand", | |
"name": "Apple" | |
}, | |
"offers": { | |
"@type": "Offer", | |
"price": "$PRICE AS AN INTEGER HERE (e.g. 150433)", | |
"priceCurrency": "RSD", | |
"availability": "https://schema.org/InStock", | |
"itemCondition": "https://schema.org/NewCondition", | |
"url": "$PRODUCT_URL" | |
}, | |
"aggregateRating": { | |
"@type": "AggregateRating", | |
"ratingValue": "4.4", // average value of star rating widget here https://i.imgur.com/kg31chD.png | |
"reviewCount": "89" // total number of reviews here | |
} | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment