I think I figured it out. It has to do with the number of variations listed. If it’s over 30 it throws an error. Is this the case? Is there a limit?
Public
Ticket #151550
I think I figured it out. It has to do with the number of variations listed. If it’s over 30 it throws an error. Is this the case? Is there a limit?
Hi William,
There is a limit for the basic plugin. but you have the premium version, so there is no limit for you.
Can you please give us temporary admin access to your site? We’ll try to investigate the issue for you.
You can add new users by going to Users > Add New set the user and password for us, set the role to admin, and set the info here.
Add your site URL, login username, and password in the site login area. Follow this guideline: https://www.useloom.com/share/27c1f2ac633c4060b2da883d946107d7
Hope to hear from you soon!
Hi William,
Thanks for reaching out to us.
I have checked your script list. Then I can see you have added jQuery CDN on your site- https://paste.pics/QUTSD
WordPress Core has its default jQuery, you don’t have to enqueue it again. Please check the default JS libraries of WordPress Core- https://developer.wordpress.org/reference/functions/wp_enqueue_script/#default-scripts-and-js-libraries-included-and-registered-by-wordpress
You can enqueue the jQuery like this to use the built-in jQuery library-
wp_enqueue_script( 'jquery' );
Rather than like this
wp_register_script( 'jquery', 'https://code.jquery.com/jquery-3.6.0.js');
Our plugin is dependent on the default jQuery library of WordPress. Please remove the additional CDN for jQuery. Then try again on your site.
I hope this will help. Hope to hear from you soon.
Thank You
Variation Swatches Pro: TypeError: this.$element.block is not a function
William Finley
Getting the below error on one of our pages. This is the only page where this is happening.
https://www.westernmountaineering.com/product/hooded-flash-jacket/
Can’t figure it out. Any ideas?
Variation Swatches Pro: TypeError: this.$element.block is not a function
at t.value (frontend-pro.min.js?ver=1714598262:1:9105)
at HTMLDivElement.<anonymous> (frontend-pro.min.js?ver=1714598262:1:1676)
at HTMLDivElement.dispatch (jquery-3.6.0.js:5430:27)
at elemData.handle (jquery-3.6.0.js:5234:28)
at Object.trigger (jquery-3.6.0.js:8719:12)
at HTMLDivElement.<anonymous> (jquery-3.6.0.js:8797:17)
at Function.each (jquery-3.6.0.js:385:19)
at jQuery.fn.init.each (jquery-3.6.0.js:207:17)
at jQuery.fn.init.trigger (jquery-3.6.0.js:8796:15)
at new t (frontend-pro.min.js?ver=1714598262:1:6122)