Hello,
I'm working on my e-commerce website and I have some trouble with the Header.
Can someone tell me please How to remove account button and replace with simple account|login links ?
Thanks a lot
Hello,
I'm working on my e-commerce website and I have some trouble with the Header.
Can someone tell me please How to remove account button and replace with simple account|login links ?
Thanks a lot
You can adjust it in header template of current activated theme. If the activated theme have no phtml for this you can adjust from the default template.
<default>
<reference name="top.links">
<action method="setTemplate">
<template>page/template/my_links.phtml</template>
</action>
</reference>
<default>
Then copy page/template/links.phtml and rename it to page/template/my_links.phtml and do whatever you need inside that new template file.
For example you can add log-in & logout link add the below code:
<?php if (Mage::helper('customer')->isLoggedIn() ): ?>
<a href="<?php echo Mage::helper('customer')->getLogoutUrl(); ?>"><?php echo 'Log OUT'; ?></a>
<?php
else: ?>
<a href="<?php echo Mage::helper('customer')->getLoginUrl(); ?>">SIGN IN</a>
<?php
endif; ?>
To add custom link to top links via local.xml:
<reference name="top.links">
<action method="addLink" translate="label title">
<label>My Link</label>
<url>path/to/page</url>
<title>My link tooltip</title>
<prepare>true</prepare>
<urlParams/>
<position>150</position>
<liParams>id="my-custom-id"</liParams>
</action>
</reference>
Managing your account settings couldn’t be easier. To get started, click on the arrow in the top right-hand corner of any page next to your profile picture and select Settings. From here you can manage your author names, password, email addresses and notification settings. This is also where you can also choose who can see what is on your profile.
In case you need to apply custom template only for Top Links, you can do it like this in your theme's local.xml:
<default>
<reference name="top.links">
<action method="setTemplate">
<template>page/template/my_links.phtml</template>
</action>
</reference>
<default>
Then copy page/template/links.phtml and rename it to page/template/my_links.phtml and do whatever you need inside that new template file. For example you can add log-in & logout link add the below code:
<?php if (Mage::helper('customer')->isLoggedIn() ): ?>
<a href="<?php echo Mage::helper('customer')->getLogoutUrl(); ?>"><?php echo 'Log OUT'; ?></a>
<?php
else: ?>
<a href="<?php echo Mage::helper('customer')->getLoginUrl(); ?>">SIGN IN</a>
<?php
endif; ?>
To add a custom link to Top Links via local.xml:
<reference name="top.links">
<action method="addLink" translate="label title">
<label>My Link</label>
<url>path/to/page</url>
<title>My link tooltip</title>
<prepare>true</prepare>
<urlParams/>
<position>150</position>
<liParams>id="my-custom-id"</liParams>
</action>
</reference>
Login, go to "Profile Details" tab, and simply click on the "Delete Account" button. Remove all songs from your account, then request deletion by emailing customer services.
Expel email address from Windows 10 login screen. Open the Start Menu and snap on the Settings symbol to open Windows 10 Settings. Next, click on Accounts and afterward select Sign-in choices from the left side. Here under Privacy, you will see a setting Show account subtleties (eg email address) on sign-in screen.