网站首页 / 资讯 / Magento文档

Magento2开发教程NO9-在线聊天Live Chat Module-Tawk安装使用

作者:admin

1 源码安装

Manual installation

  1. Download the extension installation files here:

    https://github.com/tawk/tawk-magento-2/archive/master.zip,


  2. Extract the tawk-magento-2-master/app folder from the package

  3. Copy the  tawk-magento-2-master/app folder to the root folder of your website (it will ask you to overwrite the existing folder, just say yes as it will only add the contents of the folder to the root directory)

Standard installation

  1. Be sure that Composer is installed. If not you can install it by entering in your website root directory and executing this command: curl -sS https://getcomposer.org/installer | php

  2. When the composer has been installed, open it and type: php composer.phar require tawk/widget

2 命令部署

When that is done, you will now need to execute these command lines from your website root directory:

  1. php bin/magento module:enable Tawk_Widget

  2. php bin/magento setup:upgrade

  3. php bin/magento setup:static-content:deploy

  4. php bin/magento cache:clean

Done!

3 获取安装源码或链接

登陆https://www.tawk.to/, 在后台系统找到, 如下源码或者接口安装到你的站点即可.


4 注意事项和问题解决

在安装使用过程中注意:
1,Magento2页面出现空白, 或者出现错误, 很多情况下是文件权限问题或者缓存问题
可以通过清除缓存(包括浏览器缓存),更改文件权限解决

2,Magento2在安装新的插件或者模块的时候一定要注意文件的读写权限问题,
权限设置不当会导致站点生成静态文件和缓存的时候出现有些文件生成失败,
导致网页加载文件失败,从而导致插件或组件功能异常.


标签: Magento2开发 magento2 live chat magento2 chat magento在线聊天 magento2 tawk
上一篇:Magento2开发教程NO8-GmailSMTP app安装使用
下一篇:Magento2开发教程NO10-第三方登陆Facebook, Google, Twitter等安装使用

相关内容

最近更新
相关产品
综合服务邮箱: magento2#foxmail.com