Air Reviews Help Center
Install appPricingReward customers
  • ๐Ÿ‘‹Welcome to Air Reviews
  • ๐Ÿš€GETTING STARTED
    • Quick start
  • ๐Ÿ“ŠMANAGE REVIEWS
    • Manage reviews
    • Request to edit reviews
    • Reply to reviews
    • Recycle bin
    • Analytics
  • ๐Ÿ“ฌCOLLECT REVIEWS
    • Review request
      • How to write a Review request email that converts?
      • Why was my request review emails not sent?
    • Import reviews by URL
      • How to get correct AliExpress product link
    • Import reviews via marketplace
      • AliExpress
      • Amazon
      • CJ Dropshipping
    • Migrate reviews by CSV files
    • Notifications
    • QR code generator ๐Ÿ†•
    • Discount ๐Ÿ†•
  • ๐Ÿ–ผ๏ธDISPLAY REVIEWS
    • Branding
      • Helpful/ Unhelpful reviews
    • Review box
    • Star rating
      • Add star rating to product card
    • Submit form
      • Suggest keywords
      • Dynamic question
    • Review carousel
    • Review popup
    • Review sidebar
    • All reviews page
      • Create All Reviews Page
      • Configure All Reviews Page
    • Testimonials
  • ๐ŸงฉINTEGRATIONS
    • Shopify Flow
    • Email & SMS apps
      • Avada Marketing Automation
      • PushOwl
      • Klaviyo
    • Loyalty apps
      • Joy Loyalty
    • Translation apps
      • Transcy
    • Page builder apps
      • Foxify Smart Pagebuilder
  • โš™๏ธSETTINGS
    • Settings
    • Review rich snippets
    • Google Top Quality Store Badge
    • Translation
      • Multi-language store
      • Translate review content
  • ๐Ÿ–ฅ๏ธShopify admin extensions
    • Customer detail pages
  • ๐Ÿ—บ๏ธProduct roadmap
    • New review widgets design
    • Subscriptions details
      • What's in paid plan?
      • How to redeem a coupon?
      • FAQs for subscriptions
  • โ“FAQs
  • ๐Ÿ”Terms and conditions
Powered by GitBook
On this page
  • Option 1: Use Theme Default Star Rating
  • Option 2: Add Our Snippet to Your Theme Code

Was this helpful?

  1. DISPLAY REVIEWS
  2. Star rating

Add star rating to product card

You now need to manually add the review snippet to your theme. This guide will walk you through the process of adding the star rating snippet to your product card.

PreviousStar ratingNextSubmit form

Last updated 10 months ago

Was this helpful?

Before the restriction of , we could automatically add the snippet to your theme code. However, we can no longer since the recent update of Shopify, you will need to add our snippet to your theme in the meantime.

We are actively asking for the whitelist of the Asset API. We will soon bring this back to the automatic mode.

Option 1: Use Theme Default Star Rating

For products that meet Shopify's standards, you can use the default star rating display from review apps.

This option aligns with your theme design but may not be as visually appealing and won't show for products without reviews.

Option 2: Add Our Snippet to Your Theme Code

Shopify encourages merchants to manually add custom liquid blocks for transparency. Hereโ€™s how to add the star rating snippet to your theme, specifically using the Dawn theme as an example.

Find the Product Card Liquid File and Insert Snippet

  1. Locate the Product Card Liquid File: In the Dawn theme, find the position before the theme rating display.

  1. Insert the Snippet:

<div
  class="AirReviews-Widget AirReviews-Widget--Stars"
  style="margin-top:0.7rem"
  data-review-avg="{{ card_product.metafields.air_reviews_product.review_avg }}"
  data-review-count="{{ card_product.metafields.air_reviews_product.review_count }}"
></div>

Ensure the card_product object matches your themeโ€™s product object (e.g., product_card, product).

  1. Save Your Changes: Save the file and check your store to see the star ratings displayed.

By following these steps, you can effectively add star ratings to your product cards, enhancing the overall shopping experience on your Shopify store.

๐Ÿ–ผ๏ธ
Asset API