VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: sensomedia on April 09, 2018, 02:46:08 AM

Title: Update 3.2.14 breadcrumb no longer displays parent categories
Post by: sensomedia on April 09, 2018, 02:46:08 AM
Solution:
/components/com_virtuemart/views/productdetails/view.html.php
Uncomment line 196:
if($category->parents===false) $category->parents = $category_model->getParentsList($product->virtuemart_category_id);

Note for 3.2.15  ;)
Title: Re: Update 3.2.14 breadcrumb no longer displays parent categories
Post by: mhuebler on April 10, 2018, 16:02:57 PM
thanks!
Title: Re: Update 3.2.14 breadcrumb no longer displays parent categories
Post by: Philip Sorokin on April 15, 2018, 13:58:55 PM
Thanks. Look forward to restoring this in the core!
Title: Re: Update 3.2.14 breadcrumb no longer displays parent categories
Post by: Milbo on April 24, 2018, 17:15:01 PM
the problem is, that the parents should be already loaded, when the category is loaded. So this line shouldnt be necessary. But somehow, sometimes the parents are not there and so enabling the old line (it is just commented imho) fixes the problem.
Title: Re: Update 3.2.14 breadcrumb no longer displays parent categories
Post by: mehmesen on April 25, 2018, 15:03:48 PM
Thanks.
Title: Re: Update 3.2.14 breadcrumb no longer displays parent categories
Post by: Digi-web on August 29, 2018, 12:58:30 PM
Hello,

I just faced this problem for a product details page.
Do you plan to fix this at a certain release?

Also a note, i think i figured an other issue from structured data testing tool
https://forum.virtuemart.net/index.php?topic=140842.0

Latest Vm and Joomla version.

BR,
Alexander
Title: Re: Update 3.2.14 breadcrumb no longer displays parent categories
Post by: Milbo on September 10, 2018, 22:19:22 PM
Does it fix it ?
http://dev.virtuemart.net/attachments/download/1127/com_virtuemart.3.2.15.9925_package_or_extract.zip
Title: Re: Update 3.2.14 breadcrumb no longer displays parent categories
Post by: Digi-web on September 19, 2018, 11:46:05 AM
Yes confirmed in wamp environment it is working.
As i saw you re-enabled the disabled line :)
Title: Re: Update 3.2.14 breadcrumb no longer displays parent categories
Post by: Milbo on September 20, 2018, 11:03:43 AM
Really? As far as I remember I did some more work. Not just in one file.
Title: Re: Update 3.2.14 breadcrumb no longer displays parent categories
Post by: Digi-web on September 20, 2018, 11:06:51 AM
Hi i am not sure what you changed but since i found that this thread here i just modified the view.html.php for the productdetails file and just enabled the line:
if($category->parents===false) $category->parents = $category_model->getParentsList($product->virtuemart_category_id);

Since that it worked ok for me... also you vm version works and i do see this line enabled... you can check if this is the actual case by disabling this line in your host.

Title: Re: Update 3.2.14 breadcrumb no longer displays parent categories
Post by: Milbo on September 20, 2018, 11:36:06 AM
yeh the line is enabled, but the caching behind was just, imho.
Title: Re: Update 3.2.14 breadcrumb no longer displays parent categories
Post by: pellegrinoL on November 15, 2018, 14:37:40 PM
Hi,

I am using VM 3.4.2, but I have the same problem... The issue is still present or I have to do something.

Best
Title: Re: Update 3.2.14 breadcrumb no longer displays parent categories
Post by: Digi-web on November 15, 2018, 14:50:45 PM
Hi, to me the problem is not visible anymore in multiple websites, why dont you send us a link to check it out?
:)
Title: Re: Update 3.2.14 breadcrumb no longer displays parent categories
Post by: pellegrinoL on November 15, 2018, 16:23:49 PM
Hi,

thanks for answering, the website is https://www.iacosport.com

Thanks

Title: Re: Update 3.2.14 breadcrumb no longer displays parent categories
Post by: Digi-web on November 16, 2018, 10:32:04 AM
From what i see there is no links on the categories nor the final product is shown.

Are you sure you have the default breadcumbs module with these settings?
No cache on...
It should work ok.
Title: [Solved] Update 3.2.14 breadcrumb no longer displays parent categories
Post by: pellegrinoL on November 16, 2018, 14:23:22 PM
Great!!!

Thanks, I don't know why Cache was not set on "no Cache".

Many many thanks!!! :D
Title: Re: Update 3.2.14 breadcrumb no longer displays parent categories
Post by: FDE68 on December 06, 2018, 11:57:36 AM
Hallo, thanks to all for the discussion.
I also have the same problem - using Joomla 3.8.13 and VM VirtueMart 3.4.2 Blue Corvus 9966.
Checked all infos, tried out another module - there is a advanced-breadcrumbs - but it should be a system error, because there it is the same issue.
The url acutally is 2018.comfort-cosmetics.de

Any idea?
Thanks a lot.
Bet regards
FDE
Title: Re: Update 3.2.14 breadcrumb no longer displays parent categories
Post by: Milbo on December 10, 2018, 10:06:00 AM
Please try https://dev.virtuemart.net/attachments/download/1151/com_virtuemart.3.4.3.9992_package_or_extract.zip