Chat Widget Test Page

Instructions

  1. The chat widget should appear in the bottom right corner
  2. Click the chat button to open the widget
  3. Test sending messages and uploading images
  4. Check the browser console for any errors

Widget Controls

Embed Code

<script>
  // Optional: Set custom widget URL
  // window.PLYCO_WIDGET_URL = 'https://your-domain.com/embed';
  
  (function() {
    var script = document.createElement('script');
    script.src = '/embed.js';
    script.async = true;
    document.head.appendChild(script);
  })();
</script>

Test Scenarios

  • Basic Chat: Type "I need plywood for outdoor use" to test product search
  • Image Upload: Upload a photo of wood to test vision analysis
  • Add to Cart: Try adding a product to cart (requires Shopify setup)
  • Multi-language: Test Spanish by typing "Necesito madera"