Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
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.

...

For products where variations are available, the variation details will be included in the order per product transaction (shopware_ordered_products_2.0). Since variations can have different properties, a separate configuration interface is needed to set which variation properties should appear in which transaction fields. If this setting is enabled, you will then need to make additional settings in Maileon Manager, see: Product properties config

...

Product properties config

Transferred contact data

The plugin transfers a series of contact data to Maileon. These include, if available, e.g. first name, last name, This section is only visible if “Product properties send in transactions” is enabled in the plugin settings!

Warning, these settings will be lost if you uninstall or reinstall the plugin. In these cases you will need to re-enter the settings!

For products where variations are available, the variation details will be included in the order per product transaction (shopware_ordered_products_2.0). As variations can have different properties, you need to set in this interface (Figure 10) which variation properties should appear in which transaction fields.

...

The drop-down box lists the available variant config groups (Figure 11). The per product transactions (shopware_ordered_products_2.0) contains 10 generic pre-created fields, to which we can assign the desired variant config group.

...

After configuring the above settings (in this example, the Generic String 3 transaction field is paired with the Color variant config group and the Generic String 4 transaction field is paired with the Size variant config group), the following transaction is created in Maileon for a variant product (Figure 12):

...

Transferred contact data

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.

...

A new webhook must now be added for the "DOI login confirmation" event. For this, the URL and the webhook ID from the "Maileon Manager" (Figure 1013) must be used.

The webhook expects four parameters:

...

Code Block
languagephp
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.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.14, 2023.05.30

    • Bugfix: Check article is not empty at order confirm.

  • Version 1.4.13, 2023.05.19

    • Contact event update functionality added.

    • Manufacturer number added to order contact events.

      • If the new attribute is to be used, the contact event must be updated manually.

  • Version 1.4.12, 2023.01.18

    • Bugfix: If Captcha is activated when registering for a newsletter and is entered incorrectly, the contact is no longer registered with Maileon.

...

  • Version 1.4.9, 2022.04.29

    • Use of MediaServiceInterface instead of the class MediaService for better extensibility when analysing cancelled shopping carts and status changes of orders.

  • Version 1.4.8, 2022.04.11

    • Customers can register for the newsletter when ordering

    • Automatic registration of buyers is now only related to the corresponding option and no longer to whether order confirmation transmission has been activated or not.

  • Version 1.4.7, 2022.02.25

    • Product SKUs added as comma separated list to order confirmation transactions.

    • The previous extended order information (information about products, there was one transaction type per customer) was reduced to one transaction type.

    • Product URL was added to the shopping cart abandonment transactions.

  • Version 1.4.6, 2022.02.03

    • Bugfix: Processing of permissions "NONE" and "OTHER" when importing all contacts from Shopware to Maileon.

    • Option to overwrite permissions when importing all contacts from Shopware to Maileon.

  • Version 1.4.5, 2021.12.06

    • Contacts can be added directly to the distribution list during order confirmation. It is possible to add a separate permission for all customers or only for registered customers.

...

  • Version 1.4.4, 2021.11.17

    • Added optional parameter 'hash' to DOI confirmation webhook to identify if a reported contact belongs to this very Shopware instance.

    • Added customfields Shopware_url and Shopware_hash.

  • Version 1.4.3, 2021.10.28

    • Bugfix: As of Shopware 5.7.0 administrators were logged out, who called the Maileon Manager in the Marketing menu in the backend.

...

  • Version 1.4.1, 2021.09.28

    • Updating and translating of configuration.

    • Added API test button.

  • 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.8, 2021.09.03

    • Updated Maileon PHP API client library.

    • Add functionality to add separate Maileon permission for buyers.

  • Version 1.3.7, 2021.02.08

    • Fix redirect when newsletter subscribe form uses captcha.

  • Version 1.3.6, 2021.06.23

    • Updated deprecated log methods.

  • Version 1.3.5, 2021.06.21

    • Added Birthday to standard contact field sync.

    • Added order confirmation transaction data: order.brands and order.categories will now be filled.

    • Fixed problem when contacts were not registered with Maileon when an invalid custom field mapping was configured.

  • Version 1.3.4, 2021.03.17

    • Add DOI confirmation date to DOI confirmation webhook.

  • Version 1.3.3, 2021.03.17

    • Fixed bug with abandoned carts and multiple subshops.

    • Newsletter subscribe validation update.

  • Version 1.3.2, 2021.02.24

    • Order transaction type attributes updates.

    • Split DOI and transaction mails switch at config.

    • Add enable/disable functionality to send subscribers to Maileon.

  • Version 1.3.1, 2021.02.12

    • Old transaction types are available in addition (backwards compatibility).

    • Fixed “Get Shopware version” bug that prevented e.g. password reminder mails from being sent in some Shopware versions.

    • Fixed bug with subshop configs bug.

  • 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.

  • Version 1.2.8, 2021.01.27

    • Fixed problem with abandoned carts not being sent to contacts without permission.

  • Version 1.2.7, 2021.01.12

    • Fixed popup not showing up when changing order states from open to “in process”.

  • Version 1.2.6, 2020.12.21

    • Fixed problem with invalid password reset links in versions below Shopware 5.4.5.

  • Version 1.2.5, 2020.11.03

    • Custom fields submit at Newsletter subscribe form and redirect after submit.

  • Version 1.2.4, 2020.08.11

    • Added custom field shopware_store_id for subscribers.

    • Added abandoned carts transactions.

    • Updated plugin backend structure.

  • Version 1.2.3, 2019.05.15

    • Subscriber sync add customergroup key and name.

  • Version 1.2.2, 2019.05.13

    • Transactions float format change.

  • Version 1.2.1, 2019.03.05

    • Order and payment status transactions extended.

  • Version 1.2.0, 2019.03.01

    • Added order and payment status transactions to Maileon.

  • Version 1.1.0, 2018.05.03

    • Plugin handle for subshops and language shops.

  • Version 1.0.10, 2018.03.08

    • Bugfix “empty unsubscribe”.

  • Version 1.0.9, 2018.02.21

    • Config extend set Maileon API timeout value.

  • Version 1.0.8, 2018.02.07

    • Config extend disable Shopware mails;.

    • Doi confirmation bugfix.

  • Version 1.0.7, 2017.12.14

    • Plugin view js loader disable.

  • Version 1.0.6, 2017.11.27

    • Bugfix at Maileon api client (trim doikey).

  • Version 1.0.5, 2017.08.09

    • Required min version change.

  • Version 1.0.4

    • Bugfix Shopware mails.

  • Version 1.0.0

    • Subscribers sync; .

    • Alle Subscriber sync.