Jump to content

Breadcrumbs -> Get Category Name & Link


P_IG

Recommended Posts

I'm trying to get the following:

 

Home > Grandparent > Parent > Productname  Button: more products from Grandparent + Parent

for example:

Home > Apple > Ipad > Apple Ipad 3 64GB White Button: more products from Apple Ipad

 

I've added the button in the breadcrumbs in the breadcrumbs.tpl file. 

 

But I can't get the link to the parentcategory and the name of the parentcategory and the grandparentcategory.

 

Code so far:

 

{if $page_name == 'product'}
   <a href="?" class="action moreProductsButton">
         » more products from Grandparentname Parentname
   </a>
{/if}

 

Hopefully somebody can help me. 

 

Kind regards,

Ingrid

Edited by P_IG (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...