I added the code from judge.me’s instructions and even spoke to them on the live chat, then gave them access to my Klaviyo account. They aren’t sure why it won’t work and left it with me…
I’d like to show Product, Price and the Reviews. I want to use this on abandoned cart flow and browse abandonment flow.
This is the code they asked me to use:
<div> {% with productIdKlaviyo=item.product.id|slugify %} {% for product in feeds.JudgemeReviewInfoFeed.products %} {% with productIdJdgm=product.product_id|slugify %} {% if productIdJdgm == productIdKlaviyo %} <span style="font-size: 18px; color: #399999; letter-spacing: 2px; margin-bottom: 12px; display: inline-block;"> {% if product.average_rating >= 4.5 and product.average_rating <= 5 %} ★★★★★ {% elif product.average_rating >= 3.5 and product.average_rating < 4.5 %} ★★★★☆ {% elif product.average_rating >= 2.5 and product.average_rating < 3.5 %} ★★★☆☆ {% elif product.average_rating >= 1.5 and product.average_rating < 2.5 %} ★★☆☆☆ {% elif product.average_rating >= 1 and product.average_rating < 1.5 %} ★☆☆☆☆ {% endif %} </span> <span>{{ product.review_count }} {% if product.review_count == 1 %} review {% else %} reviews {% endif %} </span> {% endif %} {% endwith %} {% endfor %} {% endwith %}</div>
Can anyone help me, please?