Adding Star Review Badge For Products (Impulse Theme)

Highlighted
New Member
10 0 0

Downloaded stamped.io for reviews. I was able to add review widgets to my collection and product page footer, just cant seem to find how to add it under the title on the product page.

 

0 Likes
Highlighted
Tourist
9 0 3

"Incidentally, I am working on this at nearly the same time as you.

I can help you and maybe you can help me.  I am trying to add the badges (review stars / ratings) under the items on the collection page 

In the file:product-template.liquid

Just paste your widget:

Underneath:

 

{%- if isModal -%}
<p class="h2 product-single__title">
{{ product.title }}
</p>
{% else %}
<h1 class="h2 product-single__title">
{{ product.title }}
</h1>
{%- endif -%}

 

and above :

{%- if settings.enable_product_reviews and settings.reviews_layout == 'full' -%}
{%- if isModal -%}
{%- assign review_link = product.url | within: collection | append: '#Reviews-' | append: product.id -%}
{% else %}
{%- assign review_link = '#Reviews-' | append: product.id -%}
{%- endif -%}
<a href="{{ review_link }}" class="product-single__review-link">
<span class="shopify-product-reviews-badge" data-id="{{ product.id }}"></span>
</a>
{%- endif -%}"

0 Likes
Highlighted
Tourist
9 0 3

"Figured out my question. Widget needed to be in two places in product-grid-item.liquid"

0 Likes
Highlighted
Tourist
18 0 2

Can you please share exactly what you did to get the stars under the title? I've had this theme for over a month and have not been able to figure it out. 

Thanks!

0 Likes