I know this is an old topic, but to help anyone who might find this topic, here is another suggestion for a fix:
Instead of editing the cs-cart code, add a new file
YOUR_TEMPLATE/customer/addons/my_changes/hooks/profiles/my_accounts_menu.override.tpl
The file should contain:
{hook name="profiles:my_account_menu"}
{if $auth.user_id}
<li><a href="{"profiles.update"|fn_url}" rel="nofollow" class="underlined">{$lang.profile_details}</a></li>
{else}
<li><a href="{if $controller == "auth" && $mode == "login_form"}{$config.current_url|fn_url}{else}{"auth.login_form?return_url=`$return_current_url`"|fn_url}{/if}" rel="nofollow" class="underlined">{$lang.sign_in}</a> / <a href="{"profiles.add"|fn_url}" rel="nofollow" class="underlined">{$lang.register}</a></li>
{/if}
<li><a href="{"orders.search"|fn_url}" rel="nofollow" class="underlined">{$lang.orders}</a></li>
{/hook}
This is an extract of my_account.tpl with the download item removed.
Doing it this way keeps all your changes in one place and means your changes are less likely to be lost during an upgrade.
|