Unsubscribes

All emails sent from AutomateWoo workflows include an unsubscribe link in the email footer. This link allows a customer to unsubscribe from these emails. If a customer unsubscribes they will still receive transactional emails for orders etc and email from other plugins active on your site.

When an unsubscribed workflow runs the emails are blocked but other actions will run as normal. Because of this behaviour, when a workflow is triggered for a unsubscribed customer the workflow will still appear to run as normal and will be visible in logs or queue view.

Any emails that were not sent due to an unsubscribe will be noted in the workflow logs.

Footer unsubscribe link

It’s a good idea to check that the unsubscribe link is displaying correctly in your emails. By default, AutomateWoo inserts an unsubscribe link after the email footer text. If this doesn’t appear then your email template is missing the filter woocommerce_email_footer_text. This filter is included in the default WooCommerce email template.

If you want to show the unsubscribe link somewhere else in your email template you can use the<?php echo AW_Mailer_API::unsubscribe_url() ?> method anywhere in a custom email template.