Turn Your Shopify Store Into a Place to Talk

Product Comments, Blog Discussions, and Star Ratings

Let customers ask questions, share tips, and rate your products right on the page. Add Hyvor Talk to your Shopify theme with one Custom Liquid section, and customers comment with their store account.

Installation guide About 10 minutes

Steps to Add Comments to Shopify

You can add Hyvor Talk to product pages and blog articles, and let customers comment with their Shopify account through single sign-on. The whole setup is one Custom Liquid section in your theme.

Turn off Shopify comments

First, turn off Shopify's default comment system at Online Store → Blog Posts → Manage Blogs → Your Blog → Comments (set to Disabled).

Shopify Comments Disabled

Set up Hyvor Talk

  1. Sign up at the Hyvor Talk Console and add a website. Use your Shopify store's domain as the website domain.

    Add your website to the Hyvor Talk Console
  2. Copy your website ID from Console → Settings → Website → Website ID. You'll need it later.

    Hyvor Talk Website ID
  3. By default, users need a HYVOR account to comment. Set up single sign-on so customers can comment with their Shopify account. Go to Settings → Single Sign-On, turn on SSO, and select the type Stateless.

    Hyvor Talk SSO
  4. Generate a private key and copy it. You'll need it in the next section.

  5. Set the login URL to YOUR-SHOP-URL/account/login.

Single sign-on is part of the Business plan. On other plans, customers can still comment with a free HYVOR account.

Add the comments to your theme

These steps are for Online Store 2.0 themes. On an older theme? Jump to vintage themes.

  1. In your Shopify admin, go to Online Store → Themes and click Customize on your theme.

    Shopify Edit Theme
  2. Add a Custom Liquid section to the page where you want comments.

    Shopify Add Custom Liquid
  3. Paste the code below into the Custom Liquid section. Replace YOUR_WEBSITE_ID with your website ID and YOUR_PRIVATE_KEY with the private key you generated.

    {% assign HT_WEBSITE_ID = YOUR_WEBSITE_ID %}
    {% assign PRIVATE_KEY = "YOUR_PRIVATE_KEY" %}
    {% assign user_data = "" %}
    {% if customer %}
        {% capture user_data %}{
            "id": "{{ customer.id | escape }}",
            "name": "{{ customer.name | escape }}",
            "email": "{{ customer.email | escape }}",
            "timestamp": "{{ 'now' | date: '%s' }}"
        }{% endcapture %}
        {% assign user_data = user_data | base64_encode %}
    {% endif %}
    {% assign hash = user_data | hmac_sha256: PRIVATE_KEY %}
    {% if template contains "product" %}
        {% assign hyvor_page_id = product.id %}
    {% elsif template contains "article" %}
        {% assign hyvor_page_id = article.id %}
    {% else %}
        {% assign hyvor_page_id = '' %}
    {% endif %}
    <hyvor-talk-comments
        website-id="{{ HT_WEBSITE_ID }}"
        page-id="{{ hyvor_page_id }}"
        sso-user="{{ user_data }}"
        sso-hash="{{ hash }}"
    ></hyvor-talk-comments>
    <script async src="https://talk.hyvor.com/embed/embed.js" type="module"></script>
    Shopify Custom Liquid

That's it. You'll see Hyvor Talk comments on your store. Log in to your shop as a customer to test single sign-on.

Vintage themes

Vintage themes don't support sections, so you edit your theme files instead. Open the Liquid file you want to add comments to (for example, product.liquid), paste the same code, and replace the website ID and the private key.

Frequently asked questions

Yes. The code works on product pages and blog articles. It uses the product or article ID as the page ID, so each one gets its own thread.

No. You add Hyvor Talk with a Custom Liquid section in the theme editor. Once it's in a template, every product or article using that template has comments, like a plugin would give you.

Customers can ask questions and share tips where other shoppers will see them. You can answer in the thread, and spam filtering and moderation tools keep it clean.

No. With stateless single sign-on, customers who are logged in to your shop comment with their store account. Single sign-on comes with the Business plan.

Yes. Turn on star ratings for product pages and customers can rate and discuss a product in one place. Ratings come with the comments at no extra cost. See ratings.

Yes, so readers don't see two comment sections. Set it to Disabled at Online Store → Blog Posts → Manage Blogs → Your Blog → Comments.

Yes. If your theme doesn't support sections, paste the same code into the Liquid file directly, for example product.liquid.

Start the 14-day free trial. No credit card, cancel anytime. Plans are listed on the pricing page.

Start your 14-day free trial now!

14-day free trial
No credit card required
Cancel anytime