=== ShopMagic: Free Follow-Up Emails & Marketing Automation for WooCommerce ===
Contributors: wpdesk,dyszczo,grola,piotrpo,marcinkolanko
Tags: woocommerce, automation, workflows, email designer, abandoned cart, recent order popup
Author URL: https://shopmagic.app/
Requires at least: 4.7
Tested up to: 5.5
Requires PHP: 5.6
Stable tag: 2.12.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
== Description ==
Send Follow-Up Emails | Design Custom Emails for WooCommerce | Add Customers to Mailchimp | Delay WooCommerce Emails by Days, Weeks, and Years and lots more Magic Automations!
[youtube https://www.youtube.com/watch?v=otFW9egNI3U]
**NOTE: ShopMagic is being maintained! [Read more about the acquisition and future development →](https://shopmagic.app/blog/wpdesk-acquired-shopmagic/)**
= Current Features: =
* Send WooCommerce Follow-Up Emails
* Design custom emails based on any order status (eg. Processing, Completed, Failed)
* Review Request Emails: Automatically send an email after purchase requesting customer to leave reviews for products purchased, including links to each product (*Add-On*)
* Email Templates: Easily create an Thank You email & Review Request email
* Delayed Emails: Delay custom emails after purchase for a specified amount of time. (eg. 3 days after purchase) (*Add-On*)
* Add Customers to Mailchimp: Automatically subscribe customers to your mailing list provider after purchase
* Personalized Customer Discounts: Give customers a unique, 1 time-only coupon code automatically after purchase (*Add-on*)
* Redirect to any page to upsell after specific product purchased
= Example Use Cases: =
* Add customers to your Active Campaign list after they checkout
* Send customized thank-you emails to customers
* Send a review request email 3 days after their purchase
* Send an email based upon any order status
* Redirect to upset page after specific product purchased
* Send an email to potential customer after cart abandonment (coming soon)
> **Like the idea? Help us improve ShopMagic!!**
> Let us know of any issues, bugs, or concerns by creating a thread in the forum so we can respond to it in a timely manner.
> [Send feedback or request a feature →](https://shopmagic.app/ideas/)
= What's ShopMagic Do? =
The goal of ShopMagic is to build a strong platform to empower their e-commerce business. We want to make it easy for shop owners to create powerful workflows based on a number of triggers or events in WooCommerce which can lead to an unlimited number of actions. Beyond that, ShopMagic allows you to replace the code-heavy WooCommerce email template system with your own custom HTML emails for order notifications to customers and admins using an easy email interface
= What's an event? =
An event is a trigger or an activity that takes place in WooCommerce. For instance, when a customer checks out, that's an event. When an order changes from pending to complete, that's an event.
= What's an action? =
An action is anything that you decide you want to happen following an event. For instance, maybe you want a specific email to go out to customers 3 days after they checkout. This email would be setup as an action using you easy user interface.
= What's a filter? =
A filter is a number of conditions that you can include to ensure that the action you want to take place only occurs if the conditions are met. For example: a specific product purchased
= ShopMagic in a nutshell =
* Free WooCommerce marketing automation
* WooCommerce automated emails
* WooCommerce email notifications
* WooCommerce custom emails
* WooCommerce review reminders
== Installation ==
1. Install either via the WordPress.org plugin directory, or by uploading the files to your server.
1. Activate the plugin through the 'Plugins' menu in WordPress
1. Go to WooCommerce->Automations in your Wordpress admin area and add a automation
1. Choose an event and an action for automation based on your preferences.
== Frequently Asked Questions ==
= I've setup automations to go out after a WooCommerce purchase, but I’m not receiving the automation emails =
If you’ve demonstrated that other system emails from your WordPress site are working, but ShopMagic emails are not, this may be due to email providers filtering the emails as spam. However, you may be puzzled because other WordPress emails **are** being received! Some email providers recognize WordPress & WooCommerce system emails (due to their formatting) and will let them pass, but since they’ve not seen a ShopMagic system email, they hold is up in suspicion. That being said, this usually only happens when you haven’t properly taken the important steps to ensure your WordPress system emails are verified to send on behalf of your domain name.
**Solving the Problem**
First, get an idea for how your system emails are scoring in terms of spam by sending an email from your Wordpress site to a testing address at [mail-tester.com](https://www.mail-tester.com). If you’re getting low scores, this is likely why you’re not receiving ShopMagic emails.
Next, choose a method to improve your system email delivery method from among the following options:
1. Use a third party transactional email provider to send your WP system emails through. A few popular options are: [SendinBlue](https://www.sendinblue.com/), [MailGun](https://www.mailgun.com/), [Sparkhost](https://www.sparkpost.com/), [PostMark](https://postmarkapp.com/) (*Easiest*)
1. Setup your WordPress site to send out emails via your SMTP provider. This is a great option if you use Google Apps or another provider that can send emails on behalf of your domain name. You’ll need to install for an [SMTP plugin](https://wordpress.org/plugins/search.php?q=smtp) for this to work however (*Medium difficulty*)
1. Use the suggestions at [mail-tester.com](https://www.mail-tester.com) to improve your score by directly adding certain TXT records to through your domain name provider (*Hardest*)
= Achhhh. Why do I have to do extra work just for ShopMagic emails to stop getting suspected as spam? =
It’s actually a good thing! The fact that even some of your website’s system emails are being blocked by your email provider or landing in a spam folder says that you have a bigger problem that could affect your customers. By improving the validity of your website’s system emails going out, you’re helping to ensure that any WordPress or WooCommerce emails to your customers will be received. If you’ve properly done a [mail-tester.com](https://www.mail-tester.com) test by sending an email from your website to the address they’ve specified (not from your personal email client), and you’ve received a score of 5 or lower, chances are that many of your customers won’t consistently get emails from your WordPress site (whether they’re from ShopMagic or not)
= What's in store for the future? =
Simply more and more actions! We want to add as many different types of actions as possible so that ShopMagic becomes super helpful to you. We want to get heavy into marketing automation including stuff like instant upsells after purchase, personalized coupon generation, customer segmentation for mailing lists, and more.
However, **we need your help!** Please send us a message about what you'd like to see this plugin do you make your marketing and customer management better as a store owner!
[Send feedback →](https://shopmagic.app/ideas/)
== Screenshots ==
1. Automation example - Thank you note with a coupon
2. Action example - Easily edit email content and template
3. WooCommerce custom email example with review request
4. ShopMagic automations page with example use cases
== Changelog ==
= 2.12.1 - 2020-08-11 =
* Fixed styling compatibility with WordPress 5.5
* Fixed logs in some mysqls
= 2.12.0 - 2020-08-05 =
* Added support for Advanced Filters add-on 1.1.0
* Added support for filters based on date
* Fixed warning Use of undefined constant
= 2.11.0 - 2020-07-29 =
* Added sending test emails for Send Email actions, [read the blog post](https://shopmagic.app/blog/shopmagic-2-11-is-here/)
* Added support for logger in ShopMagic actions using LoggerAwareInterface
* Fixed Unknown status in outcomes when fatal error occurred
= 2.10.0 - 2020-07-22 =
* Added support for the new Manual Actions add-on, [read the blog post](https://shopmagic.app/blog/shopmagic-2-10-is-here/)
* Added filtering to automation queue and outcomes
* Tweaked outcome statuses names and descriptions for better understanding
* Fixed conflict of menu position with other plugins
= 2.9.0 - 2020-07-15 =
* Added automation queue and outcomes (logs), [read the blog post](https://shopmagic.app/blog/shopmagic-2-9-is-here/)
* Fixed invalid action call when ALTERNATE_WP_CRON is used
* Fixed saving automation when invalid/empty filter was added
* Fixed warning in event metabox
= 2.8.1 - 2020-07-09 =
* Fixed error while trying to access unavailable CustomerIsGuest filter
= 2.8.0 - 2020-07-08 =
* Added marketing opt-ins and lists, [read the blog post](https://shopmagic.app/blog/shopmagic-2-8-is-here/)
* Added ability for customers to subscribe to lists in WooCommerce checkout
* Added ability for customers to subscribe or unsubscribe on Communication Preferences/My Account page
* Added opt-in/opt-out events for lists
* Added {{ customer.unsubscribe_url }} placeholder
* Added filter to match customers that subscribed to selected lists
* Tweaked scheduled actions to better integrate with WooCommerce
* Fixed Mailchimp integration
= 2.7.0 - 2020-06-24 =
* Changed Order created event to also fire when an order is created using API
* Changed Order pending event to also fire when an order with a pending status is created and this status persists
* Delayed the moment in which the running automation actions are executed
* Further delayed the moment in which the running automation events are attached
* Fixed compatibility with Slack integration
* Fixed compatibility with WooCommerce Cart Abandonment Recovery plugin
* Fixed Emogrifier fatal error in some cases
* Fixed duplicated placeholders in automation edit when an event is changed
= 2.6.1/2.6.2 - 2020-06-18 =
* Fixed conflicts with WordPress update manager
= 2.6 - 2020-06-18 =
* Added new placeholder: order.meta to get order metadata
* Fixed warning "wc_get_product was called incorrectly"
* Delayed the moment in which the running automation events are attached so it happens after the theme is loaded
= 2.5 - 2020-05-20 =
* Added support for the new Advanced Filters add-on, [read the blog post](https://shopmagic.app/blog/shopmagic-2-5-is-here/)
* Added support for filter grouping into logical AND/OR groups
* Fixed error while applying woocommerce_email_styles filter
* Fixed js type error when no private coupons exist
= 2.4 - 2020-05-06 =
* Added support for the new Customer Coupons add-on, [read the blog post](https://shopmagic.app/blog/shopmagic-2-4-is-here/)
* Added placeholder dialogs - the easiest way to configure and insert placeholder codes
* Added ability to enable BCC field in email actions
= 2.3.2 - 2020-04-29 =
* Fixed issues with not firing events
* Fixed exception when order in delayed action no longer exists
* Fixed exception when user in delayed action no longer exists
* Fixed misleading success message when order status recheck fails
* Removed quantity in order.products_ordered list
= 2.3.1 - 2020-04-22 =
* Bumped ShopMagic version to 2.3.1
= 2.3.0 - 2020-04-22 =
* Added support for Review Requests add-on 2.1.0, [read the blog post](https://shopmagic.app/blog/shopmagic-2-3-is-here/)
* Added support for guest reviews in Review Requests add-on
* Added new placeholders for products used in Review Requests add-on (product.id, product.name, product.link, product.meta)
= 2.2.1 - 2020-04-16 =
* Fixed "improve ShopMagic" notice to always appear only once
* Fixed error "customer account does not exist" in subscriptions
= 2.2.0 - 2020-04-15 =
* Added new action: Send Email - Raw HTML
* Added new action: Send Email - Plain Text
* Added new placeholder: order.admin_url to get a direct link to edit order page
* Added apply_filters for raw email message to allow for 3rd party customization (i.e. add WP shortcodes support)
* Added help beacon with help articles and ability to contact support directly from ShopMagic pages
= 2.1.2 - 2020-04-03 =
* Fixed event data persistence layer which could cause error after upgrading to 2.1.0
= 2.1.1 - 2020-04-03 =
* Fixed potential error when upgrading to 2.1.0
= 2.1.0 - 2020-04-02 =
* Completely rewritten scheduling system to use Action Scheduler instead of WP-Cron
* Completely rewritten settings fields to prepare for developing new add-ons
* Added Order Status Changed event with support for custom order statuses
* Removed Password Reset event because of security reasons (sending password in plain text)
* Fixed saving HTML content with text editor
= 2.0.0 - 2020-03-19 =
* Major update, please [read the blog post](https://shopmagic.app/blog/shopmagic-2-0-is-here/)
* Adopted Semantic Versioning for ShopMagic and all add-ons
* Completely rewritten events, filters and actions to prepare for next major updates
* Added support for email heading text
* Added new column with event name to Automations page
* Added new placeholder - order.details
* Added new placeholder - customer.phone
* Added support for changes in ShopMagic PRO add-ons
= 1.9.2 - 2020-02-25 =
* Fixed missing order.product_ordered placeholder
= 1.9.1 - 2020-02-21 =
* Fixed Delayed Actions add-on compatibility
= 1.9.0 - 2020-02-19 =
* Major update!
* Completely rewritten placeholders to prepare for next major updates
* Added placeholder groups (i.e. customer, order) to easily manage and add custom placeholders
* Tweaked placeholders names to reflect new grouping feature
* Added support for all legacy placeholders (all old placeholders will seamlessly work after this update)
* Tweaked currency, country and date placeholders to reflect site format settings
* Added support for changes in ShopMagic PRO add-ons
= 1.8.0 - 2020-01-08 =
* Added product variations support to product filter
= 1.7.1 - 2019-12-18 =
* Fixed integration with "ShopMagic Delayed Actions" plugin
= 1.7.0 - 2019-12-16 =
* Added customer_billing_* and customer_shipping_* placeholders
* Fixed product filter
= 1.6 - 2019-11-14 =
* Added better support for translations
* Added WP Desk libraries to unify plugin dvelopment
* Added support for [premium add-ons](https://shopmagic.app/product-category/add-ons/)
= 1.5 - 2019-10-30 =
* Added support for default WooCommerce template in emails (use WooCommerce template or style your own from scratch)
* Added translation support for event and action names
* Changed "predefined template blocks" name to "content blocks" for better understanding
* Changed legacy placeholders in content blocks
* Fixed fatal error for New Order event with no action added
* Fixed text editor buttons not showing up
* Fixed visual editor errors when 2 or more actions were added
* Fixed {{products_ordered}} placeholder not displaying products for some events
* Fixed some notices showing up for actions
= 1.4 - 2019-09-30 =
* Brand look and feel - ShopMagic now magically integrates with WordPress and has greatly improved user experience
* Added support for WooCommerce 3.7
* Added improved welcome page to help you get started with creating your first automation
* Added quick links to settings, docs and support
* Added translation support
* Tweaked admin notices handling to improve UX
* Tweaked many things under the hood to prepare for next major versions
= 1.3.1 =
* Fixed issue with text editor not being able to toggle between Visual and Text mode for automation emails
* Fixed bug that would sometimes prevent New Order automation from firing
* Fixed bug that prevented {{customer_first}} and {{customer_last}} placeholders from working when checkout is by guest instead of WP user
* Fixed issue with plugin generating white space in some admin files which caused issues with Updraft backup plugin
* Fixed bug that de-activated plugin when the View Details link was clicked for plugin on Plugins admin page
= 1.3.0 =
* Added Filters feature! Now you can add a condition that must be met before any action is taken
* Added "Products Purchased" placeholder to the free version - now you can list all products purchased in your customized confirmation email
* Improved deactivation survey feature
* Improved Welcome screen to include more useful getting started information
= 1.2.5 =
* Fixed formatting in pre-written email templates
* Added optional deactivation survey to send back completely anonymous data to help us learn how we can improve the plugin
= 1.2.4 =
* Fixed bug which prevented admin from choosing a product as an event to trigger automation
* Updated links to correctly point to shopmagic.app for support and pro upgrades
= 1.2.3 =
* Fixed small bug causing warnings on activation for some users
= 1.2.2 =
* Fixed issue with not being able to name automations
= 1.2.0 =
* Updates to Readme - Change of Plugin Name
* Updates to URLs
= 1.1.8 =
* Fixes to welcome page and admin banners
= 1.1.7 =
* Fixed Add Media button issue
* Fixed Product Purchase in Draft mode issue - where products added wouldn’t stay unless published
* Email formatting improvements
= 1.1.6 =
* Fixed compatibility issue with Gantry 5 based themes (Helium and Hydrogen)
= 1.1.5 =
* Fixed media button issue on Send Email automations where media button did not bring up media browser
* Fixed issue where automation emails would not send to guests after checkouts
* Changed placeholder prefix to {{ customer_ from {{ user
* Added admin messages and pointers
= 1.1.3 =
* Further improvements to email sending compatibility for more server environments
* Fixed bug which displayed warnings on checkout confirmation for Guests if wp debug was enabled
= 1.1.3 =
* Further improvements to email sending compatibility for more server environments
* Fixed bug which displayed warnings on checkout confirmation for Guests if wp debug was enabled
= 1.1.2 =
* Fixed issue of emails not being sent consistently in all environmental setups
= 1.1.1 =
* Updated plugin description
* Fixed issue where emails weren’t sent out if guest checkout enabled
= 1.1.0 =
* Added Predefined Email Template block feature so that you can add prewritten text to your emails with ease
* Improved email formatting and fixed bugs
* Added live descriptions for events next to dropdown menu
* Added Welcome Page after activation
= 1.0.2 =
* Fixed plugin activation issue
= 1.0.1 =
* Fixed JS bug that automatically closed download link information in backend for orders
= 1.0.0 =
* Released first version