i4w_user_subscriptions
Usage
This shortcode enables you to display a logged in contact's list of subscriptions, as well as the ability to cancel or reactivate subscriptions and/or change credit cards used to pay for the same.
By using different parameter combinations, this shortcode can be used to display different views of the subscriptions on file in your system, such as with the "status" filter set to "all", "active" or "inactive".
You can also specify which fields you want included in the table display. The "official" list of accepted field names can be found in the Keap table schema documentation.
For pages using the [i4w_list_subscriptions], it has internally been remapped to now use this shortcode instead.
[ELSE_user_subscriptions] conditional branching is NOT supported.
Shortcode nesting is NOT supported.
Parameters
| Parameter | Description | Default | Required |
|---|---|---|---|
| status | Filter the list based on valid status. Can be 'all', 'active' or 'inactive'. | all | No |
| fields | Columns for the generated table. | ProgramName,Status,BillingCycle,StartDate,PaidThruDate,NextBillDate,BillingAmt | No |
| headers | Column headers for the generated table. | Program Name,Status,Cycle,Start,Paid Thru,Next Bill Date,Amount | No |
Example
[i4w_user_subscriptions]
[i4w_user_subscriptions status='active']
[i4w_user_subscriptions fields='ProgramName,Status' headers='Subscription,Status']
Notes
Due to the complex nature of this Ajax/jQuery shortcode, it may only be used once on any given page.