Skip to main content

Featured reviews

Pin your best reviews above the rest in the review list and the slider.

Featuring a review pins it above the others. Use it for reviews that answer the questions shoppers ask most, like sizing or durability, or simply for your best ones.

Featuring a review

Mark a review as featured in the reviews table on the app's Manage page. All featured reviews get the same priority, so they show newest first. 5zero then adds it to the product's featured_reviews list, and to the shop's list for store-wide blocks.

Featured reviews show:

  1. In the Review List, pinned above the other reviews with a "Featured" badge. Maximum featured cards sets how many, 3 by default.
  2. In the Reviews Slider, first in the row. Maximum featured cards is 0 by default, so turn it on there.

The badge's text comes with the app in 50 languages. To hide the badge, use the block's Custom CSS.

In your own theme code

featured_reviews and featured_reviews_meta hold the featured reviews of a product, its variants or the shop, ordered by featured_priority, then newest first. Each example brings the CSS for exactly the look of its preview, scoped to its own classes so it does not touch the rest of your theme. Only the font and the text color come from your theme. The stars (fo-stars) need 5zero's star styles on the page, which every 5zero block and the Card Rating app embed load.

{%- assign fiveoh = product.metafields['app--324569563137'] -%}
{%- assign metas = fiveoh.featured_reviews_meta.value | compact -%}
<div class="reviews-featured">
  {%- for review in fiveoh.featured_reviews.value limit: 3 -%}
    <blockquote>{{ metas[forloop.index0].body.value }}</blockquote>
  {%- endfor -%}
</div>

The texts are in English to keep the code short. Other languages

See Review lists in the reference.

Troubleshooting

  1. Featured reviews do not show in the slider: set Maximum featured cards above 0.
  2. A featured review does not show at all: check that it is published and belongs to the product, or to the scope of the block.