WOOCOMMERCE SUBSCRIPTION TAGS
These dynamic tags expose information from WooCommerce Subscriptions for the currently logged-in customer. They are ideal for building custom account dashboards, gated content messages, or personalising landing pages with subscription data.
ACTIVE SUBSCRIPTION Since v1.0.0
Outputs the product title of the customer’s active (or pending-cancel) subscription, with optional linking to the subscription detail view.
ACTIVE SUBSCRIPTION Since v1.0.0
Usage: Available site-wide.
Scope: Current customer.
Settings:
- Linkable: When enabled, wraps the product name in a link that points to the subscription’s order page.
Macro Commands:
None
Example Usage:
Display "Pro Plan" or link it to the subscription management page inside a personalised hero section.
ACTIVE SUBSCRIPTION DATA Since v1.0.0
Returns status, next payment date, or trial information from the customer’s first active subscription.
ACTIVE SUBSCRIPTION DATA Since v1.0.0
Usage: Available site-wide.
Scope: Current customer.
Settings:
- Data Type: Choose between subscription status, next payment date, or trial end.
- Date Format: Override the site-wide date format when returning dates.
- Custom Text (Trial): Replace the trial end date with a custom sentence containing the
{remaining_days}placeholder.
Macro Commands:
None
Example Usage:
Show a badge like "Next payment on 03/12/2025" or "Your trial ends in 4 days" using the placeholders.
MYACCOUNT SUBSCRIPTION LINK Since v2.0.1
Generates a My Account URL that points to the customer’s subscription detail. If multiple subscriptions exist, the link goes to the subscriptions endpoint.
MYACCOUNT SUBSCRIPTION LINK Since v2.0.1
Usage: Available site-wide.
Scope: Current customer.
Settings:
- None
Macro Commands:
None
Example Usage:
Attach the URL to a button labelled "Manage subscription" in a dashboard or thank-you page.