Usage:
This shortcode is designed to give you direct access to subscriptions in your Infusionsoft shopping cart.
This shortcode does NOT supports conditional branching with [ELSE_subscription].
Shortcode nesting is NOT supported.
Parameters:
id | The subscription’s Id. Default: none. Required: yes. |
field | The field name whose value should be retrieved. Default: none. Required: yes. |
Example:
[i4w_subscription id='2' field='DefaultPrice']
Notes:
Replaces the [i4w_db_subs_nn_FieldName] shortcodes, which will eventually be deprecated.
This shortcode can also be used in the shorter form: [i4w_subs]
API:
To use this shortcode in your own PHP code, please use as follows:
'ShortDescription' ) ); $my_price = i4w_subscription( array( 'id'='2', 'field'=>'DefaultPrice' ) ); ?>