Displaying the Loox Trust Badge on Vintage Themes

Integrate and display the Loox Trust Badge on your vintage theme (Shopify 1.0 theme) homepage by adding the widget’s code to your theme.

Note: Merchants using a Shopify 2.0 Theme should read our “Adding Loox Widget to Your Theme” article to learn how to display Loox Widgets on their pages.

To manually integrate the Loox Trust Badge with your homepage by code:

  • Inside the Shopify Themes menu, click the “... ” button next to “Customize” and select "Edit code":

  • Open the template or section you use for your homepage (usually called theme.liquid).
  • Copy the line of code below and paste it where you would like the widget to appear:
{% if shop.metafields.loox["global_stats"] %}
{% assign looxstats = shop.metafields.loox["global_stats"] | split: ',' %} 
<div
  class="loox-trust-badge-container"
  data-loox-layout="horizontal"
  data-loox-alignment="fillContainer"
  data-loox-review-title="reviews"
  data-loox-scheme-type="default"
  data-loox-rating-icon="true"
  data-loox-average-rating="true"
  data-loox-review-count="true"
  data-loox-show-border="true"
  data-loox-border-radius="8"
  data-loox-font-size="20"
  data-loox-open-reviews="true"
        data-loox-loox-branding="true"
  data-loox-rating="{{ looxstats[0] }}"
  data-loox-raters="{{ looxstats[1] }}"
></div>
{% endif %}


  • Click “Save”:

Related Articles

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article