0

I have added below to code to get the breadcrumb for account information section:

<customer_account_edit translate="label">
    <reference name="breadcrumbs">
        <action method="addCrumb">
          <crumbName>Account Information</crumbName>
          <crumbInfo>
               <label>Account Information</label>
               <title>Account Information</title>
          </crumbInfo>
       </action>
    </reference>
</customer_account_edit>

but iam not getting full bread crumb url.

screenshot:

https://prnt.sc/igd4ci

Can any one help me what is the issue.

Thanks

4
  • Which code you have added? Feb 18, 2018 at 12:37
  • please find the code in the question Feb 18, 2018 at 16:29
  • Why you are writing custom breadcrumb? Magento by default show's breadcrumb on Account Edit form Feb 19, 2018 at 4:03
  • Thansk, by default for my theme iam having breadcrums issue so, i wants to add it Feb 19, 2018 at 4:11

1 Answer 1

0

If you want to show full path in custom breadcrumb then you have to specify every breadcrumb element like below code:

<action method="addCrumb">
  <crumbName>home</crumbName>
  <crumbInfo translate="label title">
     <label>Home</label>
     <title>Home</title>
     <link>/</link>
  </crumbInfo>
</action>
<action method="addCrumb">
  <crumbName>my_account</crumbName>
  <crumbInfo translate="label title">
    <label>Account Information</label>
    <title>Account Information</title>
    <link>customer/account/edit</link>
  </crumbInfo>
</action>
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.