Event-based SMS notifications for documents, order states and payments in Shopware 5 via the seven gateway.
- 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}}
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.
- Shopware 5.x
- PHP 7.2+
- A seven account with API key (How to get your API key)
- 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.
cd /path/to/shopware5/root
composer require seven.io/shopware5Then 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.
Need help? Feel free to contact us or open an issue.
