Using ShopMagic for WooCommerce Subscriptions
Prerequisites:
To use the WooCommerce Subscriptions addon, you need to activate the WooCommerce Subscriptions plugin first.
How to use this add-on:
The add-on extends your ShopMagic with a bunch of events, filters, actions, and placeholders to seamlessly integrate with WooCommerce Subscriptions.
Events
- New Subscription
- Subscription - Before end
- Subscription - Before renewal
- Subscription - Status changed
- Subscription - Trial end
Filters
- Subscription - Date completed
- Subscription - Date created
- Subscription - Date paid
- Subscription - Item categories
- Subscription - Item count
- Subscription - Meta
- Subscription - Order Items
- Subscription - Parent Order Status
- Subscription - Payment Gateway
- Subscription - Requires Manual Renewal
- Subscription - Shipping Method
- Subscription - Status
- Subscription - Total
Actions
- Subscription - Change date
- Subscription - Change status
- Subscription - Change to manual
Placeholders
- subscription.admin_url
- subscription.billing_address
- subscription.change_payment_method_url
- subscription.early_renewal_url
- subscription.end_date
- subscription.id
- subscription.items
- subscription.last_payment_date
- subscription.meta
- subscription.next_payment_date
- subscription.payment_count
- subscription.payment_method
- subscription.shipping_address
- subscription.start_date
- subscription.status
- subscription.total
- subscription.trial_end_date
- subscription.view_url
- [New] order.type - Order-to-subscription relationship, can be resubscribe, renewal, parent, switch and regular.
You may read more on how to add new email notifications for WooCommerce Subscriptions.