MyPage is a personalized page based on your interests.The page is customized to help you to find content that matters you the most.


I'm not curious

How to Customize the Customer Dashboard for your Magento Store?

Published on 11 June 15
770
0
1
Do you like the default customer dashboard that you get with Magento? Do you think it fulfills your needs to the perfection? There may be things that don't come with the default dashboard.

Let's take a scenario into consideration while discussing this. A particular store wants to showcase a set of products and catalog to their registered users, but don't want these products to be displayed to the non-registered people. They will need to customize the dashboard to meet their requirements. Let's understand how this happens.

Go to dashboard.phtml; this file is located along the following path: /app/design/frontend/default/yourtemplate/template/customer/account/ and modify it to customize the dashboard. Along with dashboard.phtml, you will also need to customize customer.xml which is located along the path /app/design/frontend/default/yourtemplate/layout/

Once you have customized these two paths, you will need to add a separate file, download_links.phtml and save it to the folder downloadlinks along the path /app/design/frontend/default/yourtemplate/template/

Let's see what customizations you need to make to customize the customer dashboard of your store

Go to dashboard.phtml

You will see the following code

<div class="account-box ad-account-info">
<div class="head">
<h4><?php echo $this->__('Account Information') ?></h4>
</div>
<?php echo $this->getChildHtml('info') ?>
<?php echo $this->getChildHtml('address') ?>

Place the following code right after this one

<div class="head">
<h4><?php echo $this->__('Download Links') ?></h4>
</div>
<?php echo $this->getChildHtml('downloadlinks') ?>

After making this change in dashboard.phtml, you will need to modify customer.xml

You will need to add the following code within the reference block near line 209

<block type="core/template" name="customer_download_links" as ="downloadlinks" template="downloadlinks/download_links.phtml"/>

Once this has been done, you will need to look into the new folder that you have created download_links.phtml. here you can add php code or run a simple html code. Once you have added the necessary links, your block will look like this

Your downloadable files:<br/>
<a href="">2009 Product Catalog</a><br/>
<a href="">2009 Price Sheet</a><br/>
<a href="">Credit Application</a><br/>








































Do you like the default customer dashboard that you get with Magento? Do you think it fulfills your needs to the perfection? There may be things that don't come with the default dashboard.

Let's take a scenario into consideration while discussing this. A particular store wants to showcase a set of products and catalog to their registered users, but don't want these products to be displayed to the non-registered people. They will need to customize the dashboard to meet their requirements. Let's understand how this happens.

Go to dashboard.phtml; this file is located along the following path: /app/design/frontend/default/yourtemplate/template/customer/account/ and modify it to customize the dashboard. Along with dashboard.phtml, you will also need to customize customer.xml which is located along the path /app/design/frontend/default/yourtemplate/layout/

Once you have customized these two paths, you will need to add a separate file, download_links.phtml and save it to the folder downloadlinks along the path /app/design/frontend/default/yourtemplate/template/

Let's see what customizations you need to make to customize the customer dashboard of your store

Go to dashboard.phtml

You will see the following code

This blog is listed under Development & Implementations and E-Commerce Community

Related Posts:
Post a Comment

Please notify me the replies via email.

Important:
  • We hope the conversations that take place on MyTechLogy.com will be constructive and thought-provoking.
  • To ensure the quality of the discussion, our moderators may review/edit the comments for clarity and relevance.
  • Comments that are promotional, mean-spirited, or off-topic may be deleted per the moderators' judgment.
You may also be interested in
Awards & Accolades for MyTechLogy
Winner of
REDHERRING
Top 100 Asia
Finalist at SiTF Awards 2014 under the category Best Social & Community Product
Finalist at HR Vendor of the Year 2015 Awards under the category Best Learning Management System
Finalist at HR Vendor of the Year 2015 Awards under the category Best Talent Management Software
Hidden Image Url

Back to Top