Documentation

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.

Not the solution you are looking for?

Please check other articles or open a support ticket.

Cookies preferences

Others

Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.

Necessary

Necessary
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.

Advertisement

Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.

Analytics

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.

Functional

Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.

Performance

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.