suport is nearly useless
-
Support never understands
-
Hi, could you tell us more? Maybe I will understand 🙂
I try to automatically subscribe all the customers from woocommerce to a specific list, even though they don’t click to subscribe my generic newsletter. I contacted the support and he’s nice but keeps sending me your documentation links and I suspect him notto know the plugin enough to correctly help me.
I tried everything : rest api, code api and automation to no avail.
- This reply was modified 5 months, 3 weeks ago by perrineco.
It depends if you want to do it one time, for all the past customers or if you want it to be done for new customers too.
For past customers, you can use a mass action under the “Automations” menu.
For the action, use “AcyMailing list => Subscribe users to => your list”
For the filter, use “WooCommerce – Purchased a product” without changing its optionsFor new customers, you can use an automation with the trigger “When a WooCommerce user order status changes” and the action “AcyMailing list => Subscribe users to => your list”.
Note that this filter only takes the orders with a status set to “Completed”. This may be the reason why you couldn’t set this up as the orders with a custom status won’t be taken into account.
If this is your case, we planned to add a field to choose the order statuses, but for now you can edit the file wp-content/plugins/acymailing-integration-for-woocommerce/WooCommerceAutomationConditions.php and near the line 256, replace “wc-completed” by the order status you want to select.
One other thing to consider, is that the automations are meant to do actions on AcyMailing users. If your customers aren’t in AcyMailing yet, you can import them in AcyMailing first by importing WordPress users.
For guest purchases however it will not work as these customers don’t have a WordPress account. Maybe you have a way in WooCommerce to export the list of customers? If so, you will be able to import them in AcyMailing and subscribe them to your list at the same time.
I want it for all new customers. But they can order as guests. I used rest api in a custom plugin, with a cron to do it and it works. I am not sure it is the most elegant way to do it but I didn’t find any other way !
We’ll modify the WooCommerce filters to handle guest customers, it should make it easier if you ever have to do something similar in the future.
This is good news! Thanks!
- You must be logged in to reply to this review.