News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Breadcrumbs for product detail pages and categories not working

Started by greller, April 24, 2025, 12:36:03 PM

Previous topic - Next topic

greller

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.

changlee

You have to check your tempalte settings also. What is going there?
Free SMTP Newsletter at https://www.emailbat.com and my complete SEO services at http://www.blb.gr

greller

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?

sirius

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.
J3.10.12 | PHP 7.4.33 + APC + Opcode
VM Prod : 3.8.6 | VM Test : 4.4.4 11100

Jumbo!

You can quickly switch to the standard Cassiopeia template to check its functionality and rule out any potential template-related issues.

greller

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...

Jumbo!

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.