HELP CENTER Only Shopify

Product Q&A for Shopify

AI-powered question and answer widget for your Shopify store product pages.

⚠️

Requirement: Shopify connected

This plugin requires Shopify to be connected to WAzion to obtain product information. If you haven’t connected it yet, go to Dashboard → Integrations → Shopify.

What is Product Q&A?

Product Q&A is a widget that integrates into the product pages of your Shopify store. It allows visitors to ask specific questions about the product and receive instant AI-generated answers based on the actual product information.

  • Responses based on product title, description, variants, and stock
  • It does not require configuring a prompt (but you can add additional instructions)
  • Multi-language support with automatic translation
  • 10 design themes to match your store
  • Question statistics by product

How to activate the plugin

  1. Open the WAzion Dashboard
  2. Go to “Plugins“ → “Product Q&A
  3. Activate the “Plugin active“ switch
  4. Add your domain in “Authorized Domains“ (e.g., mitienda.myshopify.com)
  5. Copy the integration code
  6. Paste it into the main-product.liquid file of your Shopify theme

Integration code

This is the code you need to add to your Shopify theme:

<!-- WAzion Product Q&A -->
<div id="wazion-product-qa"></div>
<script>
(function(w,d,s,t,p){
  if(w.WazionProductQA)return;
  w.WazionProductQA={token:t,productId:p};
  var js=d.createElement(s);js.async=true;
  js.src='https://www.wazion.com/plugins/product-qa/embed.js';
  js.dataset.token=t;js.dataset.product=p;
  d.body.appendChild(js);
})(window,document,'script','TU_TOKEN_AQUI','{{ product.id }}');
</script>
<!-- /WAzion Product Q&A -->

Note: {{ product.id }} is a Liquid variable that Shopify automatically replaces with the current product’s ID. Do not modify it.

Step-by-step guide: Installation on Shopify

Follow these detailed steps to add the Product Q&A widget to the product pages of your Shopify store.

1

Access the theme code editor

In your Shopify admin panel:

  1. Click on Online Store in the left side menu
  2. Select Themes
  3. In your current theme (the one that says “Current“), click on the three dots (...)
  4. In the dropdown menu, select Edit code

Advice: Before making changes, consider duplicating your theme as a backup. Go to the three dots and select “Duplicate“.

2

Look for the product page file

In the left sidebar of the code editor:

Online Store 2.0 Themes (Dawn, etc.)

  1. Expand the Sections folder
  2. Search for and click on main-product.liquid

Old themes (Vintage, Debut, etc.)

  1. Expand the Templates folder
  2. Look for product.liquid or product-template.liquid

Can’t find it? Use Ctrl+F (or Cmd+F on Mac) in the file list and search for “product“.

3

Find where to insert the code

Look for a good spot for the widget. We recommend placing it after the product description:

Search for common references:

Use Ctrl+F (Cmd+F on Mac) to search for these references:

  • • product.description
  • • product-form
  • • add-to-cart
  • • buy-buttons

Ideal location: After the add to cart form or after the product description.

4

Paste the widget code

Insert the following code in the location you chose:

<!-- WAzion Product Q&A Widget -->
<div id="wazion-product-qa" style="margin: 20px 0;"></div>
<script>
(function(w,d,s,t,p){
  if(w.WazionProductQA)return;
  w.WazionProductQA={token:t,productId:p};
  var js=d.createElement(s);js.async=true;
  js.src='https://www.wazion.com/plugins/product-qa/embed.js';
  js.dataset.token=t;js.dataset.product=p;
  d.body.appendChild(js);
})(window,document,'script','TU_TOKEN_AQUI','{{ product.id }}');
</script>
<!-- /WAzion Product Q&A Widget -->

Important! Replace YOUR_TOKEN_HERE with the token that appears in your WAzion Dashboard → Plugins → Product Q&A.

5

Save the changes

Click the Save button in the upper right corner of the code editor.

6

Check the installation

  1. Open your store in an incognito window
  2. Go to any product page
  3. You should see the Product Q&A widget
  4. Make a test question to verify that it works

Alternative method: Create a section block (Online Store 2.0)

