Storefront Widget
Floating chat widget that can be loaded in Salla with a small script snippet and merchant configuration.
An AI chatbot widget for Salla stores that helps visitors find the right products faster, like a smart salesperson inside the store. Recommendations come from real synced products with price, image, and direct link.
Floating chat widget that can be loaded in Salla with a small script snippet and merchant configuration.
Uses synced Salla products and returns product name, price, image, product URL, and a short recommendation reason.
DeepSeek is called from the PHP backend only, keeping API keys away from browser JavaScript and storefront visitors.
Receives product and category events, stores webhook logs, and updates local product data for product changes.
When no DeepSeek key is configured, the app still answers using local product ranking for demos and early testing.
Widget copy supports Arabic RTL and English, including starter prompts for gifts, affordability, and best sellers.
POST /wooplugins/ai-seller/chat receives visitor messages and returns reply plus products.
POST /wooplugins/ai-seller/webhook receives Salla notifications with optional token protection.
POST /wooplugins/ai-seller/admin/sync-products syncs products from Salla using a merchant access token.
POST /wooplugins/ai-seller/settings/post-request-validation validates settings, then GET /wooplugins/ai-seller/settings feeds the widget.
The merchant ID and locale can be injected by Salla theme variables. The widget posts to the secure backend endpoint and never calls DeepSeek directly from the browser.
<script
src="https://realthemes.io/wooplugins/ai-seller/widget.js?v=20260709-data-config"
data-merchant-id="{{store.id}}"
data-locale="ar"
data-endpoint="https://realthemes.io/wooplugins/ai-seller/chat"
data-button-size="medium"
data-display-position="right"
data-offset-x="20"
data-offset-y="20"
data-color="#640000"
defer></script>
DEEPSEEK_API_KEY and optional DEEPSEEK_MODEL enable server-side AI replies.
AI_SELLER_WEBHOOK_TOKEN protects Salla notifications through bearer, query, or custom header token.
SALLA_ACCESS_TOKEN can be used for admin product sync, or sent in the sync request body.
AI_SELLER_ALLOWED_ORIGINS can restrict which storefront origins call the backend.
Reads Product JSON-LD, Open Graph tags, page title, price text, image, and current URL.
Collects breadcrumb/category links when they are visible on the storefront page.
Sends that page context with each chat message so demo products are not used on real product pages.
Synced Salla products still take priority when the admin product sync has been run.
Configure Salla fields with the identifiers button_size, display_position, offset_x, offset_y, color, and store_desk. The current setup also accepts radio_list, radio_list_1, copy, and number.
https://realthemes.io/wooplugins/ai-seller/settings/post-request-validation