VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: greller on April 24, 2025, 12:36:03 PM

Title: Breadcrumbs for product detail pages and categories not working
Post by: greller on April 24, 2025, 12:36:03 PM
Hello :)

I just noticed that the breadcrumbs were behaving really weird. On some category pages it showed the breadcrumb for a specific product of a random sub-category. For specific products it would then also show the breadcrumb for a completely different product.
I then cleared the cache to see if that would (at least temporarily) solve the issue.

Now it's different, but still wrong.
The breadcrumb entry for product detail pages is missing now, it just shows the same breadcrumb as for categories, which doesn't allow navigating to the category (as the breadcrumb thinks it's the current page).
Also it still shows completely wrong breadcrumbs for some categories.

Example: https://www.friedrich-living.de/produkte/gartenmoebel/gartentische/bistro-tische/balcony-bistrotische-detail

Does anyone have an idea what might cause this? I didn't change anything on the page afaik.
Title: Re: Breadcrumbs for product detail pages and categories not working
Post by: changlee on April 30, 2025, 17:22:16 PM
You have to check your tempalte settings also. What is going there?
Title: Re: Breadcrumbs for product detail pages and categories not working
Post by: greller on May 02, 2025, 12:16:33 PM
Quote from: changlee on April 30, 2025, 17:22:16 PMYou have to check your tempalte settings also. What is going there?

The Template is called "JA Elicyon". I didn't change anything in its settings and I also couldn't find any template settings that seem like they would influence the breadcrumb.

Or am I looking in the wrong place?
Title: Re: Breadcrumbs for product detail pages and categories not working
Post by: sirius on May 16, 2025, 10:42:06 AM
Did you check your modules for Breadcrumb ?
And if so, check if there's any override for this module in your template, usually in the html folder.
Title: Re: Breadcrumbs for product detail pages and categories not working
Post by: Jumbo! on May 16, 2025, 18:37:48 PM
You can quickly switch to the standard Cassiopeia template to check its functionality and rule out any potential template-related issues.
Title: Re: Breadcrumbs for product detail pages and categories not working
Post by: greller on May 22, 2025, 12:07:44 PM
Thanks for your replies @Jumbo! and @sirius.

The issue seems to be in fact the caching, which was disabled on the staging version and is causing inconsistent issues now.
If the caching is disabled globally, the breadcrumbs work fine again.

I'm a bit confused though, because I also previously had caching disabled for the breadcrumb module and expected it to override the global settings. So how does this work in Joomla? Because if the whole page is cached as one, the breadcrumb for one page should always be the same. And if each module is cached on its own, the modules where caching is switched off in their settings should not be cached...
Title: Re: Breadcrumbs for product detail pages and categories not working
Post by: Jumbo! on May 22, 2025, 13:54:09 PM
In the Joomla Global Configuration, you must set the caching option to "ON—Conservative Caching" instead of "ON—Progressive Caching".

In Joomla, conservative caching delivers a unique cache for each visitor, while progressive caching delivers the same cached content to all visitors. Progressive caching is generally recommended for static sites with content that doesn't change frequently, while conservative caching is better for sites with dynamic content that changes frequently.

Progressive caching overrides the module's settings and displays the same static module output to all visitors.