Download the PHP package ahmedkhd/sylius-bot-plugin without Composer
On this page you can find all versions of the php package ahmedkhd/sylius-bot-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ahmedkhd/sylius-bot-plugin
More information about ahmedkhd/sylius-bot-plugin
Files in ahmedkhd/sylius-bot-plugin
Package sylius-bot-plugin
Short Description Sylius Bot for publishing your store on messenger and start receiving orders from outside the front store.
License MIT
Informations about the package sylius-bot-plugin
Sylius Bot Plugin
Facebook messenger shopping for sylius to give your store a new shoping experience
!!!! :warning: Sylius Version Support
master
branch supports sylius version 1.8 & 1.91.12
branch supports sylius version 1.12
Screenshots
Pre-installation
-
create facebook app and add messenger product to your app
- download ngrok
Installation
-
Install using composer
-
Add this to .env
Note : feel free to change the FACEBOOK_VERIFICATION token as you need (this value will be used via facebook to verify the webhook).
-
Add the following import to
_sylius.yaml
: -
Import routes inside your routes.yml
-
Run
-
Start ngrok with
ngrok http 80
warn : sometimes there is an issue with facebook and can't accepts ngrok requests sometimes using this command helps
ngrok http https://localhost:80 --host-header="localhost:80"
-
open Developers facebook platform > Messenger > Settings
- login to sylius admin dashboard and got to
Messenger
tab and click onFacebook Login
button and choose your pages -
go to second tab
Persistent Menu
and update your bot persistent menu and getting started button messageIMPORTANT every bot should have persistent menu to fulfill the shopping experience on messenger
- That's it :smile: open your page and start talking to you bot :tada:
Contribution
All versions of sylius-bot-plugin with dependencies
botman/driver-facebook Version ^1.11
sylius/mailer-bundle Version ^1.8 || ^2.0@beta
sylius/sylius Version ^1.12
symfony/webpack-encore-bundle Version ^1.15