Hi I'm not a developer so not sure If this is a bug or not.
I noticed on the Category/Browse views. that the breadcrumbs data did not display ANY sub category and indeed the whole hierarchy was gone.
I narrowed this down to line 179 in components/com_virtuemart/views/category/view.html.php
I'm using VirtueMart 4.0.2 10661
The line in question
$category = $categoryModel->getCategory($this->categoryId, false);
I replaced with the line from VM 3.8 - and the breadcrumbs re-peared
$category = $categoryModel->getCategory($this->categoryId);
Hmm, thank you for your report.
The false just says "load without children", but it should load the parents. So i wonder a bit how this makes trouble with the breadcrumbs.
Hi, VirtueMart 4.0.4 10688 - the bug still here. Fix it, please. Joomla breadcrumbs does not work correctly with VM4 categories and products.
Max, i fixed this for a customer last week using same trick using last VM.
I do not checked why, but this trick works
ehrm, what was your trick? :-)
My guess is:
QuoteThe line in question
Code: [Select]
$category = $categoryModel->getCategory($this->categoryId, false);
I replaced with the line from VM 3.8 - and the breadcrumbs re-peared
Code: [Select]
$category = $categoryModel->getCategory($this->categoryId);
Jörgen
Same fix
$category = $categoryModel->getCategory($this->categoryId);