To resolve the "Missing field 'review' (optional)" and "Missing field 'priceValidUntil' (optional)" warnings in rich data using the Google Rich Snippets extension by Amasty, it needs to ensure that your structured data is configured to include these details. Below is a guide on how to address these warnings through the extension.
Missing field 'review' (optional)
The "Missing field 'review' (optional)" warning in rich data in Magento 2 indicates that the structured data for your products does not include review information. While this field is optional, including it can enhance your product listings by displaying reviews in search results, potentially improving click-through rates.
1. Firstly, it is necessary to ensure reviews are enabled. Go to the Magento 2 Admin Panel and navigate to Stores > Configuration > Catalog > Catalog. In the Product Reviews section, make sure that reviews are enabled:
2. Then, it is necessary to check if there is at least one approved review for the product in question within the store view processed in the rich data. To do so, please, navigate to Marketing > User Content > All reviews:
3. Finally, navigate to Stores > Configuration > Amasty Extensions > SEO Toolkit > SEO Rich data and enable the Show Rating setting within the Product Rich Data block:
priceValidUntil' (optional)
The "priceValidUntil" field is typically used for products with time-limited offers or sales.
- To ensure that you are defining and setting expiration dates for promotional prices in your Magento store, you need to navigate to Catalog > Products and open the settings of the product with the Special Price set.
- There, click on the Advanced Pricing and the Special Price From and To Fields:
Using our Google Rich Snippets module, it is possible to specify the default value for the Special Price To field, that will be applicable for all products with special prices.
To configure this, please navigate to Stores > Configuration > Amasty Extensions > SEO Toolkit > SEO Rich data > Product Rich Data and specify the priceValidUntil Default Value:
These steps should help you resolve the specified warnings by properly configuring the structured data outputs to include reviews and the necessary offer information using the Amasty extension.