Member Downloads (tag pair)
member_downloads outputs entries from the configured purchased-items channel for the current logged-in member.
This is a legacy tag pair helper.
See also:
Parameters
This implementation does not define tag-specific parameters.
Variables
Variables come from channel entries returned by the configured purchased_items_channel.
Use normal channel-entry variables (for example {title}, custom purchased item fields, etc.).
Behavior and Constraints
- If no member is logged in, this tag returns
no_results. - Loads entries where:
author_id= current member IDchannel_id= CartThrob configuredpurchased_items_channeldynamic=no
- Returns channel-entry style parsed output.
Examples
Basic member downloads list:
{exp:cartthrob:member_downloads}
<p>{title}</p>
{/exp:cartthrob:member_downloads}
Member downloads with a generated link field:
{exp:cartthrob:member_downloads}
<a href="{exp:cartthrob:get_download_link entry_id='{entry_id}' field='purchased_product_download_field_name' member_id='CURRENT_USER'}">{title}</a>
{/exp:cartthrob:member_downloads}