This method allows you to add/remove the widget from the visual customizer without touching code each time:

  1. In the code editor, go to the Snippets folder
  2. Click on Add a new snippet
  3. Name it wazion-product-qa (it will be created as wazion-product-qa.liquid)
  4. Paste the widget code and save
  5. Now in main-product.liquid, wherever you want the widget, add:
{% render 'wazion-product-qa' %}

This way you can easily move or remove the widget by editing just one line.

Problem solving

The widget does not appear on the product page

  • Verify that the plugin is activated in Dashboard → Plugins → Product Q&A
  • Check that your domain is on the list of authorized domains
  • Verify that Shopify is connected to WAzion
  • Open the browser console (F12 → Console) and look for errors in red
  • Test in incognito window to rule out cache issues

Invalid token“ or “Unauthorized domain“ error

  • Copy the token directly from the Dashboard, without spaces
  • Add your exact domain to the authorized ones: mitienda.myshopify.com And mitienda.com
  • Wait a few seconds after saving changes on the Dashboard

The widget appears but says “Error loading product

  • Verify that Shopify is connected in Dashboard → Integrations
  • Make sure you have not modified {{ product.id }} in the code
  • The product must be published and visible in the store

The widget appears in the wrong place

  • Move the code to another location in main-product.liquid
  • Look for references like “product__description“ to place it underneath
  • Use the margin style in the div to adjust spacing: style=“margin: 30px 0;

I don’t know which file to edit in my theme

Common files by topic:

  • Dawn, Craft, Sense: sections/main-product.liquid
  • Debut: sections/product-template.liquid
  • Brooklyn: templates/product.liquid
  • Minimal: sections/product-template.liquid

If your topic is not on the list, look for files containing “product“ in Sections or Templates.

Configuration options

Authorized Domains

List of domains where the widget can operate. For security reasons, use is only allowed from authorized domains.

  • • mitienda.myshopify.com
  • • mitienda.com (custom domain)
  • • * (any domain - for development only)

Design Topics

10 pre-designed themes to customize the widget for your store:

Minimal Modern Classic Dark Ocean Sunset Forest Rose Slate Neon

Widget Texts

Customize the texts that the visitor sees:

  • Widget title (e.g., “Questions about this product“)
  • Text field placeholder
  • Ask button text

The texts are automatically translated into the visitor’s language.

Instructions for the AI (optional)

You can add additional information that the AI will take into account when responding:

  • Shipping and Return Policies
  • Active promotions
  • Special instructions (e.g., “Do not mention competitor products“)
  • Contact Information

This field is optional. Without additional instructions, the AI will respond using only the product information from Shopify.

Language Settings

Auto-detect

Automatically detects the visitor’s browser language.

Fixed language

Always display in a specific language.

With selector

Automatically detects but allows the visitor to manually change the language.

Anti-Abuse Protection

Limit the number of questions per visitor to protect your account:

  • Maximum number of questions per period (e.g., 20 questions)
  • Time window in minutes (e.g., 60 minutes)

Statistics and Question Viewer

Usage metrics

  • Total questions
  • Questions in the last 7 days
  • Today’s questions
  • Unique visitors (24h)

Most Viewed Products

View a ranking of the 5 products with the most questions. Useful for identifying which products generate the most inquiries.

Question Viewer

Review all the questions asked by the visitors:

  • Filter by period: Today, 7 days, 30 days, 90 days, 1 year, all, or custom range
  • Paginated list: Browse through all the questions (10 per page)
  • Full detail: See question, AI answer, product, language, and URL
  • FAQ status: Each question shows whether it is already published as an FAQ
  • Manual publish: Post any question as a FAQ with one click

New: The FAQ column shows the status of each question: a green checkmark if it is synchronized with Shopify, a yellow badge if it is pending synchronization, or a + button to publish it manually.

FAQ Publish on Shopify New

Automatically publish your customers’ frequently asked questions as FAQs on Shopify products. Improve your SEO with Schema.org FAQPage and reduce repeated questions.

What is the Public FAQ?

When a customer asks a generic question about a product (for example: “Is it waterproof?“ or “What is the shipping time?“), the AI evaluates whether that question and answer would be useful for other customers.

