--- title: "Installing Rich Snippets on Adobe Commerce 2" slug: "installing-rich-snippets-on-adobe-commerce-2" tags: ["Reviews ", "Adobe Commerce (Magento)", "Volusion", "WooCommerce", "Salesforce Commerce Cloud", "Custom", "BigCommerce", "Shopify Plus", "Shopify"] updated: 2026-01-21T09:38:36Z published: 2026-01-21T09:38:36Z canonical: "support.yotpo.com/installing-rich-snippets-on-adobe-commerce-2" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.yotpo.com/llms.txt > Use this file to discover all available pages before exploring further. # Installing Rich Snippets on Adobe Commerce 2 Products Reviews ###### Supported plans Starter, Pro, Premium, Enterprise ###### eCommerce Platform Adobe Commerce (Magento) To learn more about Rich Snippets and how they are automatically added to your store, please [click here](https://yotpo.document360.io/docs/installing-rich-snippets-on-adobe-commerce-2). .png?sv=2026-02-06&spr=https&st=2026-11-06T17%3A20%3A17Z&se=2026-11-06T18%3A20%3A17Z&sr=c&sp=r&sig=bvD%2FImqYNbHlHXjofh9VwEt%2FXOsoHlP2AekM%2BCK1FQ8%3D) > [!CAUTION] > **Note** > > Before you manually install any code, note that Yotpo now allows implementing Rich Snippets without any manual markup. We have a built in solution based on JSON/LD, to automatically add Rating Rich Snippets to your product pages. [Learn more](https://support.yotpo.com/docs/yotpo-reviews-rich-snippets). ## Automatic Rich Snippets (JSON-LD injection) Installing the Yotpo Plugin v. 2.4 and up will **automatically** inject the Rich Snippets code to your shop. You can view your Rich Snippets mark-up with [Google's Testing Tool](https://search.google.com/structured-data/testing-tool/u/0/) and see a separate **Product** tab that only contains Yotpo's Automatic Mark-up:However, if you don't see valid markup in the [Structured Data Testing Tool](https://search.google.com/structured-data/testing-tool/u/0/) or if you believe that Rich Snippets are not appearing in the Search Engine Organic Result Pages (SERPs), please [contact Yotpo support](https://yap.yotpo.com/#/?modal=contact_support). > [!CAUTION] > **Note** > > If you are using an older version of Yotpo, please update the version via the Adobe Commerce 2 admin. ## Manual markup (microdata) ### Enabling Rich Snippets > [!CAUTION] > **Note** > > Aggregate rating values won't start to appear until **about 24 hours** after you've activated Rich Snippets in Yotpo and implemented the code. To enable Rich Snippets (manual markup), do the following: 1. In your Yotpo Reviews main menu, go to **Meta & Google** > [**Google Rich Snippets**](https://reviews.yotpo.com/#/tools/rich_snippets)**.** 2. Turn on the toggle to activate Google Rich Snippets. .gif?sv=2026-02-06&spr=https&st=2026-11-06T17%3A20%3A17Z&se=2026-11-06T18%3A20%3A17Z&sr=c&sp=r&sig=bvD%2FImqYNbHlHXjofh9VwEt%2FXOsoHlP2AekM%2BCK1FQ8%3D) ### Retrieving aggregate scores > [!CAUTION] > **Note** > > Yotpo recommends a basic knowledge of HTML and microdata formatting as implementing Rich Snippets requires editing template files. To retrieve the total reviews and average score per product, place the following code according to your existing [markup](https://schema.org/): #### If you're using the Yotpo Reviews extension 4.0.0 and above: ```plaintext helper('Yotpo\Reviews\Helper\RichSnippets'); $array = $rs_helper->getRichSnippet($this); ?>
``` #### If you're using a previous version of the Yotpo extension: ```plaintext helper('Yotpo\Yotpo\Helper\RichSnippets'); $array = $rs_helper->getRichSnippet($this); ?> ``` #### Example: ```plaintext helper('yotpo/richSnippets')->getRichSnippet($this); ?> ``` > [!CAUTION] > **Note** > > Data is cached in the Adobe Commerce database **for 24 hours** to maintain a better user experience. > > After this code is added to the product page template and the product page is loaded/viewed for the first time, a record will be created in the Adobe Commerce database for the specific product. ### Product markup **Need help?** If you need assistance with manual markup, please refer to these resources: - [Intro to Structured Data](https://developers.google.com/search/docs/guides/intro-structured-data). - [Product Page Markup](https://developers.google.com/search/docs/data-types/product). The mandatory properties in the markup language and the way they should be nested is as follows: ```plaintext itemscope itemtype="http://schema.org/Product" | itemprop="name" | itemprop="offers" itemscope itemtype="http://schema.org/Offer" | ++ itemprop="price" | ++ itemprop="priceCurrency" | itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating" | ++ itemprop="ratingValue" | ++ itemprop="reviewCount" ``` ### Manual markup Rich Snippets troubleshooting > [!CAUTION] > **Manual markup** > > When you install the plug-in, Yotpo creates a table named **yotpo_rich_snippets**. This table holds your products' aggregate rating data used by Google's Rich Snippets. If you are using a DB prefix for your store, this table should be created with the same prefix. > > If you're having trouble with the rich snippets functionality, verify that the table was created correctly and that it holds valid values in the **average_score** and **reviews_count** columns. If this is not the case, please contact Yotpo Support. ## Validation > [!CAUTION] > **Note** > > The product must have at least one review for the testing tool to work or for ratings to appear. Test the markup on Google Structured Data [Testing Tool](https://search.google.com/structured-data/testing-tool?hl=en). The result should look like this: ## Google Crawling If you have marked up your page correctly and it shows the stars in the Google testing tool, keep in mind that you will need to wait approximately **24 hours** for it to be indexed by Google. The waiting time depends on Google. Google makes algorithmic determinations on when and how to display results in the SERPS (search engine results page), including snippet information, based on a myriad of factors including the search terms, etc. Even if they are coded correctly, snippet inclusion in the SERPS is beyond Yotpo's direct control. We would recommend focusing your efforts on making as unique and compelling a site as possible in order to increase the likelihood of your products reviews displaying in the Google search. **Manipulating or changing your *aggregateRating markup* may lead to Google penalizing your Rich Snippets results.** ## Related - [Yotpo Reviews Rich Snippets](/yotpo-reviews-rich-snippets.md) - [Installing Rich Snippets on Generic (Other Platforms)](/installing-rich-snippets-on-generic-other-platforms.md)