Skip to main contentSkip to Content
Skip to Content
Displaying ReviewsCheckout blocks

Checkout blocks

Doubts come back at checkout: is this the right product, is the shop trustworthy? FiveOh’s checkout blocks repeat your social proof right there, next to each product in the order summary or as a block anywhere in the checkout.

Checkout blocks are Shopify checkout extensions, which only run on Shopify Plus.

BlockWhereShows
Line Item RatingUnder each productThe product’s rating, like ★ 4.8/5 (126)
Line Item ShareUnder each productThe share of good reviews, like 92% 4+ stars
Line Item Sold CountUnder each productUnits sold, like 120+ sold in the last 7 days
Store RatingAnywhere in the checkoutYour overall rating, like ★★★★★ Rated 4.8/5 from 2341 reviews
Rating ShareAnywhere in the checkoutThe share of good reviews across your store

Where to place it

  1. Checkout, in the order summary under each product: Line Item Rating, Line Item Share, Line Item Sold Count
  2. Checkout, anywhere: Store Rating, Rating Share

Adding a checkout block

  1. In your Shopify admin, open Settings → Checkout and click Customize.
  2. For a line item block, click Add app block in the order summary. For Store Rating and Rating Share, choose a spot anywhere in the checkout.
  3. Choose the FiveOh block, set it up in the sidebar and save.

Texts and structure

Checkout extensions cannot run Liquid or custom CSS, so checkout blocks have a simpler Structure setting: plain text with values in braces, like {rating}/{max} ({count}).

  1. Bold: <b> and <strong> make a part bold. These are the only tags the checkout supports.
  2. Other tags like <div> are replaced by a space. In the default structures they only separate the stars from the text.
  3. Translated words: {pluralised_reviews}, {pluralised_stars} and {pluralised_ratings} become “review” or “reviews”, “star” or “stars”, “rating” or “ratings”, in the checkout’s language and matching the count. Everything else in the Structure is shown as you write it.

The rating values:

ValueShows
{stars}Five stars, filled to the rating
{star}One filled star
{rating}The rating, without .0 for whole numbers: 4.8, 5
{rating_decimal}The rating, always with one decimal: 4.8, 5.0
{max}5
{count}The number of reviews

Checkout cannot use your own colors. Star tone picks one of the checkout’s color tones for the stars: info (the default), warning (closest to gold), neutral, success or critical. Star size is small-200, small, base (the default) or large. For your own star images, paste their URLs from Shopify Files into the star icon settings.

Line Item Rating

Shows the rating of each product in the cart.

SettingWhat it does
Review scopeproduct: the product’s rating, including all variants (default). variant: only the variant in the cart.
Star tone, Star size, star icon URLsThe look of the stars.
Minimum reviews to showHides the rating below this number of reviews.
StructureDefault: {star}<div>{rating}/{max} ({count})</div>. Values: {stars} (five stars), {star} (one star), {rating}, {rating_decimal}, {max}, {count}, {pluralised_reviews}, {pluralised_stars}, {pluralised_ratings}.

Line Item Share

Shows the share of reviews at a star level for each product.

SettingWhat it does
Review scopeproduct (default) or variant.
Share type5 stars, 4 stars and more (default), 2 stars and less, or 1 star.
Minimum percent to show, Minimum count to showHide the share below these. 0 ignores them.
Maximum percent to show, Maximum count to showFor the negative share types: hide the share above these.
StructureDefault: {share_percent}% 4+ stars. Values: {share_percent}, {share_count}, and for every type {five_star_percent}, {four_plus_percent}, {two_minus_percent}, {one_star_percent} with their _count.

Line Item Sold Count

Shows how many units of each product were sold in a period.

SettingWhat it does
Review scopeproduct (default) or variant.
PeriodLast 24 hours, 7 days (default), 30 days or all time.
Minimum count to showHides the line below this number, 1 by default.
StructureDefault: {sold_count}+ sold in the last 7 days. Values: {sold_count}, {sold_count_compact}, and {sold_count_last_24_hours}, {sold_count_last_7_days}, {sold_count_last_30_days}, {sold_count_all_time}, each also with _compact.

Update the text when you change the period.

Store Rating

Shows your rating across all reviews as a block in the checkout.

SettingWhat it does
Review scopestore: reviews about your shop. product: all product reviews. mixed: both (default).
Star tone, Star size, star icon URLsThe look of the stars.
Minimum reviews to showHides the block below this number of reviews.
StructureDefault: {stars}<div>Rated <b>{rating}/{max} from {count}</b> {pluralised_reviews}</div>. Same values as Line Item Rating.

Rating Share

Shows the share of reviews at a star level across your store, as a block in the checkout.

SettingWhat it does
Review scopestore, product or mixed (default).
Share type, minimums and maximumsAs for Line Item Share.
StructureDefault: {share_percent}% 4+ stars. Same values as Line Item Share.

Troubleshooting

  1. The blocks are not offered in the checkout editor: checkout extensions need Shopify Plus.
  2. A line shows nothing: the product has fewer reviews or sales than the minimum, or none in the chosen period.
  3. The text is in English on another language: only the words for “reviews”, “stars” and “ratings” are translated. Keep the rest of the Structure short, or use values only.
Last updated on