⬇️Installing Review Widgets Manually

You can add WiseReviews widgets manually to your theme. This requires technical knowledge and basic coding skills.

  1. Navigate Online Store ThemesEdit Code.

  2. Paste the code snippet in your Shopify Liquid file.

Product Reviews

{% render 'wise-product-reviews', product_id: product.id, default_type: 'product_reviews' %}

You can change the default type to product_reviews, shop_reviews, product_reviews_only, and shop_reviews_only

Star Rating (Collection)

{% render 'wise-star-rating', product: product, star_size: '18', align: 'left' %}

Star Rating (Product Page)

{% render 'wise-star-rating', product: product, star_size: '18', align: 'left' %}

Liquid missing files error

If you encounter liquid missing files error, add these files to snippets folder.

snippets/wise-star-rating.liquid
<wise-star-rating {% capture productID %}{{ product.id }}{% endcapture %} data-average-rating="{{ shop.metafields.wisereviews.reviews.value.products[productID].average_rating }}" data-reviews-count="{{ shop.metafields.wisereviews.reviews.value.products[productID].reviews_count }}" data-star-size="{{ star_size }}" data-align="{{ align }}"></wise-star-rating>
snippets/wise-product-reviews.liquid
<wise-product-reviews data-product-id="{{ product_id }}" data-default-type="{{ default_type }}"></wise-product-reviews>
snippets/wise-featured-reviews.liquid
<wise-featured-reviews></wise-featured-reviews>

Note: If you have any questions or need any help, please reach out to support@codexapps.co

Tip: You can also display star ratings on organic Google search results See: Displaying Star Ratings on Organic Google Search Results

Last updated