{"id":1898,"date":"2021-11-10T01:31:36","date_gmt":"2021-11-10T01:31:36","guid":{"rendered":"https:\/\/www.opinew.com\/help-center\/?post_type=ht_kb&#038;p=1898"},"modified":"2023-08-07T05:42:08","modified_gmt":"2023-08-07T05:42:08","slug":"how-to-add-opinew-review-stars-for-product-in-klaviyos-abandoned-cart-flow","status":"publish","type":"ht_kb","link":"https:\/\/www.opinew.com\/help-center\/knowledge-base\/how-to-add-opinew-review-stars-for-product-in-klaviyos-abandoned-cart-flow\/","title":{"rendered":"How to add Opinew review stars and featured review for product in Klaviyo&#8217;s abandoned cart flow"},"content":{"rendered":"\n<p>Learn how to add a rating aggregate and a featured review to your abandoned cart emails dynamically.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"672\" height=\"638\" src=\"https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Selection_271.png\" alt=\"\" class=\"wp-image-1917\" srcset=\"https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Selection_271.png 672w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Selection_271-300x285.png 300w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Selection_271-50x47.png 50w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Selection_271-60x57.png 60w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Selection_271-100x95.png 100w\" sizes=\"(max-width: 672px) 100vw, 672px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h_b5e13a4fbb\">Enable your Klaviyo Feed<\/h2>\n\n\n\n<p>Open your Opinew app, click &#8216;Integrations&#8217;, and select the Klaviyo card. Then enable the Klaviyo feed option and copy your feed URL.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"715\" height=\"624\" src=\"https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Selection_263.png\" alt=\"Klaviyo Abandoned Cart Flow 1\" class=\"wp-image-1900\" srcset=\"https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Selection_263.png 715w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Selection_263-300x262.png 300w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Selection_263-50x44.png 50w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Selection_263-60x52.png 60w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Selection_263-100x87.png 100w\" sizes=\"(max-width: 715px) 100vw, 715px\" \/><\/figure>\n\n\n\n<p>You can now select the stars&#8217; color in your email template. Select the one you prefer:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"607\" src=\"https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/06\/Selection_331-1024x607.png\" alt=\"Klaviyo Abandoned Cart Flow - Opinew settings for colors\" class=\"wp-image-2209\" srcset=\"https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/06\/Selection_331-1024x607.png 1024w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/06\/Selection_331-300x178.png 300w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/06\/Selection_331-768x455.png 768w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/06\/Selection_331-50x30.png 50w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/06\/Selection_331-60x36.png 60w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/06\/Selection_331-100x59.png 100w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/06\/Selection_331.png 1117w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Don&#8217;t forget to click &#8216;Save&#8217; after copying your feed URL.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h_6e29714743\">Add the Product Review Aggregate Feed<\/h2>\n\n\n\n<p>Navigate to your Data Feeds in Klaviyo and click &#8216;Add web feed&#8217;. To do that go to <strong>Account -&gt; Settings -&gt; Web Feeds<\/strong>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"232\" src=\"https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/12\/Selection_448-1024x232.png\" alt=\"Klaviyo Abandoned Cart Flow - Create Web Feeds\" class=\"wp-image-2516\" srcset=\"https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/12\/Selection_448-1024x232.png 1024w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/12\/Selection_448-300x68.png 300w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/12\/Selection_448-768x174.png 768w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/12\/Selection_448-50x11.png 50w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/12\/Selection_448-60x14.png 60w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/12\/Selection_448-100x23.png 100w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/12\/Selection_448.png 1338w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Add a new web feed using the info below:<\/p>\n\n\n\n<ul><li><strong>Required name:<\/strong> opinew_klaviyo_feed<\/li><\/ul>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\"><strong>Important note:<\/strong> The name needs to be exactly as mentioned above to work correctly, if the name is different the integration will not work.<\/p>\n\n\n\n<ul><li><strong>Feed URL:<\/strong> Your feed URL, paste this from your Opinew app.<\/li><\/ul>\n\n\n\n<ul><li><strong>Request Method:<\/strong> GET<\/li><\/ul>\n\n\n\n<ul><li><strong>Content-Type: <\/strong>JSON<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"511\" height=\"375\" src=\"https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Selection_266.png\" alt=\"Klaviyo Abandoned Cart Flow - Data Feed Example\" class=\"wp-image-1906\" srcset=\"https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Selection_266.png 511w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Selection_266-300x220.png 300w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Selection_266-50x37.png 50w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Selection_266-60x44.png 60w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Selection_266-100x73.png 100w\" sizes=\"(max-width: 511px) 100vw, 511px\" \/><\/figure>\n\n\n\n<p>Finally, click &#8216;Add data feed&#8217;.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"product-title\">Adding Star Rating Under Product Title<\/h2>\n\n\n\n<p>Select the product block, where the products from the cart will populate. The example below is within the Shopify Abandoned Cart Reminder Flow.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"612\" height=\"494\" src=\"https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/12\/Selection_449.png\" alt=\"Klaviyo Abandoned Cart Flow - Build email and add snippets code\" class=\"wp-image-2518\" srcset=\"https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/12\/Selection_449.png 612w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/12\/Selection_449-300x242.png 300w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/12\/Selection_449-50x40.png 50w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/12\/Selection_449-60x48.png 60w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/12\/Selection_449-100x81.png 100w\" sizes=\"(max-width: 612px) 100vw, 612px\" \/><\/figure>\n\n\n\n<p>Once you click it, on your left panel select <strong>Table settings, <\/strong>then <strong>Dynamic<\/strong> and confirm that you are using the correct \u201cRow Collection\u201d and \u201cRow Alias\u201d.<\/p>\n\n\n\n<p><br><strong>Row Collection:<\/strong> event.extra.line_items<br><strong>Row Alias: <\/strong>item<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"664\" height=\"584\" src=\"https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/12\/Selection_452.png\" alt=\"Klaviyo Abandoned Cart Flow - Add snippets code 2\" class=\"wp-image-2519\" srcset=\"https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/12\/Selection_452.png 664w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/12\/Selection_452-300x264.png 300w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/12\/Selection_452-50x44.png 50w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/12\/Selection_452-60x53.png 60w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/12\/Selection_452-100x88.png 100w\" sizes=\"(max-width: 664px) 100vw, 664px\" \/><\/figure>\n\n\n\n<p>On that same left panel, select <strong>Content, <\/strong>then click the <strong>Text icon <\/strong>and <strong>Source code.<\/strong> Then paste the below snippet of code under an existing Quantity &lt;p&gt; tag.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"510\" src=\"https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/12\/Selection_451-1024x510.png\" alt=\"Klaviyo Abandoned Cart Flow - Check snippet code\" class=\"wp-image-2520\" srcset=\"https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/12\/Selection_451-1024x510.png 1024w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/12\/Selection_451-300x149.png 300w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/12\/Selection_451-768x382.png 768w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/12\/Selection_451-50x25.png 50w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/12\/Selection_451-60x30.png 60w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/12\/Selection_451-100x50.png 100w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/12\/Selection_451.png 1205w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">{% with product=item.product %} {% with productId=item.product.id|slugify %} \n&lt;div style=\"padding-top: 20px;\">\n{% for value in feeds.opinew_klaviyo_feed.data %} {% if productId == value.id %} {% if value.review_number > 0 %}\n&lt;\/div>\n\n&lt;table cellpadding=\"0\" cellspacing=\"0\" style=\"border:0;\">\n\t&lt;tbody>\n\t\t&lt;tr>\n\t\t\t&lt;td style=\"padding-top:2px;padding-right:2px\">&lt;img height=\"94\" src=\"https:\/\/cdn.opinew.com\/klaviyo-stars\/opinew_stars_{{ value.stars_color }}_{{ value.png_star_num }}.png\" style=\"height:14px;\" \/>&lt;\/td>\n\t\t\t&lt;td>\n\t\t\t&lt;p style=\"padding-top:1px;padding-left:2px;font-size:14px;\">{{ value.average_stars }} stars from {{ value.review_number }} {% if value.review_number > 1 %} Reviews {% endif %}{% if value.review_number == 1 %} Review {% endif %}&lt;\/p>\n\t\t\t&lt;\/td>\n\t\t&lt;\/tr>\n\t&lt;\/tbody>\n&lt;\/table>\n{% endif %}&lt;br \/>\n{% if value.featured_review != None %}\n&lt;p>&lt;i>'{{ value.featured_review }}'&lt;\/i>&lt;\/p>\n{% endif %} {% endif %}{% endfor %}{% endwith %} {% endwith %}\n<\/code><\/pre>\n\n\n\n<p>Feel free to adjust the padding and borders according to your needs. <\/p>\n\n\n\n<p>If you only want to only show ratings on products over a certain rating in the product block, you can use the following code snippet instead:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">{% with product=item.product %} {% with productId=item.product.id|slugify %} \n&lt;div style=\"padding-top: 20px;\">\n{% for value in feeds.opinew_klaviyo_feed.data %} \n{% if value.average_stars > YOUR_VALUE_HERE %} {% if productId == value.id %} {% if value.review_number > 0 %}\n&lt;\/div>\n\n&lt;table cellpadding=\"0\" cellspacing=\"0\" style=\"border:0;\">\n\t&lt;tbody>\n\t\t&lt;tr>\n\t\t\t&lt;td style=\"padding-top:2px;padding-right:2px\">&lt;img height=\"94\" src=\"https:\/\/cdn.opinew.com\/klaviyo-stars\/opinew_stars_{{ value.stars_color }}_{{ value.png_star_num }}.png\" style=\"height:14px;\" \/>&lt;\/td>\n\t\t\t&lt;td>\n\t\t\t&lt;p style=\"padding-top:1px;padding-left:2px;font-size:14px;\">{{ value.average_stars }} stars from {{ value.review_number }} {% if value.review_number > 1 %} Reviews {% endif %}{% if value.review_number == 1 %} Review {% endif %}&lt;\/p>\n\t\t\t&lt;\/td>\n\t\t&lt;\/tr>\n\t&lt;\/tbody>\n&lt;\/table>\n{% endif %}&lt;br \/>\n{% if value.featured_review != None %}\n&lt;p>&lt;i>'{{ value.featured_review }}'&lt;\/i>&lt;\/p>\n{% endif %} {% endif %}{% endif %}{% endfor %}{% endwith %} {% endwith %}<\/code><\/pre>\n\n\n\n<p>And on the second line, in this part:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">{% if value.average_stars > YOUR_VALUE_HERE %}<\/code><\/pre>\n\n\n\n<p>Replace YOUR_VALUE_HERE with the actual value you want the average star rating to start showing, with a value from 0 to 5. For example, if you want to show the block only for products with a star rating of 4.5 and above this would be your code:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">{% with product=item.product %} {% with productId=item.product.id|slugify %} \n&lt;div style=\"padding-top: 20px;\">\n{% for value in feeds.opinew_klaviyo_feed.data %} \n{% if value.average_stars > 4.5 %} {% if productId == value.id %} {% if value.review_number > 0 %}\n&lt;\/div>\n\n&lt;table cellpadding=\"0\" cellspacing=\"0\" style=\"border:0;\">\n\t&lt;tbody>\n\t\t&lt;tr>\n\t\t\t&lt;td style=\"padding-top:2px;padding-right:2px\">&lt;img height=\"94\" src=\"https:\/\/cdn.opinew.com\/klaviyo-stars\/opinew_stars_{{ value.stars_color }}_{{ value.png_star_num }}.png\" style=\"height:14px;\" \/>&lt;\/td>\n\t\t\t&lt;td>\n\t\t\t&lt;p style=\"padding-top:1px;padding-left:2px;font-size:14px;\">{{ value.average_stars }} stars from {{ value.review_number }} {% if value.review_number > 1 %} Reviews {% endif %}{% if value.review_number == 1 %} Review {% endif %}&lt;\/p>\n\t\t\t&lt;\/td>\n\t\t&lt;\/tr>\n\t&lt;\/tbody>\n&lt;\/table>\n{% endif %}&lt;br \/>\n{% if value.featured_review != None %}\n&lt;p>&lt;i>'{{ value.featured_review }}'&lt;\/i>&lt;\/p>\n{% endif %} {% endif %}{% endif %}{% endfor %}{% endwith %} {% endwith %}<\/code><\/pre>\n\n\n\n<p>Once you do that you can click on &#8216;Preview and test&#8217; to see what it will look like:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Selection_271-1.png\" alt=\"Klaviyo Abandoned Cart Flow - Reviews preview\" class=\"wp-image-1918\" width=\"666\" height=\"632\" srcset=\"https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Selection_271-1.png 672w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Selection_271-1-300x285.png 300w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Selection_271-1-50x47.png 50w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Selection_271-1-60x57.png 60w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Selection_271-1-100x95.png 100w\" sizes=\"(max-width: 666px) 100vw, 666px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\"><strong>Note: <\/strong>you can also recreate these steps in all the email templates from flows triggered by Shopify events that have this block:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"378\" height=\"145\" src=\"https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Screenshot-from-2021-11-11-14-43-13.png\" alt=\"\" class=\"wp-image-1920\" srcset=\"https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Screenshot-from-2021-11-11-14-43-13.png 378w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Screenshot-from-2021-11-11-14-43-13-300x115.png 300w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Screenshot-from-2021-11-11-14-43-13-50x19.png 50w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Screenshot-from-2021-11-11-14-43-13-60x23.png 60w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/Screenshot-from-2021-11-11-14-43-13-100x38.png 100w\" sizes=\"(max-width: 378px) 100vw, 378px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h_b6329c497b\">Selecting a featured review for your product<\/h2>\n\n\n\n<p>Go to your product reviews page and select your product. There, click on the three-dot icon in the review you want to feature and click &#8216;Set as marketing featured review&#8217; :<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"594\" src=\"https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/click-three-dots-icon-and-set-as-marketing-featured-reviews-1024x594.png\" alt=\"click three dots icon and set as marketing featured reviews\" class=\"wp-image-2982\" srcset=\"https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/click-three-dots-icon-and-set-as-marketing-featured-reviews-1024x594.png 1024w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/click-three-dots-icon-and-set-as-marketing-featured-reviews-300x174.png 300w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/click-three-dots-icon-and-set-as-marketing-featured-reviews-768x445.png 768w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/click-three-dots-icon-and-set-as-marketing-featured-reviews-50x29.png 50w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/click-three-dots-icon-and-set-as-marketing-featured-reviews-60x35.png 60w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/click-three-dots-icon-and-set-as-marketing-featured-reviews-100x58.png 100w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/click-three-dots-icon-and-set-as-marketing-featured-reviews.png 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Then you will see a badge in your featured review for marketing.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"594\" src=\"https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/check-marketing-featured-review-badge-1024x594.png\" alt=\"check marketing featured review badge\" class=\"wp-image-2981\" srcset=\"https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/check-marketing-featured-review-badge-1024x594.png 1024w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/check-marketing-featured-review-badge-300x174.png 300w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/check-marketing-featured-review-badge-768x445.png 768w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/check-marketing-featured-review-badge-50x29.png 50w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/check-marketing-featured-review-badge-60x35.png 60w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/check-marketing-featured-review-badge-100x58.png 100w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2021\/11\/check-marketing-featured-review-badge.png 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>That&#8217;s it! Save your template in Klaviyo, configure your abandoned cart flow, and don&#8217;t forget to set it to live to start using it. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h_b6329c497b\">Adding your featured review photos to your email<\/h2>\n\n\n\n<p>If your featured review has photos and you want to show them in your email, paste this block right below the first one:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code class=\"\">{% with product=item.product %} {% with productId=item.product.id|slugify %} {% for value in feeds.opinew_klaviyo_feed.data %} {% if productId == value.id %} {% if value.review_number > 0 %}\n{% for image in value.featured_review_images %}&lt;img height=\"84\" src=\"{{ image }}\" style=\"height:44px;\" \/> {% endfor %}\n{% endif %} {% endif %}{% endfor %}{% endwith %} {% endwith %}<\/code><\/pre>\n\n\n\n<p>If you want to make them smaller\/bigger, change the <code>style=\"height:44px;\"<\/code> size and set it as you want (in pixels):<\/p>\n\n\n\n<figure class=\"wp-block-gallery columns-1 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><img loading=\"lazy\" decoding=\"async\" width=\"520\" height=\"118\" src=\"https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/07\/Selection_375.png\" alt=\"\" data-id=\"2328\" data-full-url=\"https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/07\/Selection_375.png\" data-link=\"https:\/\/www.opinew.com\/help-center\/knowledge-base\/how-to-add-opinew-review-stars-for-product-in-klaviyos-abandoned-cart-flow\/selection_375\/\" class=\"wp-image-2328\" srcset=\"https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/07\/Selection_375.png 520w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/07\/Selection_375-300x68.png 300w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/07\/Selection_375-50x11.png 50w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/07\/Selection_375-60x14.png 60w, https:\/\/www.opinew.com\/help-center\/wp-content\/uploads\/2022\/07\/Selection_375-100x23.png 100w\" sizes=\"(max-width: 520px) 100vw, 520px\" \/><\/figure><\/li><\/ul><\/figure>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\">Learn more about our <a href=\"https:\/\/www.opinew.com\/blog\/add-reviews-klaviyo-emails\/\" class=\"rank-math-link\">integration with Klaviyo<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to add a rating aggregate and a featured review to your abandoned cart emails dynamically. Enable your Klaviyo Feed Open your Opinew app, click &#8216;Integrations&#8217;, and select the Klaviyo card. Then enable the Klaviyo feed option and copy your feed URL. You can now select the stars&#8217; color&#8230;<\/p>\n","protected":false},"author":6,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":[],"ht-kb-category":[23],"ht-kb-tag":[26],"_links":{"self":[{"href":"https:\/\/www.opinew.com\/help-center\/wp-json\/wp\/v2\/ht-kb\/1898"}],"collection":[{"href":"https:\/\/www.opinew.com\/help-center\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.opinew.com\/help-center\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.opinew.com\/help-center\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.opinew.com\/help-center\/wp-json\/wp\/v2\/comments?post=1898"}],"version-history":[{"count":26,"href":"https:\/\/www.opinew.com\/help-center\/wp-json\/wp\/v2\/ht-kb\/1898\/revisions"}],"predecessor-version":[{"id":2984,"href":"https:\/\/www.opinew.com\/help-center\/wp-json\/wp\/v2\/ht-kb\/1898\/revisions\/2984"}],"wp:attachment":[{"href":"https:\/\/www.opinew.com\/help-center\/wp-json\/wp\/v2\/media?parent=1898"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.opinew.com\/help-center\/wp-json\/wp\/v2\/ht-kb-category?post=1898"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.opinew.com\/help-center\/wp-json\/wp\/v2\/ht-kb-tag?post=1898"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}