Table of Contents |
---|
Release notes
From version 1.4.0 the plugin is compatible with the Shopware Plugin Store. Unfortunately, the necessary changes are not backwards compatible, so that BEFORE installing version 1.4.0 or higher, all older versions up to 1.3.9 must be uninstalled manually.
From version 1.4.13, the "Update transaction types" function in the UI should be used so that the manufacturer number can also be transferred.
...
The plugin transfers a series of contact data to Maileon. These include, if available, e.g. first name, last name, but also the ID of the (sub-)shop from which the registration comes. This chapter contains a list of all transferred contact information.
Field name | Field type | Description |
---|---|---|
FIRSTNAME | standard | |
LASTNAME | standard | |
SALUTATION | standard | |
ADDRESS | standard | |
ZIP | standard | |
CITY | standard | |
ORGANIZATION | standard | |
BIRTHDAY | standard | |
Shopware_NL | custom | Custom field with boolean value true (=registration came from Shopware) |
Customergroup_key | custom | The ID of the Shopware customer group to which the contact belongs. |
Customergroup_name | custom | The name of the Shopware customer group to which the contact belongs. |
shopware_store_id | custom | The ID of the (sub-)shop from which a contact originates. |
Shopware_url | custom | The URL from which a contact was created. |
Shopware_hash | custom | The hash value used for identification in the DOI process. |
Customised forms for registration
...
Code Block | ||
---|---|---|
| ||
namespace SwagTestPlugin\Subscriber; use Enlight\Event\SubscriberInterface; use xqueueMaileonShopware5\Components\MaileonSubscribe; class RegisterCustomer implements SubscriberInterface { /** * @var $taxCalculator TaxCalculator */ private $maileonSubscribe; public function __construct(MaileonSubscribe $maileonSubscribe) { $this->maileonSubscribe = $maileonSubscribe; } /** * {@inheritdoc} */ public static function getSubscribedEvents() { return [ 'Shopware_Controllers_Frontend_Register::saveRegisterAction::after' => 'afterSaveRegisterAction', ]; } public function afterSaveRegisterAction(\Enlight_Event_EventArgs $args) { $this->maileonSubscribe->subscribeMaileon( 'test00005@xqueue.com, array( 'firstname' => 'Test', 'lastname' => 'Contact', 'salutation' => 'mr.', 'street' => 'Test str. 5.', 'zipcode' => '1122', 'city' => 'TestCity', 'company' => 'TestCompany', 'birthday' => '1970-07-04', 'customergroup_key' => '1', 'customergroup_name' => 'test' ) ); } } |
Changelog
Version 1.4.17, 2023.11.15
If the cart is abandoned, the process will not stop if the currency is not set for the cart.
Version 1.4.16, 2023.08.29
Bugfix: If the "Automatically add buyers to newsletter" set to "All customers" or "Only registered" (registered customer) and the contact not exist at Maileon, the contact is not created.
Version 1.4.15, 2023.08.03
Add product variant data to order confirmation and ordered product transactions.
Add customer group data when contact created/updated before send a transaction.
...
Version 1.4.0, 2021.09.21
Updated code to be compatible with Shopware plugin store. Installing 1.4.0 requires complete uninstallation of previous versions.
Version 1.3.9, 2021.09.17
Changed to composer version of Maileon PHP API client.
Bugfix: Handle if article model not found at order transactions.
Bugfix: DOI confirm webhook processes data now correctly, if captcha is enabled.
...
Version 1.3.0, 2021.02.08
Change permission logic (added explicit initial permission and DOI, DOI+ process).
Add extended order transaction types (v1.0).
BE AWARE: This update creates new transaction types. Mails bound to the old type WILL NOT be sent anymore. Make sure to first create the types, e.g. from a staging system, create the mails and then install this update on your live system.Add functionality to create all transaction types at Maileon by clicking one button in the Shopware settings.
...