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”:

If you have more questions, contact our Support team at [email protected]. We're available 24/7 and happy to help!

Still need help? Contact Us Contact Us