Woocommerce
-
Hi Janis,
another great plugin!! Congratulations.
I’m having some trouble with WooCommerce, when I hide or remove some panel or dialog bottom, took ages to do it.
Any idea?
Many thanks for your great work.
Cheers,
Leandro
-
When you say that it took ages to do it, do you mean that it was very slow (i.e. a plugin performance problem), or that it was unusually difficult? Could you provide a specific example: what’s one thing that you needed to remove, and what exactly went wrong when you tried to do it?
Hi Janis,
many thanks for your reply.
Yes the plugin took ages to hide or remove panels or bottoms only on Woocommerce related as products,categories etc…after the new version where they add some banners with some bottoms they are impossible to hide or remove as the plugin freeze.
Please have a look and congratulations for the great plugin.I just tested it with WooCommerce 3.6.4 and Firefox/Chrome. Unfortunately, I wasn’t able to reproduce the problem. I tried removing many different WooCommerce panels, buttons and messages, and it worked as expected; there were no noticeable slowdowns or freezing.
Could you please provide at least one specific example so that I can try the same thing on my test site?
Also, there’s a chance that this could be a conflict with another plugin and not WooCommerce itself. One thing that could cause apparent freezing is a JavaScript error. When you notice the plugin freezing or not working correctly, please check the JS console for error messages.
Hi Janis,
here is the error on the console:
JQMIGRATE: Migrate is installed, version 1.4.1
editor-bundle.js:36 Download the Vue Devtools for a better development experience:
https://github.com/vuejs/vue-devtools
VM55 jquery-migrate.min.js:2 JQMIGRATE: Migrate is installed, version 1.4.1
editor-bundle.js:44 Frame has loaded
editor-bundle.js:44 Scripts and styles injected
jquery-migrate.min.js:2 JQMIGRATE: Migrate is installed, version 1.4.1
wp-auth-check.min.js:1 Uncaught TypeError: Cannot read property ‘hasClass’ of undefined
at HTMLDocument.<anonymous> (VM142 wp-auth-check.min.js:1)
at HTMLDocument.dispatch (jquery.js:3)
at HTMLDocument.r.handle (jquery.js:3)
at Object.trigger (jquery.js:3)
at Object.a.event.trigger (jquery-migrate.min.js:2)
at HTMLDocument.<anonymous> (jquery.js:3)
at Function.each (jquery.js:2)
at a.fn.init.each (jquery.js:2)
at a.fn.init.trigger (jquery.js:3)
at Object.<anonymous> (VM141 heartbeat.min.js:1)
(anonymous) @ wp-auth-check.min.js:1
dispatch @ jquery.js:3
r.handle @ jquery.js:3
trigger @ jquery.js:3
a.event.trigger @ jquery-migrate.min.js:2
(anonymous) @ jquery.js:3
each @ jquery.js:2
each @ jquery.js:2
trigger @ jquery.js:3
(anonymous) @ heartbeat.min.js:1
i @ jquery.js:2
fireWith @ jquery.js:2
x @ jquery.js:4
c @ jquery.js:4
XMLHttpRequest.send (async)
send @ jquery.js:4
ajax @ jquery.js:4
j @ heartbeat.min.js:1
k @ heartbeat.min.js:1
m @ heartbeat.min.js:1
(anonymous) @ heartbeat.min.js:1
dispatch @ jquery.js:3
r.handle @ jquery.js:3
editor-bundle.js:44 Frame has loaded
editor-bundle.js:44 Scripts and styles injected
5inject.js?ver=20161205:337 Uncaught TypeError: $element.prop(…).split is not a function
at VACElement.getShortPath (VM161 inject.js:337)
at Object.vacInjected.showPathTooltip (VM161 inject.js:668)
at Object.vacInjected.highlightElement (VM161 inject.js:501)
at HTMLBodyElement.<anonymous> (VM161 inject.js:483)
at HTMLBodyElement.dispatch (jquery.js:3)
at HTMLBodyElement.r.handle (jquery.js:3)
VACElement.getShortPath @ inject.js?ver=20161205:337
vacInjected.showPathTooltip @ inject.js?ver=20161205:668
vacInjected.highlightElement @ inject.js?ver=20161205:501
(anonymous) @ inject.js?ver=20161205:483
dispatch @ jquery.js:3
r.handle @ jquery.js:3I hope that may help!!
That happens when I try to hide/remove the top bar on products>categories page.
Looking forward your kindly reply.
The error details do help a bit. I’m not sure what exactly could cause this kind of an error, but I can add a workaround that might prevent it. Please try the development version of the plugin and see if that fixes the problem.
Hi Janis,
I had download the new version but the problem still there only on Woocommerce, I’m using multisite network, that maybe a problem?
Again I just have problem on WooCommerce.
Please let me know.
Many thanks.
Do you still see the same error(s) in the console, or something different? I would expect there to be some changes with this version. I’m particularly interested in the error that started with this line:
inject.js?ver=20161205:337 Uncaught TypeError: $element.prop(…).split is not a function
Hi Janis,
here is the error:
JQMIGRATE: Migrate is installed, version 1.4.1
editor-bundle.js:36 Download the Vue Devtools for a better development experience:
https://github.com/vuejs/vue-devtools
jquery-migrate.min.js:2 JQMIGRATE: Migrate is installed, version 1.4.1
/wp-admin/:916 Uncaught SyntaxError: missing ) after argument list
editor-bundle.js:44 Frame has loaded
editor-bundle.js:44 Scripts and styles injected
jquery-migrate.min.js:2 JQMIGRATE: Migrate is installed, version 1.4.1
editor-bundle.js:44 Frame has loaded
editor-bundle.js:44 Scripts and styles injectedStill freezing the screen and block the operation, I have to close the tab….maybe a out of memory ??
Many thanks
Hi Janis,
If you want I can give you access to a staging site and you test yourself.
Please let me know.
Sure, that could help. Please send the login info to my email:
[email protected]
- The topic ‘Woocommerce’ is closed to new replies.