• Hello. I was wondering if the following structure would be possible using your plugin:

    if a product is included in category A > subcategory A and category W > subcategory W

    Current breadcrumbs are:

    home > category A > subcategory A

    What I need is:

    home > category W > “custom word” subcategory A > subcategory W

    If it is, how I need to modify the product template?

    Thank you

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author John Havlik

    (@mtekk)

    So, this isn’t something that you’re going to be able to do without writing some extra code to use some filters. And honestly, it’s going to get a bit messy. You will need to use the bcn_breadcrumb_title to add the extra “custom word” to the subcategory A breadcrumb title (or potentially bcn_breadcrumb_template if you want the custom word outside of the linked portion of the breadcrumb). To get the category hierarchy you want, you’re going to have to find a way to get subcategory W to be the child category of subcategory A, that is the parent property of subcategory W will need to be the term_id of subcategory A (how this is done is up to you).

Viewing 1 replies (of 1 total)
  • The topic ‘Change breadcrumbs structure’ is closed to new replies.