# Reviews widget

Ali2Shop includes a free review widget.Imported reviews from AliExpress will be shown by this widget.A review form to collect real feedback from your shopify store customers will be shown as well.

By default, a review must be approved before it shows on your product page. You can go to your [Ali2Shop admin] (https://app.ali2shop.io/setting) to set the default review status.

The steps for this tutorial differ depending on your theme architecture version.

# Add reviews and a review form to your product page in Vintage themes

  1. From your Shopify admin, go to Online Store > Themes.

  2. Find the theme you want to edit, and then click Actions > Edit code.

  3. In the Templates directory, open product.liquid or product-template.liquid or product-description.liquid

  4. Find the area in the code where you want your reviews to appear. Usually, this is below the product description. To find your product description in the file, search for the product-description code.

  5. Below the code that contains the product-description code, paste the following snippet:

<div id="ali2shopReviews" data-id="{{product.id}}" data-domain="{{shop.permanent_domain}}">{{ product.metafields.ali2shop.showreview }}</div>
1

Your code placement might look something like this:

{% if section.settings.product_description_position == 'below' %}
    {%- assign position = 'below' -%}
    {% include 'product-description' %}
{% endif %}
<div id="ali2shopReviews" data-id="{{product.id}}" data-domain="{{shop.permanent_domain}}">{{ product.metafields.ali2shop.showreview }}</div>
1
2
3
4
5
  1. Click Save.

# Add reviews and a review form in Online Store 2.0 themes

You can add the review and review form app block as a section on your product template, or as a block in the main product section of the product template. These options are available in all Online Store 2.0 themes from the Shopify Theme Store. You might be able to add them to other templates or sections, depending on your theme.

  1. From your Shopify admin, go to Online Store > Themes.

  2. Find the theme that you want to edit, and then click Customize.

  3. Navigate to the product template where you want to add the reviews and review form section. avatar

  4. Click Add section or Add block on the left.

  5. From the drop-down menu, in the Apps section, select the Ali2shop Reviews app block. avatar

  6. Optional: Move the app section to the place you want it on the page.

  7. Click Save.

TIP

If you need help to add a review widget, simply send an email to ali2shop.io@gmail.com , our staff will do it for you.