Adauga breadcrumb in cont magento

Cauta in pachetul tau de tema magento /app/design/frontend/your_interface/your_theme/layout/ fisierul local.xml

local.xml
1
2
3
< ?xml version=„1.0”?>
<layout version=„0.1.0”>
</layout>

ATENTIE! Trebuiesc sterse tagurile <default></default>

Adaugati pentru panoul de control

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
< ?xml version=„1.0”?>
<layout version=„0.1.0”>

<customer_account translate=„label”>

<reference name=„breadcrumbs”>
<action method=„addCrumb”>
<crumbname>Home</crumbname>
<crumbinfo>
<label>Home</label>
<title>Home</title>
<link />/
</crumbinfo>
</action>
<action method=„addCrumb”>
<crumbname>My Account</crumbname>
<crumbinfo>
<label>My Account</label>
<title>My Account</title>
<link />/customer/account/
</crumbinfo>
</action>
</reference>
</customer_account>
</layout>

Ar trebui sa vedeti acum:

Source: http://www.douglasradburn.co.uk/adding-breadcrumbs-to-customer-account-pages-in-magento/

Marmureanu Web: Programator ca meserie, mtb-ist ca pasiune.