Demo

ข้อมูลตัวอย่าง — ไม่สามารถแก้ไขข้อมูลจริงได้

ฟีเจอร์

WordPress / Existing Website Connector

Preview iframe เหมือน shortcode บน WordPress — ใช้ embed routes เดียวกับ plugin จริง

Widget Token

สร้าง token ที่ Tenant Admin → Integrations แล้ววางด้านล่าง (หรือส่ง ?token= ใน URL)

Preview (เหมือน WP shortcode)

Shortcode: [eta_tours limit="8"]

ใส่ Widget Token เพื่อดู iframe preview

LocalWP — checklist ติดตั้ง plugin

  1. 1. ติดตั้ง LocalWP แล้วสร้าง site เช่น customer-demo.local
  2. 2. อัปโหลด WordPress plugin ZIP จาก Tenant Admin → Integrations
  3. 3. ตั้งค่า EasyTourAgent → ใส่ Base URL + Widget Token
  4. 4. เพิ่ม allowed origin = โดเมน WordPress ของลูกค้า
  5. 5. สร้างหน้า WP แล้วใส่ shortcode [eta_tours limit="8"]
  6. 6. เปิดหน้า WP — ต้องเห็น catalog ใน iframe
  7. 7. ทด Connection Health ใน WP admin → Connected
ไปหน้า Integrations Demo →

เอกสารอ้างอิง

ดูคู่มือใน repo: docs/eta-existing-site-connector-guide.md และ docs/eta-wordpress-localwp-proof.md