Structured Data¶
With the following placeholders, you can add structured data for a product inside a product template.
{{ StructuredDataJsonLd }}¶
With this placeholder, you can add structured data about a product inside a template in JSON-LD format.
// Usage:
<div>
// your template code
{{ StructuredDataJsonLd }}
</div>
// Result:
<div>
// your template code
<script type="application/ld+json">{"@context":"https:\/\/schema.org\/","@type":"Product","name":"Apple iPhone 15 Pro (128 GB) - Titan Natur","description":"","image":"https:\/\/m.media-amazon.com\/images\/I\/41biRVTcO5L._SL160_.jpg","offers":{"@type":"Offer","url":"https:\/\/www.amazon.de\/dp\/B0CHWWM3JH?tag=xyz-21&linkCode=ogi&th=1&psc=1","price":"1.049.00","priceCurrency":"EUR","availability":"https:\/\/schema.org\/InStock","seller":{"@type":"Organization","name":"Apple"}},"aggregateRating":{"@type":"AggregateRating","reviewCount":0}}</script>
</div>