Skip to content

Rich Snippets

Introduction

The Rich Snippets Extension for Magento 2 adds various structured data, Open Graph markup and Twitter Cards markup to your website pages. Search results include many types of display features, many of which require structured data on the page. Structured data is not only designed to show search results in a certain way, it helps search engines analyze the information on your site, optimize searches, and expand their knowledge network. Rich Snippets Extension is designed to help drive traffic to your website.

Validate the structured data added by our extension using the Rich Results Test.

Example of product page code validation: Product Page Rich Results

Example of home page code validation: Home Page Rich Results

Configuration

Stores > Configuration > ECWHIM SEO > Rich Snippets

Configuring the Rich Snippets Extension

Configuring the Breadcrumb

FIELD DESCRIPTION
Enable Determines whether functionality for adding breadcrumb markup to product and category pages is enabled. Options: Yes / No

Local Business

Configuring the Local Business

Set Enable to Yes to see more settings.

Full Configuring the Local Business

FIELD DESCRIPTION
Enable Determines whether functionality for adding local business markup to the home page is enabled. Options: Yes / No
More Specific Type Determines the most specific LocalBusiness sub-type possible.
Image An image of the business.
Name The name of the business.
Street Address The street address.
City/Locality The locality in which the street address is, and which is in the region.
Region/State The region in which the locality is, and which is in the country. For example: California or CA
ZIP/Postal Code The postal code.
Country The country.
Phone Number The telephone number. A business phone number meant to be the primary contact method for customers. Be sure to include the country code and area code in the phone number.
Latitude The latitude of the business location. The precision must be at least 5 decimal places.
Longitude The longitude of the business location. The precision must be at least 5 decimal places.
Price Range The relative price range of a business, commonly specified by either a numerical range (for example, $10-15) or a normalized number of currency signs (for example, $$$).
Business Hours Determines the hours during which the business location is open.
  • Day Of Week The day(s) of the week for which these opening hours are valid. Options: Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday
  • Opening Time The time the business location opens, in hh:mm format.
  • Closing Time The time the business location closes, in hh:mm format.

Configuring the Logo

FIELD DESCRIPTION
Enable Determines whether functionality for adding logo markup to the home page is enabled. Options: Yes / No
Logo A logo that is representative of the organization.

Product

Configuring the Product

FIELD DESCRIPTION
Enable Determines whether functionality for adding product markup to the product page is enabled. Options: Yes / No
Add Product Images Determines the extent that images are included in the markup. Options: Base Only / All
Description Determines the attribute whose value will be used in the markup for the description property.
MPN Determines the attribute whose value will be used in the markup for the mpn property. If set to Do not add, the mpn property will not be included in the markup.
GTIN Determines the attribute whose value will be used in the markup for the gtin property. If set to Do not add, the gtin property will not be included in the markup.
Brand Determines the attribute whose value will be used in the markup for the brand property. If set to Do not add, the brand property will not be included in the markup.
Add Review Determines whether to include the review property in the markup. Options: Yes / No
Add Aggregate Rating Determines whether to include the aggregateRating property in the markup. Options: Yes / No
Best Rating The highest value allowed in this rating system. Options: 5 / 10 / 100
Price Valid Until The date after which the price is no longer available.
Add Weight Determines whether to include the weight property in the markup. Options: Yes / No
Item Condition Defines an attribute whose value will be used to determine the value of the itemCondition property. If set to Default Value, the value of the itemCondition property is determined by the Item Condition Default Value setting. If set to Do not add, the itemCondition property will not be included in the markup.
Item Condition Default Value Determines the default value of the itemCondition property. Options: New / Used / Damaged / Refurbished
Item Condition Values Determines the value of the itemCondition property according to the value of the attribute specified in the Item Condition setting.

Offer Shipping Details

Configuring Offer Shipping Details

FIELD DESCRIPTION
Add Shipping Details Determines whether to include the shippingDetails property in the markup. Options: Yes / No
Business Days Days of the week when the merchant typically operates. Options: Monday / Tuesday / Wednesday / Thursday / Friday / Saturday / Sunday
Cutoff Time Order cutoff time allows merchants to describe the time after which they will no longer process orders received on that day. For orders processed after cutoff time, one day gets added to the delivery time estimate.
Min Days for Handling Time The minimum number of days between the receipt of the order and the goods leaving the warehouse.
Max Days for Handling Time The maximum number of days between the receipt of the order and the goods leaving the warehouse.
Min Days for Transit Time The minimum number of days between when the order has been sent for delivery and when the goods reach the final customer.
Max Days for Transit Time The maximum number of days between when the order has been sent for delivery and when the goods reach the final customer.
Shipping Destination Country The country.
Shipping Destination Region Identifies the region for the customer delivery area.
Do not provide both a region and postal code information.
Shipping Destination Postal Code The postal code.
Shipping Rate The cost of shipping to the specified destination.
To specify free shipping, set the value to 0.
Max Shipping Rate The maximum cost of shipping to the specified destination.
To specify free shipping, set the value to 0.

Merchant Return Policy

Configuring the Merchant Return Policy

FIELD DESCRIPTION
Add Merchant Return Policy Determines whether to include the hasMerchantReturnPolicy property in the markup. Options: Yes / No
Applicable Country The country that the return policy applies to.
Return Policy Category The type of return policy. Options: MerchantReturnFiniteReturnWindow / MerchantReturnNotPermitted / MerchantReturnUnlimitedWindow.
If set to MerchantReturnFiniteReturnWindow, then the Merchant Return Days setting is required.
Merchant Return Days Specifies the number of days (from the delivery date) that a product can be returned.
Return Fees Type Specifies the type of return fees. Options: Do not add / FreeReturn / ReturnFeesCustomerResponsibility / ReturnShippingFees.
If set to Do not add, the returnFees property will not be included in the markup.
Return Method The type of return method offered. Use one or more of the following options: ReturnAtKiosk / ReturnByMail / ReturnInStore
Return Shipping Fees Amount The cost of shipping for returning a product. This setting is available when Return Fees Type is set to ReturnShippingFees.

Configuring the Sitelinks Search Box

FIELD DESCRIPTION
Enable Determines whether functionality for adding sitelinks search box markup to the home page is enabled. Options: Yes / No

Open Graph protocol

Configuring the Open Graph protocol

Set Enable to Yes to see more settings.

Full Configuring the Open Graph protocol

FIELD DESCRIPTION
Enable Determines whether functionality for adding Open Graph protocol markup to a web page is enabled. Options: Yes / No
Facebook App Id Enter the Facebook App Id to use Facebook Insights. Insights lets you view analytics for traffic to your site from Facebook.
Enable on Determines the types of pages for which the functionality for adding Open Graph protocol markup is enabled. Options: Product Page / Category Page / CMS Page / Home Page

Twitter Cards

Configuring the Twitter Cards

Set Enable to Yes to see more settings.

Full Configuring the Twitter Cards

FIELD DESCRIPTION
Enable Determines whether functionality for adding Twitter Card markup to a web page is enabled. Options: Yes / No
Twitter Username The Twitter @username the card should be attributed to.
Enable on Determines the types of pages for which the functionality for adding Twitter Card markup is enabled. Options: Product Page / Category Page / CMS Page / Home Page