cancel
Showing results for 
Search instead for 
Did you mean: 

Adding Product List in Customer Dashboard

Adding Product List in Customer Dashboard

Hi, I'm new in magento and I'm starting to learn adding Blocks, Custom XML stuff. Right now I have a major problem. I want to add the Product List Page in the Customer Dashboard. I was able to add a new Link in the customer.xml by adding this: 

 

<customer_account translate="label">
<reference name="customer_account_navigation">
<action method="addLink" translate="label" module="customer"><name>product_list</name><path>catalog/product/</path><label>My Products</label></action>
</reference>
</customer_account>

 

Now I'm stuck with adding a page with the list of all products in The Customer Dashboard. I've tried this: 

<customer_myproducts_index>
<label>Customer My newpage</label>

<update handle="customer_account"/>
<reference name="my.account.wrapper">
<block type="customer/account_dashboard" name="product_list" template="catalog/product/list.phtml"/>
</reference>
</customer_myproducts_index>

But whenever I click the "My Product" link. It is always 404 error page. I'm really lost. please help me.