First, make sure Shopify's default comment system is turned off at Online Store -> Blog Posts -> Manage Blogs -> Your Blog -> Comments are Disabled.


By default, users need a HYVOR account to comment. However, you can easily set up Single Sign-On to connect Shopify accounts with Hyvor Talk, allowing your users to comment easily.

YOUR-SHOP-URL/account/loginMove to your Shopify console.


YOUR-WEBSITE-ID with your Hyvor Talk website ID and YOUR-PRIVATE-KEY with the private key you generated
in the previous step.{% 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>
That’s all! You should see Hyvor Talk comments on your online store. Login into your shop as a customer to test Single Sign-on.
If you have an old Shopify theme, you will have to edit your theme files instead of adding a section as in the previous step.
product.liquid