woocommerce-mailchimp | Simple and flexible Mailchimp integration | Ecommerce library
kandi X-RAY | woocommerce-mailchimp Summary
kandi X-RAY | woocommerce-mailchimp Summary
Simple and flexible Mailchimp integration for WooCommerce.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Get query SQL .
- Determine if the webmerce is enabled .
- Send an API request .
- Migrate class to target version
- Get the next run date
- Get subscribe options .
- Subscribe a user to a list
- Show admin notice
- Prepare items .
- Delete old actions
woocommerce-mailchimp Key Features
woocommerce-mailchimp Examples and Code Snippets
Community Discussions
Trending Discussions on woocommerce-mailchimp
QUESTION
Heyyo,
So I'm currently maintaining/further developing a Wordpress-based website, which uses WooCommerce to handle orders. The system works by the customer purchasing monthly subscriptions to receive help in various matters, and at the end of the subscription, we'd like to notify the user by email that the subscription has ended (which is currently the issue at hand).
I've had a look at MailChimp for WooCommerce-plugin(s), but quickly realised that'd make it difficult to make sure the customers receive an email a month after their purchase, and not just at the start of each month. Furthermore, I've had a look at the WooCommerce-query documentation, which makes it seem possible to make a custom function, get each and every completed order, check if the current date is one month after the purchase, and run PHP's mail()
function. But I've not given it too much thought and rather just kept it as "an idea".
And as such, I am here. If anyone have any suggestions or ideas, it'd be well appreciated!
...ANSWER
Answered 2019-Aug-25 at 17:47have done this some month ago...
1. register a wordpress cron see in the codex
2. in the cron callback get all orders from a date, or an timespan like this:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install woocommerce-mailchimp
PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page