Created
April 7, 2023 09:36
-
-
Save PechenkiUA/9043375a8600ea5b46bea5c54bc8bb71 to your computer and use it in GitHub Desktop.
minishop2 modx schema.org Product
This file contains 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": "[[*pagetitle]]", | |
"image": "[[*image]]", | |
"description": "[[*introtext:strip_tags:escape:notags]]", | |
"sku": "[[+id]]", | |
"brand": { | |
"@type": "Brand", | |
"name": "[[*brand]]" | |
}, | |
"offers": { | |
"@type": "Offer", | |
"url": "[[~[[*id]]]]", | |
"priceCurrency": "UAH", | |
"price": "[[*price]]", | |
"availability": "https://schema.org/[[*stock]]" | |
} | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment