smartarget/bagisto-whatsapp-contact-us
Composer 安装命令:
composer require smartarget/bagisto-whatsapp-contact-us
包简介
Allow customers to contact you using Whatsapp
README 文档
README
This extension integrates Smartarget Whatsapp - Contact Us plugin.
Requirements
Support
Need our help? Simply contact us and we will be happy to assist you.
Installation
Method for Non-Develoers:
- Go to the Bagisto admin
- Go to Configure >> Content
- Add th following code under Custom Javascript (Replace the XXX with your own Smartarget ID. You can find it in your Smartarget Dashboard ):
document.head.appendChild(document.createElement('script')).src = 'https://smartarget.online/loader.js?u=XXX?source=bagisto';
- Click on Save

Methods For Developers:
Method 1 - Install with composer
Require this package with Composer
composer require smartarget/bagisto-whatsapp-contact-us
Add the ServiceProvider to the providers array in config/app.php
Smartarget\WhatsappContactUs\Providers\WhatsappContactUsServiceProvider::class
Run below commands before publishing assets to the public folder:
composer dump-autoload
php artisan optimize:clear
php artisan storage:link
Go to Whatsapp tab in main menu and configure app!
Method 2 - Install with package folder
Unzip all the files to packages/Smartarget/WhatsappContactUs.
Goto composer.json file inside the Bagisto root directory then add the following line under 'psr-4'
"Smartarget\\WhatsappContactUs\\": "packages/Smartarget/WhatsappContactUs/src"- Goto config/app.php file then add the following line under 'webkul packages'
Smartarget\WhatsappContactUs\Providers\WhatsappContactUsServiceProvider::class - Run below commands before publishing assets to the public folder:
composer dump-autoload php artisan optimize:clear php artisan storage:link
Go to Whatsapp tab in main menu and configure app!
统计信息
- 总下载量: 828
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-06-06