> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.widereviewapp.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Displaying the rating on old themes

Wide Hello!

Here is how to show the rating if you're using an [old theme](https://help.shopify.com/en/manual/online-store/themes/themes-by-shopify/vintage-themes) by adding code.

|| If you're using a new Shopify theme 2.0, you can click here to learn how to display the different WideReview widgets.

![](https://storage.crisp.chat/users/helpdesk/website/fb9ba398921ca800/image_245jz.png)

**In this article:**
1. [Product pages](#5-product-pages)
2. [Featured product on home page](#5-featured-product-on-home-page)
3. [Collection pages](#5-collection-pages)

---

##### Product Pages

1. In order to add the stars to product pages you have to copy the following code:

```
<div data-widereview-rate="{{ product.metafields.widereview.rating }}"
           	data-widereview-amount="{{ product.metafields.widereview.amount }}"
          	class="widereview-rate"
          	data-widereview-rate>
</div>
```

2. In your Shopify admin dashboard, click on **Online Store > Themes > "..." > Edit code**, to open the code of your theme

![](https://storage.crisp.chat/users/helpdesk/website/fb9ba398921ca800/image_9q3dre.png)

3. Open the file you use for product pages in the folders **Templates** or **Sections**.

The files are usually called: _product.liquid, product-template.liquid, product-page.liquid, product-main.liquid_

![](https://storage.crisp.chat/users/helpdesk/website/fb9ba398921ca800/image_wws4uf.png)

4. Paste the code where you want the stars to appear.

Usually you want to paste it below the title so look for the product title (you can search for "title"). It should be a tag <h1> or <h2> or even <h3>

![](https://storage.crisp.chat/users/helpdesk/website/fb9ba398921ca800/image_118ftqz.png)

5. Click on "Save"

![](https://storage.crisp.chat/users/helpdesk/website/fb9ba398921ca800/image_1tqmg63.png)

---

##### Featured Product on Home Page

1. In order to add the stars to the featured product on the home page you have to copy the following code:

```
<div data-widereview-rate="{{ product.metafields.widereview.rating }}"
           	data-widereview-amount="{{ product.metafields.widereview.amount }}"
          	class="widereview-rate"
          	data-widereview-rate>
</div>
```

2. In your Shopify admin dashboard, click on **Online Store > Themes > "..." > Edit code**, to open the code of your theme

![](https://storage.crisp.chat/users/helpdesk/website/fb9ba398921ca800/image_9q3dre.png)

3. Open the file you use for featured products in the folders **Templates** or **Sections**.

The files are usually called: _featured-product.liquid, homepage-product.liquid_

![](https://storage.crisp.chat/users/helpdesk/website/fb9ba398921ca800/image_1i0perf.png)

4. Paste the code where you want to show the stars

Usually you want to paste it below the title so look for the product title (you can search for "title"). It should be a tag <h1> or <h2> or even <h3>

![](https://storage.crisp.chat/users/helpdesk/website/fb9ba398921ca800/image_1rs9iea.png)

5. Click on "Save"

![](https://storage.crisp.chat/users/helpdesk/website/fb9ba398921ca800/image_1tqmg63.png)

---

##### Collection Pages

1. In order to add the stars to the collections you have to copy the following code:

```
<div data-widereview-rate="{{ product.metafields.widereview.rating }}"
           	data-widereview-amount="{{ product.metafields.widereview.amount }}"
          	class="widereview-rate"
          	data-widereview-rate>
</div>
```

2. In your Shopify admin dashboard, click on **Online Store > Themes > "..." > Edit code**, to open the code of your theme

![](https://storage.crisp.chat/users/helpdesk/website/fb9ba398921ca800/image_9q3dre.png)

3. Open the file you use for collections. Usually in the folder **Snippets**

The files are usually called: _product-card-grid.liquid, product-grid-item.liquid, product-info.liquid, card-product.liquid_

![](https://storage.crisp.chat/users/helpdesk/website/fb9ba398921ca800/image_1opgqiy.png)

4. Paste the code where you want to show the stars

Usually you want to paste it below the title so look for the product title (you can search for "product.title"). It should be a tag <h1> or <h2> or even <h3>

![](https://storage.crisp.chat/users/helpdesk/website/fb9ba398921ca800/image_1enlggk.png)

5. Click on "Save"

![](https://storage.crisp.chat/users/helpdesk/website/fb9ba398921ca800/image_1tqmg63.png)

|| If you need help you can contact our support by chat directly in WideReview's app dashboard.