• Hello,

    I am not selling any downloadable items so I would like to remove the link to “Your Downloads” that is shown when I login to my Account on WP eCommerce. It currently looks like this once I login.

    Purchase History|Your Details|Your Downloads | Saved Credit Card, Bank or Shipping Information

    How can I remove that one link option?

    Thanks for your help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey

    I’m facing the same problem, need to remove ‘Your Downloads’ link.

    Any ideas anyone?

    plugins/wp-e-commerce/wpsc-theme/functions/wpsc-user_log_functions.php
    find function wpsc_user_profile_links
    here you can remove the line you don’t want to see

    $profile_tabs = apply_filters( ‘wpsc_user_profile_tabs’, array(
    ‘purchase_history’ => __( ‘Purchase History’, ‘wpsc’ ),
    ‘edit_profile’ => __( ‘Your Details’, ‘wpsc’ ),
    ‘downloads’ => __( ‘Your Downloads’, ‘wpsc’ )
    ) );

    for example

    $profile_tabs = apply_filters( 'wpsc_user_profile_tabs', array(
    	'purchase_history' => __( 'Purchase History', 'wpsc' ),
    	'edit_profile'     => __( 'Your Details', 'wpsc' )
    ) );

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    $profile_tabs = apply_filters( 'wpsc_user_profile_tabs', array(
    'purchase_history' => __( 'Purchase History', 'wpsc' ),
    'edit_profile' => __( 'Your Details', 'wpsc' ),
    /*'downloads' => __( 'Your Downloads', 'wpsc' )
    ) );

    Or you could just comment out the downloads rather than remove. Preserving plugin author architecture.

    I wrote an article on this exact issue here:
    benkaminski.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP eCommerce] Remove Link to Your Downloads in My Account’ is closed to new replies.