Created
September 23, 2021 15:22
-
-
Save pentago/14eb0c194d3e2490a555c2f629005f75 to your computer and use it in GitHub Desktop.
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": "$PRODUCT_NAME_AND_MODEL", // e.g. "Aplple iPhone 12 256GB" | |
"description": "$PRODUCT_DESCRIPTION_TEXT", | |
"image": "$PRODUCT_IMAGE_ABSOLUTE_URL", | |
"brand": { | |
"@type": "Brand", | |
"name": "$BRAND_NAME", // e.g. "Apple" | |
"logo": "$BRAND_IMAGE_LOGO_ABSOLUTE_URL" | |
}, | |
"category": "Mobile Devices", //can be anything you think is relevant (Mobile, Tablet, Router, etc.) | |
"offers": { | |
"@type": "AggregateOffer", | |
"priceCurrency": "RSD", | |
"availability": "http://schema.org/InStock", // use any of statuses here https://schema.org/ItemAvailability | |
"lowPrice": 150000, // lowest possible product price, depending on tarrif selected | |
"highPrice": 200000, // highest possible product price, depending on tarrif selected | |
"offerCount": 8, // how much offers/variants in total there are | |
"seller": { | |
"@type": "Organization", | |
"name": "A1", | |
"url": "https://a1.rs" | |
} | |
} | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment