Megafilter and Thumb hover

ThemeBurn SupportForumsOpenCart ThemesPavilion OpenCart ThemeMegafilter and Thumb hover

This topic has been marked as not resolved.

Hi support,

Megafilter is breaking the thumb hover feature, when you actually apply a filter on the category overview. I guess, that happens with all Ajax calls on the category, as it happened to another modification of mine (infinite scrolling). Is there a way to fix that?

Best,
Axanne

 axanne
June 3, 2015 at 6:38 pm #41277

Hi,

can you try the following solution. Please, share if it solves your issue.

Best,
ThemeBurn team

June 8, 2015 at 10:19 am #41343

Thanks for the reply. I tried it. As far as I understand, it executes all js anew, once the filter is used. In that case it breaks my layout, as I’ve got some JS altering the standard behaviour once.

Is there a way to only execute the thumb hover js functions again?

Thanks,
axanne

 axanne
June 8, 2015 at 2:47 pm #41349

Ok, solved it. Run this script after every filtering execution or other JS altering your DOM:
thumb_hover("[id^=ProductsSystem]", 'overlay');

 axanne
June 9, 2015 at 2:33 pm #41360

Hi, our solution does indeed execute all of the events that are responsible for the product listing on every filter request. Your solution seems legitimate, but it’s partial as it does not cover all of the possible settings combinations for the product listing.

How exactly does our proposed solution (re-executing of the events) break your layout ?

BR,
ThemeBurn team

June 9, 2015 at 4:55 pm #41368

I’ve got stuff in the custom js field in the backend pavilion admin, which alters the behaviour of the icons of the megamenu. Therefore, that icons are altered twice and change their appearance. So I guess with a standard installation, that shouldn’t be a problem.

But I like to keep the changes as close as possible, so that other mods won’t break.

Could you tell me, which product listing combinations wouldn’t work?

 axanne
June 11, 2015 at 12:42 pm #41440
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.