Skip to main content

Reviews Slider

A horizontal carousel of reviews with a summary tile, for the homepage, landing pages and product pages.

The 5zero Reviews Slider shows reviews as a row of cards that shoppers swipe or scroll through, with a summary of your rating, the review count and an optional logo, as the first card or above the slides.

Unlike the Review List, the slider has no search, filters or load more. It shows a fixed number of reviews, featured ones first if you like, then the newest.

Where to place it

  1. Homepage
  2. Landing pages
  3. Product page, in the main content

Adding it to your theme

  1. In the Theme Editor, open the template, for example the homepage.
  2. Click Add block in a section and choose 5zero Reviews Slider from the Apps tab.
  3. Choose the Review scope: All reviews (the default), All product reviews, Store reviews for reviews about your shop, or This product on product pages.

The previous and next buttons need the 5zero Core app embed. Without it, the slider still scrolls by swiping.

Settings

SettingWhat it does
Review scopeThis product, All product reviews, Store reviews (about the shop itself) or All reviews. This product shows all reviews outside product pages.
Show from (reviews), Show up to (reviews)Hide the slider outside this range. On product pages this counts the product's reviews, elsewhere the reviews in this slider.
Maximum review cards, Maximum featured cardsHow many reviews the slider holds, and how many featured reviews come first.
Review filterAll reviews, 4 stars and up or 5 stars only. In Germany and other EU countries, showing only high ratings can count as misleading.
Only reviews with photos or videosPicks them from the 50 newest reviews. To show the photos, add {media} to a card structure.
Slides per view on desktopFrom 1 to 8. On mobile, every slide is almost a screen wide.
AutoplaySeconds per slide. 0 turns it off.
ArrowsOn the sides, Hidden on mobile or Hidden. Without arrows, shoppers swipe or scroll sideways.
No reviews textShown when there are no reviews yet. Empty shows nothing.
Summary positionFirst card, Above the slides, or First card, above on small screens.
Summary structure, Summary structure above the slidesThe summary's text in each position. Placeholders: {heading}, {logo}, {stars}, {star}, {rating}, {rating_decimal}, {max}, {count}, {count_compact}. See text templates for how they work.
Summary heading, Summary logoThe text for {heading}, like Excellent, and the image for {logo}.
Summary background color, Summary text colorThe colors of the summary.
Header structure, Body structure, Footer structureWhat each part of a review card shows, as placeholders.
Show relative datesLike 2 weeks ago instead of Aug 5, 2026. Search engines still read the real date.
Shorten long reviews after linesLonger reviews get a Read more button. 0 shows every review in full.
Star color, Star sizeEmpty star color uses the one from 5zero Core. Star size is relative to Core's, where the star icons are set too.
Title size, Text sizeThe review title, and every other text of a review card.
Heading, Heading tag, Heading classesThe text, its HTML level for the page outline, and your theme's classes for its look, like h2. Empty text shows no heading.
Hide review information linkHides the "About these reviews" link, which explains where the reviews come from and how they are checked.
Anchor IDAn ID links can jump to.
Custom CSSApplies to this block only. See Customising blocks.

Data

The block reads these metafields. Your theme code can read the same ones; their full structure is in the reference. On product pages they are the product's, elsewhere the shop's.

  1. newest_reviews and newest_reviews_meta: the newest reviews and their translations.
  2. featured_reviews and featured_reviews_meta: the featured reviews, shown first.
  3. rating and rating_count: the summary tile.

Each review in the lists is a product_review with its review_meta.

Examples

The slider reads the newest_reviews and featured_reviews lists of the product or the shop. Its stars follow the text color; to give them their own color, set --fo-star-color: #e7a427; in the block's Custom CSS.

The example below builds a slider in your own theme code. 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.

<fo-slider> adds previous and next buttons to any scroll container marked with data-fo-track. The buttons are disabled at the start and the end. The cards are yours to design. The track scrolls without JavaScript; the buttons need the script, which the 5zero Core app embed loads.

Exactly as the size guide promised. Third pair already.

No breaking in needed, I wear them all day.

Warm, soft and still breathable after a long hike.

{%- assign fiveoh = product.metafields['app--324569563137'] -%}
<fo-slider>
  <button data-fo-action="slide-prev" aria-label="Previous">‹</button>
  <div data-fo-track>
    {%- assign metas = fiveoh.featured_reviews_meta.value | compact -%}
    {%- for review in fiveoh.featured_reviews.value limit: 12 -%}
      <article data-fo-review-handle="{{ review.system.handle }}">
        <span class="fo-stars" style="--fo-rating: {{ review.rating.value.rating }}"></span>
        <p>{{ metas[forloop.index0].body.value | truncate: 160 }}</p>
      </article>
    {%- endfor -%}
  </div>
  <button data-fo-action="slide-next" aria-label="Next">›</button>
</fo-slider>

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

To show the newest reviews instead, read newest_reviews and newest_reviews_meta. For store-wide sliders, read the same lists from shop.metafields.

Troubleshooting

  1. The slider is empty: check that there are published reviews for the chosen Review scope.
  2. It shows store-wide reviews on a product page: set Review scope to This product.
  3. The buttons do nothing: turn on the 5zero Core app embed.