Magento 2 Module – Ask About Product

€183.10 €148.86
COMPOSER Installation
M2-ASK-PROD
PayPal PayPal
Przelew Przelew

Magento Modules: Clear Guidelines

You purchase the module once, with no domain restrictions

Tooltip

Free installation and updates via Composer

Tooltip

Affiliate Program

Tooltip

Technical support for Magento

Tooltip

Clear guidelines for licensing Magento modules

Tooltip

Magento Module Code Security

Tooltip

Kowal_ZapytajOProdukt is an advanced Magento 2 module for customer communication on the product page. It combines a classic question form, structured FAQ, and an AI Assistant in one consistent solution.

In practice, this means the product page is no longer just a place to present a description and technical parameters, but becomes an active support point for customer questions. The user can:

  • ask a standard question about the product,
  • use ready-made answers published in the FAQ,
  • chat with the AI Assistant, which responds in the context of the product currently being viewed.

The module was designed to solve two problems at the same time:

  • support-related, meaning it helps reduce the number of repetitive questions sent to the store team,
  • product-related, meaning it builds a growing, structured knowledge base that improves the quality of answers over time.

Business goal

In many online stores, a significant share of customer questions is repetitive:

  • whether the product is compatible with a specific Magento version,
  • whether it works without an additional module,
  • how the installation process works,
  • whether it supports multiple languages,
  • whether it requires custom changes to the theme,
  • how it behaves in a specific business scenario.

Without a dedicated support tool, these questions:

  • burden support,
  • slow down purchase decisions,
  • scatter knowledge across email inboxes, tickets, and sales conversations,
  • do not return to the store as a structured FAQ.

This module organizes that process. First, it collects questions and answers, then organizes them into an FAQ, and in the next stage uses them as context for the AI Assistant and the retrieval layer based on OpenAI Vector Store.

Core idea of the solution

The module works in layers.

Layer 1. Classic product questions

A standard question submission mechanism can be enabled on the product page. The customer sends an inquiry, and the administrator or store staff receives it for further handling. This is the simplest and most predictable form of contact.

Layer 2. FAQ

Recurring questions and answers can be saved and published as a product FAQ. The FAQ can be displayed as a tab or as a separate section on the product page. This allows future visitors to get an answer without having to submit a new question.

Layer 3. AI Assistant

A lightweight AI conversation component appears above or below the standard FAQ. The user can:

  • click one of the popular questions,
  • enter their own question in the Zapytaj Asystenta o ten produkt. field,
  • see the answer in the same conversation area.

The Assistant does not work as a general store chatbot. It was designed as a product assistant, which means the answer should be based primarily on:

  • data from the current product,
  • published FAQ entries,
  • the history of the current conversation,
  • optionally, retrieval results from OpenAI Vector Store.

Functional scope of the module

1. Zapytaj o produkt form

The module provides a classic customer contact mechanism.

Key elements:

  • a Zapytaj o produkt button or form on the product page,
  • AJAX handling on the frontend,
  • saving the question to the database,
  • option to send an email notification,
  • option to enable the module globally or only for selected products.

This solution still makes sense even when the store already uses the AI Assistant. Not every question should be handled automatically. Some cases require a sales response, an individual quote, or confirmation by the technical team.

2. FAQ on the product page

The FAQ in this module is not a marketing add-on, but a structured knowledge layer about the product.

The administrator can:

  • review saved questions,
  • add answers,
  • publish selected records,
  • display them on the product page.

The FAQ can be shown:

  • as a tab,
  • as a separate section on the product page.

What matters is that the FAQ is not only used by the frontend. Published questions and answers are also used as one of the most important context elements for the AI Assistant.

3. AI Assistant on the product page

The AI Assistant is the central element of the module expansion.

The component is embedded on the product page, by default under the gallery, and has been prepared to:

  • run lightly on the frontend,
  • avoid unnecessarily burdening the first page render,
  • be readable on desktop and mobile,
  • be suitable for further development.

The user sees:

  • the section title,
  • introductory text,
  • a single text field for asking a question,
  • a list of the most popular questions,
  • a conversation area that expands with subsequent questions and answers.

In the current version, the form also supports:

  • conversation history within the session,
  • clickable popular questions,
  • feedback for AI answers,
  • two color variants: light and dark.

4. Popular questions

The most popular product questions can be displayed below the text field.

This solution serves several functions at once:

  • speeds up the start of the conversation,
  • suggests to the customer what others ask about most often,
  • allows ready-made FAQ answers to be used without the cost of an AI model request,
  • improves UX and reduces the number of empty interactions.

Question popularity is no longer based only on manual order. The module collects data about clicks, submitted questions, and feedback, then ranks the FAQ based on that data.

5. AI answer context

The most important design assumption was that AI should not answer out of context from the product.

The answer can be built based on several sources:

  • basic product data,
  • short description,
  • full description,
  • selected product attributes,
  • published FAQ entries,
  • conversation history.

Additionally, the module lets you limit which attributes are sent to the model, so you can avoid:

  • overloading the prompt,
  • sending unnecessary data,
  • excessively high token cost,
  • accidentally passing content that is not useful to the customer.

6. Integration with OpenAI Responses API and Vector Store

One of the key expansion elements is integration with OpenAI Responses API.

In simpler scenarios, the module can operate in local product and FAQ context mode. In more advanced implementations, it supports:

  • file_search,
  • vector_store_ids,
  • filtering by sku,
  • filtering by product_sku,
  • filtering by store_code,
  • filtering by content_type,
  • limiting the number of retrieval results,
  • hybrid mode,
  • retrieval-first mode.

This means the AI answer can be based not only on data passed directly from Magento with a given request, but also on documents previously added to Vector Store.

In practice, this provides two benefits:

  • lower cost, because the entire dataset does not need to be sent to the model each time,
  • better scalability, because retrieval can handle a larger knowledge base than a simple prompt with local JSON.

7. Integration with Kowal_AiProductFeed

The module has been prepared to work with Kowal_AiProductFeed.

This integration allows you to:

  • synchronize product data to OpenAI Vector Store,
  • use documents such as product.core, product.faq, product.docs, and others,
  • resynchronize a selected product before the conversation,
  • limit retrieval to specific content types.

This approach is especially useful where:

  • product descriptions are long,
  • the FAQ is extensive,
  • the store handles many technical products,
  • product data is continuously developed.

8. Analytics and feedback

The module does not stop at generating the answer itself.

It also saves data that helps assess whether the solution works:

  • number of FAQ clicks,
  • number of submitted questions,
  • helpful / not helpful ratings,
  • conversation history,
  • technical metadata of AI answers,
  • token usage,
  • request and response payload, if you enable diagnostic logging.

This means the implementation is not a black box. The team can analyze:

  • which questions appear most often,
  • whether AI uses retrieval,
  • whether the answers are accurate,
  • which records are worth saving permanently as FAQ entries,
  • how cost and quality change after modifying the prompt or configuration.

9. FAQ candidates and administrative workflow

One of the most important advantages of the module is the ability to turn conversations into new FAQ entries.

The process works as follows:

  1. Customers ask questions.
  2. The module saves conversations.
  3. The analysis mechanism identifies FAQ candidates.
  4. The administrator reviews candidates in the panel.
  5. After approval, the candidate is added to the standard product FAQ.

This is a very practical workflow because knowledge does not get lost in conversation history. With each iteration, the store builds a better answer layer:

  • for customers,
  • for the FAQ,
  • for the AI Assistant,
  • for future retrieval.

10. Security and control

The module has been prepared so its operation can be controlled.

The configuration includes, among other things:

  • access restrictions for guests,
  • conversation TTL,
  • request limits,
  • input data sanitization,
  • diagnostic logging options,
  • reCAPTCHA configuration,
  • a controlled scope of data sent to the model.

This is important because implementing AI on the product page should not mean losing control over:

  • cost,
  • data,
  • answer quality,
  • frontend load.

11. Who this module is for

The module works best in projects where:

  • the catalog is larger than a few simple products,
  • customers often ask about compatibility, configuration, or implementation,
  • the team wants to combine a classic FAQ with a modern AI layer,
  • the company develops product documentation and wants to use it in retrieval,
  • control over what AI knows and where it gets answers from is important.

It is especially well suited for stores selling:

  • Magento modules,
  • technical products,
  • B2B solutions,
  • tools that require implementation or configuration,
  • products where the customer expects a fast and precise answer before purchase.

12. Summary

Kowal_ZapytajOProdukt is no longer just a module for a simple contact form on the product page.

It is a complete product communication layer that:

  • collects questions,
  • publishes FAQ entries,
  • answers through AI,
  • uses Vector Store,
  • analyzes conversations,
  • and turns them into an increasingly better store knowledge base.

As a result, the product page becomes a place for a real conversation with the customer, not just a static page with a description and price.

Magento 2 module for handling product questions and the AI Assistant on the product page.

What the module does

The module combines three areas:

  • a classic Zapytaj o produkt form with question saving and email notification,
  • an FAQ section on the product page with manual answer publishing,
  • AI Assistant on PDP with popular questions, conversation history, analytics, and OpenAI Vector Store integration.

Key features

  • product question button and form,
  • admin panel for managing questions and answers,
  • FAQ as a tab or separate section on the product page,
  • AI conversation component under the product gallery,
  • popular questions based on FAQ data and analytics,
  • conversation saving and answer feedback,
  • FAQ candidate pipeline with review in the admin panel,
  • OpenAI Responses API + Vector Store provider,
  • retrieval with sku, product_sku, store_code, and content_type filters,
  • optional integration with Kowal_AiProductFeed.

Requirements

  • Magento 2
  • PHP compatible with the project version
  • active kowal/base module

Optional:

  • OpenAI API key for AI features,
  • Kowal_AiProductFeed module, if you want to use data resynchronization to Vector Store before the conversation.

Installation

Composer

Add the composer repository to the configuration:

composer config repositories.zapytaj.o.produkt vcs https://github.com/kowalco/magento-2-zapytaj-o-produkt

Add an access token for the private GitLab repository:

composer config --global --auth github-oauth.github.com 
composer require kowal/module-zapytajoproduktphp bin/magento module:enable Kowal_ZapytajOProduktphp bin/magento setup:upgradephp bin/magento cache:flush

In a production environment, you will usually also run:

php bin/magento setup:di:compilephp bin/magento setup:static-content:deploy -fphp bin/magento indexer:reindex

Basic configuration

Path:

  • Stores > Configuration > Zapytaj o produkt

Minimal start without AI:

  • enable the module,
  • enable the FAQ or question form,
  • optionally set an additional email address.

Minimal start with AI:

  • Asystent AI - Ogolne > Wlacz Asystenta AI = Yes
  • Asystent AI - Provider > Provider = OpenAI Responses API + Vector Store
  • set Klucz API and Model,
  • in Asystent AI - Kontekst, select OpenAI Vector Store or configure fallback through Kowal_AiProductFeed,
  • set Tryb budowania kontekstu z Vector Store,
  • optionally enable Pokazuj popularne pytania and Pokazuj feedback odpowiedzi.

Implementation note

If you do not see the effect on the product page after frontend changes, refresh the cache and rebuild static content:

php bin/magento cache:flushphp bin/magento setup:static-content:deploy -f pl_PL en_US
Release notes: Magento 2 Ask About a Product module with product inquiry form, product FAQ, AI Assistant, analytics, and OpenAI Vector Store retrieval integration. Includes admin workflow for converting conversations into FAQ entries and configurable security controls.

Questions and Answers

Question
Does the customer need to be logged in after clicking the “Ask about this product” button?
Answer
No — customers can also send an inquiry as guests. If they are logged in, their email address and phone number are filled in automatically, which speeds up the process.
Question
Does the inquiry form appear in a modal without reloading the page?
Answer
Yes — the module uses an AJAX form and is displayed in a pop-up window on the product page, ensuring a smooth user experience.
Question
Are the product details (name, URL) automatically added to the inquiry?
Answer
Yes — the module automatically retrieves the product name and its link, and includes them in the inquiry content, so the sales department immediately knows which product it concerns.
Question
Where does the message with the customer’s inquiry go?
Answer
Customer inquiries are automatically sent to the specified email address (e.g., the customer service department) and are additionally saved in the Magento admin panel. The administrator can review inquiries, respond directly from the panel, and also—after approval—publish answers as an FAQ section directly on the product page.
Question
Does the module modify or overwrite native Magento or theme files?
Answer
No — the module operates fully in accordance with the Magento 2 architecture, without interfering with the system core files. Frontend components are added via XML layout and dedicated templates that do not overwrite the original files of your theme. As a result, the module is safe to update and compatible with most graphic themes.
Question
Does the module work well in a store with products that have variable pricing or are available upon request?
Answer
Yes — this is one of the main use cases: stores where a product’s price or availability can be negotiated or requires contact will benefit from the inquiry form.
Question
Can I customize the appearance of the inquiry form (e.g., button text, color, layout)?
Answer
Yes — in most Magento 2 themes, the module integrates with the product.info.addto section, and you can customize the appearance to match the store’s brand by overriding the template or modifying the CSS.
Question
Does the module protect the form against spam or bots?
Answer
Yes — the form works via AJAX and, in the standard installation, does not require entering full contact details for a guest (but they can be configured), which limits simple automated spam.
Question
Does the customer need to be logged in to send a product inquiry?
Answer
No — the customer can also send an inquiry as a guest, without having to log in.
Question
Does the “Ask about the product” form appear in a pop-up window on the product page?
Answer
Yes — the module displays the inquiry form in a modal window on the product page, which improves user convenience.
Question
Are the product details (e.g., name, SKU, link) automatically filled in the inquiry?
Answer
Yes — the module automatically includes the product name, its SKU, and a link to the product page, which makes it easier for my support team to understand which product the inquiry is about.
Question
Where does the customer inquiry message go?
Answer
Inquiries are sent to the specified email address and saved in the Magento admin panel, where you can respond to them and—if the module allows it—publish the answer as an FAQ on the product page.
Question
Can I view and manage all customer inquiries in the admin panel?
Answer
Yes — the module saves inquiries in the admin panel, allowing you to view, filter, and respond to customer inquiries.
Question
Can answers to inquiries be published as an FAQ section for the product?
Answer
Yes — the module allows published answers to be displayed as part of the FAQ on the product page, which improves informativeness and SEO.
Question
Does the module require modifications to Magento core or theme files?
Answer
No — the module is compatible with the Magento 2 architecture as an extension and does not require overwriting the system’s core files.
Question
Does it work in a multi-store environment with multiple stores and views, as well as in a multilingual environment?
Answer
Yes — the module supports typical Magento 2 installations with multiple store views, allowing you to customize the form and how it works for different languages/stores.
Question
Can inquiries be filtered by product, customer, or status?
Answer
Yes — the admin panel allows you to filter and search results by product, customer, or other criteria.
Question
Does this affect the store’s performance?
Answer
The impact on performance is minimal—the module adds a lightweight AJAX form and saves inquiry data, which usually does not significantly affect the store’s speed. However, it is worth testing in a staging environment.
Write Your Own Review
You're reviewing:Magento 2 Module – Ask About Product
Your Rating
Aktualizacja preferencji plików cookie