If the AI decides that it is a good FAQ, it is automatically published in the product metafield in Shopify. Then you can display these FAQs in your theme with the Liquid code we provide.

🔍

Better SEO

Google shows your FAQs as rich snippets

⏱️

Fewer questions

Customers see answers before asking

🤖

100% automatic

No manual moderation needed

How it works

  1. 1

    AI Evaluation

    When a customer asks a question, the AI evaluates whether it is generic (useful for others) and does not contain personal data.

  2. 2

    Automatic translation

    If the customer asks in another language, the FAQ is automatically translated into your store’s primary language.

  3. 3

    Anti-duplicates

    It is verified that a similar FAQ (80% similarity) does not already exist before publishing.

  4. 4

    Shopify Post

    The FAQ is saved in the product’s wazion.faqs metafield, ready to display in your theme.

How to activate the Public FAQ

  1. Go to Dashboard → Plugins → Product Q&A
  2. Look for the section “FAQ Public in Shopify
  3. Activate the “Enable public FAQ“ switch
  4. If a permission prompt appears, click on “Verify permission
  5. Set the maximum number of FAQs per product (1-20)
  6. Save the changes

About the permit: To write FAQs in Shopify you need the “write_products“ permission. If you don’t have it, go to your Shopify dashboard → Apps → WAzion → Permissions to add it.

Management of published FAQs

Although the FAQs are published automatically, you have full control from the Dashboard:

  • See FAQs: List of all published FAQs, filtered by product or status
  • Manual publish: From Latest Questions you can publish any question as an FAQ with one click
  • Unpublish Remove a Shopify FAQ but keep it in your history
  • Republish: Republish a previously unpublished FAQ
  • Delete Permanently delete a FAQ

Show FAQs in your Shopify theme

You need to add two codes in your main-product.liquid file:

1. Visual code (HTML)

Show the FAQs to your customers. Add it wherever you want them to appear:

<!-- WAzion Product FAQs -->
{% assign faqs_data = product.metafields.wazion.faqs.value %}
{% if faqs_data.faqs.size > 0 %}
<div class="product-faqs">
  <h3 class="product-faqs__title">Preguntas Frecuentes</h3>
  {% for faq in faqs_data.faqs %}
  <details class="product-faqs__item">
    <summary class="product-faqs__question">{{ faq.q }}</summary>
    <div class="product-faqs__answer">{{ faq.a | newline_to_br }}</div>
  </details>
  {% endfor %}
</div>
{% endif %}

2. JSON-LD for SEO (Google Rich Snippets)

Invisible to users, but Google uses it to display FAQs in search results. Add it to the end of the file:

<!-- WAzion FAQs JSON-LD for SEO -->
{% assign faqs_data = product.metafields.wazion.faqs.value %}
{% if faqs_data.faqs.size > 0 %}
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {% for faq in faqs_data.faqs %}
    {
      "@type": "Question",
      "name": {{ faq.q | json }},
      "acceptedAnswer": {
        "@type": "Answer",
        "text": {{ faq.a | json }}
      }
    }{% unless forloop.last %},{% endunless %}
    {% endfor %}
  ]
}
</script>
{% endif %}

Code 1: No styles so it inherits from your theme. Customize with CSS.

Code 2: Google Rich Snippets in search results.

Which questions are NOT published?

AI automatically filters out questions that are not suitable for the public FAQ.

  • Questions with personal data (names, emails, phone numbers)
  • Inquiries about specific orders (order numbers, tracking)
  • Individual complaints or issues
  • Very specific questions that would not apply to other clients
  • Duplicate questions (similar to already published FAQs)

Product Q&A vs Chat Web

Feature Product Q&A Chat Web
Purpose Questions about a specific product General assistant for the entire site
AI Context Shopify product information Your personalized prompt
Location Product page Any page (floating or embedded)
Requires Shopify Yes No
Prompt configuration Optional (additional instructions) Recommended

Frequently Asked Questions

Related articles

WAzion Assistant

Commercial information and technical support

Hello! I am the WAzion assistant. I can help you with information about prices and plans, technical questions, configuration, or any questions about our product. How can I assist you?
Developed with WAzion AI