Tags
CartThrob Subscriptions adds several parameters to existing CartThrob form tags and exposes additional subscription-specific tags. The subscription parameters accepted by add_to_cart_form and update_cart_form are documented with those core tags.
To see these tags working together in the bundled example store, read Understanding the example templates.
Subscription Add-on Tags
The Subscriptions add-on exposes these template tags:
- subscription_select
- subscriptions
- plans
- update_subscription_details — edit only the Subscription name and description
- update_subscription_form
- update_recurrent_billing_form — deprecated; renders existing content, but submissions are disallowed
- delete_recurrent_billing_form — compatibility wrapper for removing a linked saved Vault
- cancel_sub_form
- change_plan_form
- plan_select_field
- cart_has_subscription
- has_subscription_permission
Related Permission Tags
When the bundled Permissions Manager add-on is installed, these tags are also available:
Related CartThrob Core Tags
These are CartThrob core tags (not added by Subscriptions):