CartThrob 9 documentation for ExpressionEngine commerce teams Visit CartThrob.com
CartThrob.com

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

  1. If no member is logged in, this tag returns no_results.
  2. Loads entries where:
    • author_id = current member ID
    • channel_id = CartThrob configured purchased_items_channel
    • dynamic = no
  3. 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}