sms77/shopware5-plugin
Composer 安装命令:
composer require sms77/shopware5-plugin
包简介
Shopware 5 plugin to programmatically make us of the seven SMS gateway
关键字:
README 文档
README
seven SMS for Shopware 5
Event-based SMS notifications for documents, order states and payments in Shopware 5 via the seven gateway.
Features
- Document Events - Auto-fire SMS on
INVOICE,DELIVERY_NOTICE,CREDIT,CANCELLATIONdocument creation - Order State Events -
CANCELLED,READY_FOR_DELIVERY,COMPLETELY_DELIVERED,CLARIFICATION_REQUIRED - Payment Reminder Events -
1ST_REMINDER,2ND_REMINDER,3RD_REMINDER - Template Placeholders - Reference any property of the order entity, e.g.
{{customer->firstname}},{{customer->lastname}},{{id}},{{invoiceAmount}}
Template Placeholders
The plugin renders Twig-style placeholders against the $order entity. Examples:
Dear {{customer->firstname}} {{customer->lastname}}.
A new invoice for order #{{id}} has been generated.
{{customer->firstname}} resolves to $order->getCustomer()->getFirstname(). The root object is $order, so {{invoiceAmount}} resolves to $order->getInvoiceAmount(). Variables are case-sensitive.
Prerequisites
- Shopware 5.x
- PHP 7.2+
- A seven account with API key (How to get your API key)
Installation
File upload
- Download the latest release.
- Upload the ZIP via the Plugin Manager and activate the plugin.
- Enable the plugin from the configuration page.
- Set an API key and enable the events you need.
Composer
cd /path/to/shopware5/root
composer require seven.io/shopware5
Then in the Shopware admin:
- Go to Configuration > Plugin Manager > Installed.
- Click the green install button next to seven SMS.
- Press Activate.
- Set an API key and enable the events you need.
Support
Need help? Feel free to contact us or open an issue.
License
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-12-16
