smartarget/sylius-smartarget-whatsapp-contact-us-plugin

允许客户通过 WhatsApp 与您联系

This package is auto-updated.

Last update: 2024-09-20 16:49:25 UTC


README

允许客户通过 WhatsApp 与您联系

让您的客户更容易联系您!可能您的用户大部分都在使用 WhatsApp,因此现在是时候给他们提供通过 WhatsApp 联系您的选项了。

使用“WhatsApp - 联系我们”,您可以在右下角添加一个小图标,显示您的电话号码和简短信息,如“联系我们”或“发消息给我们”等。当用户点击图标时,将弹出一个新标签页,显示 WhatsApp Web 和与您的聊天窗口。

此插件在您的 sylius 网站上添加 WhatsApp 按钮。您可以按销售渠道配置 WhatsApp 按钮。

安装

注意!

此安装说明假设您正在使用 Symfony Flex。

  1. 使用 composer 安装插件

    composer require smartarget/sylius-smartarget-whatsapp-contact-us-plugin --no-scripts
  2. 添加到 config/bundles.php

    Smartarget\SyliusSmartargetWhatsappContactUsPlugin\SmartargetSyliusSmartargetWhatsappContactUsPlugin::class => ['all' => true]
    
  3. 创建 config/packages/smartarget_sylius_smartarget_whatsapp_contact_us_plugin.yaml 文件,内容如下

    imports:
        - { resource: "@SmartargetSyliusSmartargetWhatsappContactUsPlugin/Resources/config/config.yaml" }
  4. 创建 config/routes/smartarget_sylius_smartarget_whatsapp_contact_us_plugin.yaml 文件,内容如下

    smartarget_sylius_smartarget_whatsapp_contact_us_admin:
       resource: "@SmartargetSyliusSmartargetWhatsappContactUsPlugin/Resources/config/routing/admin.yaml"
       prefix: /admin
  5. 生成并运行 Doctrine 迁移

    ./bin/console doctrine:migration:diff
    ./bin/console doctrine:migration:migrate
    
  6. 清除缓存

    bin/console cache:clear

工作原理

转到您的管理面板中的 WhatsApp - 联系我们部分,并添加新的 WhatsApp 按钮!别忘了启用新的 WhatsApp 按钮并切换特定的销售渠道。

示例

您可以使用此插件来

  • 将访客转换为潜在客户。
  • 提供客户支持。

使用 Smartarget 集成来更改按钮位置和弹出消息。

支持

有关任何问题,请访问 https://smartarget.online/page_contact.html