Jump to content
thirty bees forum
  • 0

Breadcrumb Issues


Question

Posted

Hello all,

I've just recently experienced an issue with the breadcrumb generation within thirty bees 1.4.

The Issue: I moved a whole category (with subcategories) of items from one top-level category to a different top-level category. Now when I browse to any of those sub-categories OR their products, the breadcrumb shows the OLD category (in the appropriate spot of the crumbs) instead of the NEW category that it should. I had this problem not that long ago, but for the life of me I cannot figure out how I fixed that one.

---

Yes, I have tried purging the cache via backoffice as well as manually deleting the class_index.php file from the cache folder.

It appears that the whatever is going on with the breadcrumb string, may have something to do with updating the cache, because the category menu on the left column shows the correct "tree" to the categories/products as expected.

Also, I've tried restoring the original breadcrumb.tpl file as well as the Category.php and FrontController.php (which has an override to load the custom stylesheet last for css proximity) files with cache purges at each step and none of this seems to correct the breadcrumb issue.

So, what am I missing?

Is there another class file or something that builds the breadcrumb string that I have forgotten about or is there a caching bug in the breadcrumb routine somewhere in the code?

Thanks in advance!

 

category move not updating breadcrumb output..jpg

2 answers to this question

Recommended Posts

  • 0
Posted (edited)
16 hours ago, yaniv14 said:

maybe you can try to manually run Category::regenerateEntireNtree()

Thanks for putting me on the path...

So, for anyone with a similar issue in the future - this appears to have been the problem. I have modified a module that will regen the tree, originally written by Gianluca Randazzo (v1.0 for PrestaShop 1.4), to work with Thirty Bees 1.4 (as version 1.1.0). As soon as I am done testing everything, I plan to upload the TB modified version to this thread (or wherever) so that others at least have a utility module that will fix the nleft/nright bug that exists somewhere in the backoffice code.

 

Edited by Obi
clarity

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...