กลับไปที่แดชบอร์ด

เอกสาร

เรียนรู้วิธีใช้ Asyntai

เริ่มต้นใช้งาน
การติดตั้ง ฐานความรู้ AI เข้าถึงเนื้อหาของคุณอย่างไร เชื่อมต่อเว็บไซต์ของคุณ ทดสอบ AI ของคุณ จัดการเว็บไซต์ เคล็ดลับคำสั่ง AI ย้ายจากแชทบอทอื่น เปรียบเทียบแผน
ฟีเจอร์
แถบ Ask AI แถบค้นหา AI การค้นหาด้วย AI สำหรับ WordPress AI Search for Joomla AI Search for Webflow AI Search for Ghost AI Search for Moodle AI Search for TYPO3 AI Search for Craft CMS AI Search for Grav AI Search for Concrete CMS AI Search for October CMS AI Search for ProcessWire AI Search for Odoo AI Search for Bagisto AI Search for Medusa AI Search for OpenCart AI Search for BigCommerce AI Search for Magento การรวบรวมข้อมูลเว็บไซต์ ช่องว่างความรู้ การ์ดสินค้า การ์ดสินค้าแบบไดนามิก ภาพแบบไดนามิก บริบทผู้ใช้ เครื่องมือที่กำหนดเอง พารามิเตอร์ลิงก์ การติดตามแบบเรียลไทม์ Human Takeover การยกระดับ การแจ้งเตือน AI รายงานประจำวัน ฟีดข้อมูลแบบเรียลไทม์ ฟีดข้อมูลแบบเรียลไทม์ Max สมาชิกในทีม การลงชื่อเข้าใช้ครั้งเดียว การยืนยันตัวตนสองขั้นตอน รวมรูปภาพ การมองเห็นรูปภาพ วิดเจ็ตแปลภาษา การปรับให้เข้ากับท้องถิ่น ความโปร่งใสของ AI ลูกค้าเป้าหมาย การจับลูกค้าเป้าหมายอัจฉริยะ ตั๋วสนับสนุน หมวดหมู่การสนทนา การจอง การฝัง ยกเว้นหน้า IP ที่ถูกบล็อก นโยบายการเก็บรักษาข้อมูล โหมดไม่เก็บข้อมูล การปกปิดข้อมูลส่วนบุคคล (PII) ตัวคัดกรองคำตอบ Access Tags การตรึงเวอร์ชันวิดเจ็ต บันทึกการตรวจสอบ โมเดลที่ฉลาดกว่า เปิดใช้งานการคิดวิเคราะห์ คำแนะนำการตอบกลับ ข้อความติดตามผล เสียงเป็นข้อความ ดาวน์โหลดบันทึกการสนทนา แชทแบบฝังตัว การฝังด้วย iframe

How to Add Asyntai AI Chatbot to Lightspeed

Step-by-step guide for Lightspeed eCom stores

รับโค้ดฝัง

ขั้นตอนที่ 1: รับโค้ดฝังตัวของคุณ

First, go to your Asyntai Dashboard and scroll down to the "Embed Code" section. Copy your unique embed code which will look like this:

<script>(function(){var l=function(){var s=document.createElement("script");s.src="https://widget.asyntai.com/static/js/chat-widget.js";s.async=true;s.setAttribute("data-asyntai-id","YOUR_WIDGET_ID");document.head.appendChild(s)};if(document.readyState==="complete"){l()}else{window.addEventListener("load",l)}})();</script>

หมายเหตุ: โค้ดด้านบนเป็นเพียงตัวอย่าง คุณต้องคัดลอกโค้ดฝังตัวเฉพาะของคุณจากแดชบอร์ดเนื่องจากมี widget ID ส่วนตัวของคุณ

Step 2: Add the Code via Web Extras (Recommended)

Lightspeed eCom (C-Series) has a built-in Custom JavaScript field that loads on every page of your online store — this is the easiest place to add your Asyntai widget. No theme editing required.

  1. Log in to your Lightspeed eCom Back Office
  2. In the left-hand menu, go to Settings
  3. Under Website settings, click Web Extras
  4. Select the Custom JavaScript tab
  5. Paste your Asyntai embed code into the text field
  6. คลิก Save เพื่อบันทึกการเปลี่ยนแปลง

เคล็ดลับ: Code added in the Custom JavaScript field runs on all pages of your store automatically, so the chat widget appears everywhere without touching your theme files.

หมายเหตุ: The Custom JavaScript field expects a full script tag. Paste your embed code exactly as it appears in your Dashboard — including the opening and closing <script> tags.

สำคัญ: Only add code from trusted sources over a secure (SSL / HTTPS) connection, and make sure all tags and brackets are correctly closed. Malformed scripts can interfere with your store's checkout and layout. The Asyntai embed code is a single, self-contained script that is safe to add here.

Alternative Method: Template Editor

If you prefer to edit your theme directly, or you want the widget on specific pages only, you can add the embed code through the Template Editor instead:

  1. In the Back Office, go to DesignCustomize theme
  2. Open the Advanced section and choose Edit code to launch the Template Editor
  3. Open your theme's main layout file (commonly named index.rain or a shared header/footer template)
  4. Find the closing </body> tag
  5. วางโค้ดฝังตัว Asyntai ของคุณก่อนแท็ก </body>
  6. Click Save to apply your changes

หมายเหตุ: The Template Editor is only recommended for experienced users. For most stores, the Custom JavaScript field described above is simpler and safer. Consider duplicating your theme before editing template files so you can easily revert.

ขั้นตอนที่ 4: ตรวจสอบการติดตั้ง

After saving your changes, open your Lightspeed store in a new browser tab or incognito window. You should see the chat widget button in the bottom right corner. Click it to ensure it opens and functions correctly.

ไม่เห็นวิดเจ็ต? Make sure you've saved all template changes. Clear your browser cache or view in incognito mode. Lightspeed may cache pages, so changes might take a few minutes to appear. Check the browser console (F12) for any JavaScript errors.

ต้องการความช่วยเหลือ?

If you're not comfortable editing template files, Lightspeed's Customer Support team can assist with custom code and design requests. You can also contact Asyntai support for guidance on installing the chatbot on your Lightspeed store.

การสนับสนุนระดับมืออาชีพ: Lightspeed and its partner network offer custom coding services if you need professional assistance with theme modifications or complex customizations.