how to display 'my wishlist' in header top links in magento

how to display 'my wishlist' in header top links in magento

July 30, 2026 · Illustrated author avatarBy Stefan Bogdanescu
how to display 'my wishlist' in header top links in magento

How to Display Your Wishlist in Magento Header Top Links

If you’ve recently upgraded your Magento site from version 1.4.1.1 to 1.7.0.2, you might be facing an issue where the “My Wishlist” link is not visible in the header top right area after logging in. This can be quite frustrating for users who expect to see their wishlist easily accessible.

Troubleshooting Your Wishlist Link

You’ve already made some attempts by adding the reference and action method in your customer.xml file under the top.links block:

<reference name="top.links">
    <action method="addLink" translate="label title" module="customer">
        <label>My Wishlist</label>
        <url helper="customer/getAccountUrl"/>
        <title>My Wishlist</title>
        <prepare/>
        <urlParams/>
        <position>10</position>
    </action>
</reference>

However, even after implementing this code, the wishlist link doesn’t redirect to the correct page. This issue might be due to the customer/getAccountUrl helper not being configured properly or a compatibility issue between versions.

The Correct Way to Add My Wishlist Link

To resolve this issue, you need to modify your code slightly:

<reference name="top.links">
    <action method="addLink" translate="label title" module="wishlist">
        <label>My Wishlist</label>
        <url helper="wishlist/customerWisthist"/>
        <title>My Wishlist</title>
        <prepare/>
        <urlParams/>
        <position>10</position>
    </action>
</reference>

Here are the changes made:

  • The module attribute is changed from “customer” to “wishlist”. This ensures that the correct module is being referenced.
  • The url helper is updated to wishlist/customerWisthist. This helper points directly to the wishlist page, ensuring a proper redirect.

Ensure Wishlist Module Is Enabled

Another common reason for this issue is having the Wishlist module disabled. To check if it’s enabled:

  1. Log in to your Magento admin panel.
  2. Navigate to System > Configuration > Advanced.
  3. Click on Disable Modules Output.
  4. Look for “Mage_Wishlist” and ensure the checkbox next to it is unchecked.

If it’s checked, simply uncheck it and save the configuration. This will re-enable the Wishlist module and should resolve your issue.

Conclusion

Displaying the “My Wishlist” link in the header top area can greatly improve user experience on your Magento site. By correctly configuring the customer.xml file with the updated code, you ensure that users can easily access their wishlists post-login.

Remember, when dealing with Magento upgrades or customizations, it’s always a good practice to reference official documentation and trusted tutorials. For more advanced troubleshooting and best practices on Magento development, I recommend checking out our in-depth guides at Laravel Company.

Don’t hesitate to reach out if you face any other issues or need further clarification on Magento customizations. Happy coding!

Magento 1 Extensions Configuration Deployment

Our network