> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.omegatheme.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).

# Manually add codes of the box review and the star ratings for the theme 1.0

### 1-Review box
![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_wpagns.png)

To add codes of Review box, please follow these steps:
**Step 1: Create a new snippet file named ++trustify-review-box.liquid++ on the snippets folder** ![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_l1yiu.png)

**Add this code to the new snippet created**
```
{% if shop.metafields.TrustifyReview != blank %}
  <div class="trustify-review-box">
    <h3 id="trustify-review-box-demo">Trustify review box will be displayed here!
    </h3>
    <script>
      if (!Shopify.designMode) {
        document.getElementById('trustify-review-box-demo').remove()
      }
    </script>
  </div>
{% endif %}
```
**Step 2: Add the display code below to the desired position**
```
{% render 'trustify-review-box' %}
```
For example: ![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_swatjl.png)

### 2- The star ratings ![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_1safq8s.png)

**Step 1: Create a new snippet file named  ++trustify-review-stars.liquid++ on the snippets folder** ![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_19rl3d7.png)

**Add this code to the new snippet created**
```
{% if shop.metafields.TrustifyReview != blank and product and product != empty %}
  <div
    class="trustify-review-stars"
    data-review-type="product"
    data-review-avg="{{ product.metafields.tr_reviews_product.review_avg }}"
    data-review-count="{{ product.metafields.tr_reviews_product.review_count }}"
  >
    <h3 id="tr-stars-demo">Trustify review stars will be displayed here!
    </h3>
    <script>
      if (!Shopify.designMode) {
        document.getElementById('tr-stars-demo').remove()
      }
    </script>
  </div>
{% endif %}
```
**Step 2: Add the display code below to the desired position**
```
{% render 'trustify-review-stars' %}
```
For example: ![](https://storage.crisp.chat/users/helpdesk/website/-/8/3/8/3/8383e5404a31c000/image_1toqf7j.png)

If you want to display the review widget in a location where you cannot customize it manually, please contact us via live chat or email at [**support@omegatheme.com**](mailto:support@omegatheme.com) for developer support. This service is completely free.