Categories Breadcrumb

  • Hi all


    I am using subcategories to structure my Perch Shop products and as such, I am trying to create a breadcrumb using the category structure, like so...


    Home > Cat Title > Subcat Ttile > Product Name


    So far I have got it to work but it only displays the subcategory (Subcat Title) and not the top category as well.


    Code
    1. <ol class="breadcrumb">
    2. <li class="breadcrumb-item"><a href="/">Home</a></li>
    3. <li class="breadcrumb-item"><perch:categories id="category" set="products"><a href="/<perch:category id="catPath">"><perch:category id="catTitle"></a></perch:categories></li>
    4. <li class="breadcrumb-item active" aria-current="page"><perch:shop id="title" type="text" /></li>
    5. </ol>


    ..how do I get it to display the full category path, please?


    Many thanks as always.


    Glen