Step 1: Log in to your Shopify admin > Online store > Themes > Live theme > Actions > Edit code
Step 2: In Sections folder, click "Add a new section", in "Create a new section called" add "featured-ryviu"
Step 3: Copy this code below and add to featured-review.liquid file which you just created and click Save button

<div class="page-width container wrapper">
  {% if section.settings.title_status %}
    <h3 class="center text-center section-header__title">{{ section.settings.title_heading | escape }}</h3>
  {% endif %}
  {% if section.settings.type_ryviu == 'default' %}
  <ryviu-widget feature="1"></ryviu-widget>
  {% elsif section.settings.type_ryviu == 'carousel' %}  
  <ryviu-feature-extend feature="1" carousel="1" id="r--ryviu-widget"></ryviu-feature-extend>
  {% else %}
  {% assign product = all_products[section.settings.product] %}
    <div class="lt-block-reviews">
        <ryviu-widget handle="{{product.handle}}" product_id="{{product.id}}" title_product="{{product.title}}" total_meta="{{ product.metafields.ryviu.r_count }}" image_product="{{ product.featured_image.src | img_url: '100x' }}"></ryviu-widget>
    </div>
  {% endif %}
</div>
{% schema %}
  {
  "name": "Ryviu Section",
  "class": "index-section",
    "settings": [
    {
        "type": "text",
        "id": "title_heading",
        "label": "Title",
        "default": "Happy Customer"
      },
    {
      "type": "checkbox",
      "id": "title_status",
      "label": "Show title",
      "default": true
    },
    {
        "type": "select",
        "id": "type_ryviu",
        "label": "Type reviews",
        "default": "default",
    "info": "Featured reviews supports Ryviu's paid members only",
        "options": [
          {
            "label": "Masonry Featured Reviews",
            "value": "default"
          },
          {
            "label": "Carousel Featured Reviews",
            "value": "carousel"
          },
          {
            "label": "Single Product Shop",
            "value": "product"
          }
        ]
      },
      {
        "type": "product",
        "id": "product",
    "info": "For Single Product Shop",
        "label": "Select Product"
      }
  ],
    "presets": [
      {
        "name": "Ryviu Section",
        "category": "Ryviu App"
      }
     
    ]
  }
{% endschema %}
{% stylesheet %}
{% endstylesheet %}
{% javascript %}
{% endjavascript %}

Step 4: Click on "Customize theme" at the top right of your screen
Step 5: Click Add section on the left bottom of your screen, click on Ryviu section, click Add and then click Save button.
Step 6: Move section to place where you want by holding your left mouse button on that section and moving.
Step 7: Adding reviews to Featured. You will need to go to your Reviews section, add reviews to featured then they will appear

Note: With a Free plan, please select option Single Product Shop because featured codes do not support Free plan.

You are almost done.

You also can check this video below to know how to do it

If you need more help or any question else then please feel free to contact us via Live chat.


Did this answer your question?