Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="application/ld+json">
- {
- "@context": "http://schema.org",
- "@type": "Product",
- "name": "$PRODUCT_NAME_HERE", // populate from <title>
- "description": "$PRODUCT_DESCRIPTION_HERE", // populate from meta description
- "url": "$PRODUCT_PAGE_URL_HERE",
- "category": "$PRODUCT_CATEGORY_HERE", // populate with product's top level category
- "sku": "$PRODUCT_SKU_ID_HERE", // populate with product's SKU ID
- "brand": {
- "@type": "Brand",
- "name": "$BRAND_NAME_HERE", // populate with brand name
- "logo": "$BRAND_LOGO_HERE" // populate with brand logo image URL
- },
- "offers": {
- "@type": "Offer",
- "price": "100", // populate with real price
- "priceCurrency": "HRK",
- "availability": "http://schema.org/InStock" // populate with availability
- },
- "aggregateRating": {
- "@type": "AggregateRating",
- "ratingValue": "4", // populate with average number of star rating
- "reviewCount": "22" // populate with number of reviews
- }
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement