Website chat
A chat window in your shop: the shopper asks from the page, your manager replies as usual.
Screenshots are coming soon.
Half of a shopper's questions are short ones: is my size in stock, when will it arrive, will it fit my model. Nobody calls for those, and a contact form answers tomorrow — so the person simply leaves. This plugin puts a chat button in the corner of your shop: the question is asked from the product page and reaches your manager in the very place they already talk to customers.
What it does
- Shows a chat button on every page of your shop and a conversation window when it is clicked.
- Delivers the question to the «Conversations» section and to the order card — the same place your Telegram conversations live. No second inbox, and one shared unread counter.
- Keeps the conversation with the person, not with the page: come back tomorrow and it is still there, and a signed-in customer is recognised automatically, so your manager sees a name instead of «Guest».
- Asks a guest for a name and phone number after the first question, so your answer finds them even after they close the site. The same phone means the same customer card — no duplicates.
- Brings your manager's reply into the open window within seconds, and a background tab does not bother the server at all.
- Is switched on per storefront: needed on the retail one, not on the wholesale one.
- Greets shoppers with your own text or a standard one in their language.
- Sits in the right or left corner, and the look of the button and window is edited in the design editor — plugin updates leave your changes alone.
What you need
- Nothing to paste into your design: the chat appears in any shop theme.
- Replies are written from «Conversations» or right inside an order card.
What appears in the shop
This is what a shopper sees once it is installed.
- A chat button appears in the bottom-right corner and opens a conversation window with the shop. The look of the button and the window is changed in the design editor, the greeting and the contact question — in the plugin settings. The «Restore original look» button brings the original design back.
New shop pages
- /web-chat/… The addresses the chat window uses to send the shopper's question and pick up the manager's reply. They have no page of their own and shoppers never see them. While the window is open the shop checks for a reply every few seconds.
Чат на сайте
Кнопка чата в углу магазина. Покупатель спрашивает о товаре прямо со страницы, менеджер отвечает там же, где ведёт остальные разговоры — в разделе «Диалоги» и в карточке заказа.
Что настраивается
Настройки живут в «Плагины → Чат на сайте», отдельно у каждой витрины.
- Показывать чат — на этой витрине.
- Приветствие — первое сообщение в окне. Пустое поле означает стандартный текст на языке покупателя.
- Спрашивать телефон у гостя — после первого вопроса чат просит имя и телефон, чтобы ответ нашёл человека, даже когда он ушёл с сайта. Вошедшего в кабинет магазин узнаёт сам.
- Угол экрана — справа или слева внизу.
Как это устроено
Чат — ещё один канал переписки магазина (DialogChannelDriver), рядом с Telegram. Своих
экранов для ответов плагин не заводит: разговоры, вложения, готовые ответы, счётчик непрочитанного
и бабл в карточке заказа уже есть в магазине.
Разговор привязан к человеку, а не к странице: посетитель узнаётся по своей куке, поэтому вернувшись завтра, он видит ту же переписку. Кука недоступна скриптам страницы — иначе, подменив её, можно было бы читать чужой разговор. Вошедший покупатель дополнительно связывается со своей карточкой, и менеджер видит имя вместо «Гостя».
Ответы забираются опросом: пока окно открыто — раз в несколько секунд, пока закрыто — редко, а вкладка в фоне не спрашивает магазин вовсе. Постоянного соединения нет намеренно: на массовом хостинге его нечем обслуживать.
Написать покупателю первым магазин не может: пока человек не начал разговор, у него нет адреса, по которому его найти, — поэтому кнопка «Написать» для этого канала просто не показывается.
Что появляется на витрине
| Слот темы | Что добавляется |
|---|---|
storefront.body.end |
кнопка чата и окно переписки |
Разметка окна — шаблон темы templates/plugins/web-chat/widget.html, оформление —
assets/plugins/web-chat/web-chat.css. Оба файла кладутся в тему при первом показе и правятся в
редакторе оформления; кнопка «Вернуть заводской вид окна» в настройках возвращает исходный.
Чего пока нет
Вложений от покупателя (менеджер прикреплять файлы может, покупатель — нет), уведомления на почту о новом ответе, расписания работы чата.
The brand in a question is not lost
«Do you have Sony headphones?» now shows Sony headphones instead of whatever came first.
Showing products is not an answer
A question about warranty is no longer «answered» with a random product: a manager is called whenever there is no real answer.
Honest waiting and a handover to a manager
The window no longer promises to look for products on every question. And when there is no answer, the shopper hears that a manager has it — instead of silence that reads as «the shop is closed».
A shop assistant
You set the shopper's words and a ready answer — the chat handles what is asked every day by itself. Common questions appear as buttons, and the window visibly shows the shop is working on a reply.
Window changes show up immediately
A shopper's browser no longer serves the old version of the chat window after an update.
An order from the conversation
A shopper lists product codes — the shop recognises them with quantities, adds everything to the cart with one button and opens a ready order for your manager.
The shopper's cart next to the question
Your manager sees what the person already picked together with the message itself — even if they never signed in.
The little things that got in the way
The cart counter updates when adding from the chat, photos from the manager are visible to the shopper, and the request for a phone number can be collapsed — it no longer covers the conversation.
Replies from Telegram and products in the chat
You can answer from Telegram with a plain message. Ask about a product and the chat shows matching items from your catalogue with price and an «Add to cart» button.
Website chat
A chat button in the corner of your shop: shoppers ask right from the page and the question reaches your manager where they already answer Telegram. The conversation belongs to the person, so tomorrow's visit continues yesterday's.