sms77/shopware5-plugin

Shopware 5 plugin to programmatically make us of the seven SMS gateway

Maintainers

Package info

github.com/seven-io/shopware5

Homepage

Documentation

Type:shopware-backend-plugin

pkg:composer/sms77/shopware5-plugin

Statistics

Installs: 8

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 1

v1.4.0 2020-10-12 15:14 UTC

README

seven logo

seven SMS for Shopware 5

Event-based SMS notifications for documents, order states and payments in Shopware 5 via the seven gateway.

MIT License Shopware 5.x PHP 7.2+

Features

  • Document Events - Auto-fire SMS on INVOICE, DELIVERY_NOTICE, CREDIT, CANCELLATION document 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

Installation

File upload

  1. Download the latest release.
  2. Upload the ZIP via the Plugin Manager and activate the plugin.
  3. Enable the plugin from the configuration page.
  4. 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:

  1. Go to Configuration > Plugin Manager > Installed.
  2. Click the green install button next to seven SMS.
  3. Press Activate.
  4. Set an API key and enable the events you need.

Plugin configuration

Support

Need help? Feel free to contact us or open an issue.

License

MIT