FixProductBreadcrumbs icon indicating copy to clipboard operation
FixProductBreadcrumbs copied to clipboard

Wrong Position Category ID

Open Pratovecchio opened this issue 7 years ago • 8 comments

Example: If the main category has ID 9 and the subcategory ID 6, appears in the product: Home -> Subcategory -> Main Category -> Product Name

The exact position of the breadcrumb instead must be: Home-> Main Category -> Subcategory -> Product Name

How to solve this problem?

Pratovecchio avatar Sep 15 '18 16:09 Pratovecchio

Just to verify, same issue here.. subcat should be just before product. Otherwise thanks, nice job. screen shot 2018-10-03 at 10 45 21

bradleyr1 avatar Oct 03 '18 09:10 bradleyr1

Can you provide me a link where i can check this?

CompactCodeEU avatar Oct 26 '18 11:10 CompactCodeEU

Tried in on several installs but i always get the correct order image

Weird

CompactCodeEU avatar Oct 26 '18 12:10 CompactCodeEU

Can you check your "anchor" settings of the categories and give me a backend screenshot of the categories?

CompactCodeEU avatar Oct 26 '18 12:10 CompactCodeEU

This is the site: https://www.materassionline.it/ The category is "Materassi". When I go into the subcategory and then into the product, the breadcrumb change the order. The category "Materassi" is anchor.

Pratovecchio avatar Oct 26 '18 14:10 Pratovecchio

We will try to reproduce this bug. More information will be available next week with a potential fix. Our apologies for this inconvenience.

CompactCodeEU avatar Oct 26 '18 19:10 CompactCodeEU

I know this issue is kinda old, but I came across it in a project for one of my clients.

The issue occurs when the parent category has a higher entity_id than it child - then the child is loaded first and is displayed first in breadcrumbs.

maciejslawik avatar Dec 21 '19 18:12 maciejslawik

Related PR: https://github.com/CompactCodeEU/FixProductBreadcrumbs/pull/9

maciejslawik avatar Dec 21 '19 18:12 maciejslawik