Orvelt

Shopify

Put Orvelt's opinion form on any page of your Shopify store with a Custom Liquid section, no app or developer needed.

Shopify's theme editor has a section called Custom Liquid that accepts HTML. You'll add one to the page where you want the form and paste your block into it. This works with Shopify's free themes and most paid ones.

Before you start: have your Project ID ready and choose feedback button or form on the page. How to get these

1. Copy your block

Replace PASTE-YOUR-PROJECT-ID-HERE with your Project ID.

<button id="orvelt-feedback-button" type="button">Give feedback</button>
<script src="https://unpkg.com/@orvelt/business/dist/opinion-embed.js"></script>
<script>
  (function () {
    var form = OrveltEmbed.configure({
      projectId: 'PASTE-YOUR-PROJECT-ID-HERE',
      visibility: 'public',
    });
    document.getElementById('orvelt-feedback-button').addEventListener('click', function () {
      form.open();
    });
  })();
</script>

2. Paste it into your theme

In your Shopify admin, go to Online Store → Themes.

Next to your current theme, select Customize. The theme editor opens.

Use the page selector at the top of the editor to open the page where the form should appear, for example Pages → Contact or your Home page.

In the left sidebar, select Add section, then choose Custom Liquid.

Select the new Custom Liquid section. Paste your block into the Liquid code box.

Drag the section to where you want it on the page, then select Save.

The form doesn't show in the editor preview

Some themes don't run scripts inside the theme editor. Open your live store in a new tab to check it.

3. Test it

Open the page on your live store and submit a test opinion. Test the form

If you set allowed origins

Add your store's addresses under Allowed origins, such as https://www.your-store.com and, if customers can also reach it there, https://your-store.myshopify.com. Allowed origins

What about the order status page?

Shopify's checkout and order status pages are managed separately from your theme and don't accept Custom Liquid sections. To ask for feedback after a purchase, send a personal link, or ask your developer to automate it with the Business API.