Type
magento2-module
Magento Structured Data Module by outer/edge
magento2-module
MIT
None
None
None
None
None
None
Our open source module allows you to quickly add structured data markup to any Magento 2 store by simply installing our module and setting a few configuration options. Once this module is installed you will have valid structured data in the source of your product, contact and CMS pages. For example: https://developers.google.com/search/docs/advanced/structured-data/product
This will look similar to the below:
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "Product",
"@id": "https://example.co.uk/blue-t-shirt#Product",
"brand": {
"@type": "Brand",
"name": "Nike"
},
"aggregateRating": {
"@type": "AggregateRating",
"bestRating": "100",
"worstRating": "1",
"ratingValue": "4.55",
"reviewCount": "5"
},
"name": "Nike Blue T-Shirt",
"sku": "blue-t-shirt",
"description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer viverra vitae nulla quis venenatis. Donec sollicitudin pharetra eros, in facilisis justo fringilla eu. In at consequat felis.",
"image": "https://example.co.uk/media/catalog/product/b/t/blue-t-shirt.jpg",
"offers": {
"@type": "Offer",
"url": "https://example.co.uk/blue-t-shirt",
"price": 18.99,
"priceCurrency": "GBP",
"priceSpecification": {
"price": 18.99,
"priceCurrency": "GBP",
"valueAddedTaxIncluded": true
},
"availability": "http://schema.org/InStock",
"itemCondition": "http://schema.org/NewCondition"
}
}
</script>
The module provides the following structured data:
composer require outeredge/magento-structured-data-module
Configuration is available in Stores > Configuration > outer/edge > Structured Data
. The following options are available:
short_description
attribute for the description
markup. By default description
will be used.weight
schema to product page structured data.brand
schema. If not specified the module will automatically check for manufacturer
and brand
attributes."@type": "AboutPage"
."@type": "AboutPage"
.Once the module is installed and configured you will find the schema markup in your source code:
https://developers.google.com/search/docs/guides/intro-structured-data https://developers.google.com/search/docs/advanced/structured-data/product
http://schema.org/