Add a widget to the Shopify website
First, please make sure that you:
- added the Trust code to your website
- created a widget and assigned testimonials to it first.
After your widget is set and ready, all you need to do is copy and paste its code to the appropriate place on your Shopify website.
1. Go to βWidgetsβ, choose a widget you want to add to your website, and click the βAdd to websiteβ icon in front of it.

2. Copy the widget's code.

π If your Shopify website already has the βCustom HTMLβ website section, you can jump to Step 7.
3. Log in to the Shopify account, go to βOnline Store β Themesβ on the left menu bar, press the βActionsβ button and choose βEdit codeβ from the dropdown menu.

4. Scroll down to the βSectionsβ menu, press the βAdd a new sectionβ button, name it:
section-custom-html
and click βCreate sectionβ.

5. Remove the default code.

6. Copy & paste the code below to this section content, then press βSaveβ:
<div id="trust-custom-section">
{%- if section.settings.title != blank -%}
<div class="trust-custom-title"><h2>{{section.settings.title}}</h2></div>
{%- endif -%}
<div class="trust-custom-code">{{section.settings.custom_html}}</div>
</div>
<style> #trust-custom-section{position:relative;} .trust-custom-title{text-align:center;} </style>
{% schema %}
{
"name": "HTML",
"settings": [
{
"type": "text",
"id": "title",
"label": "Title"
},
{
"type":"textarea",
"id": "custom_html",
"label": "HTML"
}
],
"presets": [
{
"name": "Custom HTML",
"category": "Trust",
"settings": {
}
}
]
}
{% endschema %}

7. Come back to βOnline Store β Themesβ on the left menu bar and press the βCustomizeβ button.

8. Click the βAdd sectionβ button on the place of the website page where you want the widget to appear, then find the βCustom HTMLβ section.

9. Paste the Trust widgetβs code here and click βSaveβ.

10. Enjoy results!
