How to Add Reviews on the Cart Page

Looking to add the Product Reviews Widget to your cart page? Follow the steps below based on your Shopify theme.

The widget will display the reviews of the products in the cart. If the product(s) has no reviews, the widget will show your store's aggregated reviews instead.

If you have Theme 2.0:

  1. Go to the Themes tab on your Shopify admin.
  2. Select the Loox "Cart page reviews widget". 

  3. Edit the settings of this widget 
  4. Click "Save"

That's it! The Product Reviews Widget is now on your cart page.  

If you don't have Shopify Theme 2.0 follow the below steps to add the code to your theme. 

  1. Go to the Themes tab on your Shopify admin.
  2. Click the "Actions" menu and then select "Edit code":
  3. Open the template or section you use for cart pages (usually called cart.liquid or cart-template.liquid, but some themes work differently).
  4. Add the code below where you'd like the widget to appear:
    <div id="looxReviews" data-loox-aggregate data-or-productIds="{{ cart.items | map: 'product' | map: 'id' | join: ',' }}" data-visibility="hide_when_empty" class="loox-reviews-default"></div>

If you're having trouble editing your Liquid code, feel free to contact our Support team at [email protected], and we’d be more than happy to help!