Answer the question
In order to leave comments, you need to log in
How to display the full path of "breadcrumb" in OpenCart?
Hello, I have such a task, I need to correct it in opencart.
When you first go to one category then to another, then the type of breadcrumbs, the full path is displayed normally, and the url is correct.
And when you select a subcategory through the drop-down menu, the path becomes
Main - subcategory -product
How do I achieve the correct display of breadcrumbs? Thank you for your attention!
Answer the question
In order to leave comments, you need to log in
There is a module shop.opencart-russia.ru/full-path-breadcrumbs
here is a free solution for version 2.x - www.opencart.com/index.php?route=extension/extensi...
tested on their site... working!
Hello, I encountered such a problem in a template from TM, I decided to correct the controller along the path:
catalog\controller\extension\module\tm_megamenu.php
I found a line that creates a link for a subcategory in the menu
$subcategories2_href = $this->url->link(' product/category', 'path=' .$subcategories2[$l]['category_id']);
And after changing
it a little, it turned out this:
category_id']);
I haven’t tested it in the standard theme, but I think it can be done by analogy
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question