Hi Matt,
Thanks for posting a link.
It looks like there is some code somewhere that’s changing/breaking the menu item classes: https://screencast.com/t/Y0OxxNTG
Is it a custom theme? Can you take a look through the theme code to see if there is any code that’s filtering/changing the menu item classes?
Regards,
Tom
Thank you Tom.
Good catch. Very odd indeed. Yes it is a custom theme, but i have no idea what would be filtering the menu classes. I looked through all the code searching for “nav” and “menu” and did not find anything filtering classes. It almost looks like the plugin itself is corrupt. I tried reinstalling the plugin but that did not do anything. Is there a way to clear all plugin data, then do a fresh install of the plugin? (ill save my custom mmm theme css of course)
Thanks!
Matt
Hi Matt,
There’s a Delete Data option under Mega Menu > Tools.
But try switching to a different theme first, and that will tell you if the theme is the problem without you needing to start over.
Regards,
Tom
Yes, i tried changing theme as one of the first things last Friday.
I just tried two things:
1. Mega Menu > Plugin Data > Delete Data (after backing up css) … It did not help.
2. I went through and disabled all plugins, then went one by one reenabling them. Turns out WooCommerce is preventing it from working. I would think this is a bug because woocommerce should work with Max Mega Menu, correct?
And for the record – the menus still trigger with these classes on the menu item:
mega-menu-item mega-menu-item-type-post_type mega-mega-menu-item-has-children
Note the “mega-mega-menu” … still works.
Do you have any history of the Max Mega Menu plugin having a conflict with woocommerce?
I see you have a “StoreFront Integration” plugin. But it looks like just styles. Is that correct, or should I try adding that extra plugin?
Thanks.
Matt
-
This reply was modified 8 years, 4 months ago by
mattbru.
-
This reply was modified 8 years, 4 months ago by
mattbru.
Hi Matt,
We have a lot of users using WooCommerce and Max Mega Menu without any other reported issues.
Do you have any WooCommerce extensions installed? Or just core WooCommerce?
PS the storefront integration plugin is for the storefront theme, so you do not need that.
Regards,
Tom
-
This reply was modified 8 years, 4 months ago by
megamenu.
Thanks Tom.
Yes i have 4 wc addons:
WooCommerce | Version 3.2.6
WooCommerce Conversion Tracking |Version 1.2.5
WooCommerce Google Analytics Integration | Version 1.4.3
WooCommerce Product Add-ons | Version 2.9.1
WooCommerce Stripe Gateway | Version 4.0.3
But it doesnt matter if I have any of those enabled or disabled. Only core WC.
I just tried something else. I disabled all plugins except MMM and WC. Menu works! When I activate Advanced Custom Fields PRO v5.6.7 as the third plugin… it does not work anymore. When the combination of ACF and WC are enabled WITH MMM, the menu sub-items do not trigger. But if i disable either WC OR ACF… they begin working again.
So now im not sure what to try. Check with ACF Pro support, or try rolling back to version 5.6.6?
Okay, I ruled out ACF. And I think the only reason it worked without woocommerce is because jquery was not defined – javascript errors. (for whatever reason) This was the same reason ACF failed it. (Because it messed up the page loading / and javascript.)
Very very odd. I cant find what is manipulating the menu classes. If i deactivate the MMMenu plugin, the menu classes look fine. And its also very odd that the MMMenu works even if jquery is not defined. Something else must be triggering the menus – not MMMenu js.
I ended up hacking maxmegamenu.js. I just added this line to line #28
“li.mega-mega-menu-item-has-children,” +
I might just keep it this way, since it works.
Thanks for looking into this for me!
Matt