Jump to content

Bug disabling block layered navigation


Recommended Posts

Hi,

 

I'm using v1.5.2.0, and since the beginning had the layered navigation installed but never really used it. The block is responsible for getting the product list inside categories, but i never wanted the filters in the left or right block. I'd rather have one in the top of the product list.

 

The problem began when i tried to disable the module. After that, in the categories it says there are x products, but then no product is shown.

I had already unhooked everything, even non-positionable. Still the same.

 

Can someone help pls?

Thanks

Link to comment
Share on other sites

  • 7 months later...

I think I have a similar problem regarding the blocklayered module. When I try to click a category, the first time it works fine. But when I try to click another one it filters a random attribute, even though the products in the category don't have the specific attribute. Try it for yourself.

 

http://www.officegalaxy.ro

Edited by Legend (see edit history)
Link to comment
Share on other sites

Welcome to the forums, Legend.

Your site doesn't have the blocklayered module enabled.

I did notice that when you click on any category, it says there are no products, but when you click on the subcategories, the products are shown.

Cheers, Dave

Blocklayered might not me shown in front office, but that doesn't mean it isn't messing the urls.

The only way to be sure is to have smarty_debug enabled.

 

Anyway, in my case that was the problem.

The only way to fix this was to override the blocklayered and when it uses the variable $selected_filters i forced it to an empty array. It was some time ago, i'm not sure what files and functions i changed.

 

Even google webmaster tools started reporting far less errors in indexation.

I'm hoping this will be fixed in 1.6 for good. Disabling this module shouldn't start returning empty product lists, just stop presenting the filter options.

Link to comment
Share on other sites

Its quite the same bug.

 

With blocklayered active (but no filters) and before the override i made, i would get urls for the categories all messed up with extra code from the block layered, after a few clicks (navigation).

Like domain/category-x/size-x

 

Now, with the override, i only get domain/category-x in blockcategories.

 

I tried to navigate his site, and got, for example:

http://officegalaxy.ro/47-medii-de-stocare-si-accesorii/format-16x_47gb-52x_700mb-8_10x_700mb

instead of

http://officegalaxy.ro/47-medii-de-stocare-si-accesorii

the extra data is from blocklayered

Link to comment
Share on other sites

Thanks, clear now. I tried but can't reproduce it on a PS 1.5.4.1/Layered Navigation 1.8.9 site.

On Legend's site, the urls are messed up at both category and subcategory level - the products don't show at category level while they do at subcategory level.

Does the same happen for you?  Are you using any non-standard themes/modules?

Cheers, Dave

Link to comment
Share on other sites

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