Installation
To install the plugin download the latest version from Plugin Files and extract the folder woocommerce-maileon
to your /wp-contents/plugins
directory. You should have a wp-contents/plugins/woocommerce-maileon
folder after successfully extracting the plugin files.
After copying the plugin files the plugin should be enabled in your plugin settings.
This plugin requires the Maileon for WordPress plugin.
Configuration
After installing and enabling the plugin you should be able to configure it using the WordPress Admin settings area. The settings for the plugin are available under the settings menu WooCommerce Maileon
, or on the WooCommerce Maileon Settings
tab in the Maileon plugin settings menu.
General Settings
In this area you can define the general settings of the plugin.
Enable Maileon transactions
The option allows Maileon to replace some WooCommerce emails with Maileon transactional emails. After enabling the option Maileon transactions will be dispatched instead of the built-in WooCommerce emails. You can see the replaced emails in the WooCommerce Email settings area:>>Admin > WooCommerce > Settings > Emails
Initial permission level
The initial permission level for Maileon Contacts created through this plugin. If you have a DOI process enabled leave this on None
as the DOI confirmation will set the appropriate permission after the contact has confirmed their address.
Enable DOI process
Whether to start a DOI process for contacts created through the plugin.
DOI process with DOI plus
Whether the DOI process should award a DOI plus permission after completion.
Custom DOI mailing key
The mailing key for the custom DOI mailing for contact creation.
Developer Note: this can be overridden for each context using a filter hook.
Checkout Settings
In this area you can configure settings for the WooCommerce Checkout.
Display newsletter checkbox
Whether to show a newsletter subscription checkox on the checkout page. For registered users this checkbox is only shown if they haven’t yet confirmed the subscription.
Label for newsletter checkbox
The label for the checkbox shown at checkout. This label can include HTML tags, so it can be used to link to your privacy policy.
Example: Subscribe to our newsletter. Read our <a href=”link to the policy”>Privacy Policy</a>
Position on page
The position for the subscription checkbox on the checkout page.
Account Settings
In this area you can configure settings for the WooCommerce My Account.
Display in My account/Account details
Whether to show the newsletter area in the Account details page of the WooCommerce My Account area.
Label for newsletter checkbox
The label for the checkbox shown in the My Account area.
Registration Settings
In this area you can configure settings for the WooCommerce user registration form.
Display newsletter checkbox
Whether to show the newsletter subscription checkbox for the user registration area.
Label for newsletter checkbox
The label displayed in the registration form.
Webhook settings for Maileon
To properly synchronize Maileon contact status to WooCommerce user newsletter status you should set up Maileon webhooks. This should be available in your Maileon account settings in the Webhooks section. If you require further assistance with setting this up, please contact your Maileon distributor.
Currently the DOI confirmation and Unubscription webhooks are supported. The settings for each are shown in the settings area:
For advanced customization please see the Developer Documentation.