Home › Forums › Calendar Products › Events Calendar PRO › select2 conflict with Woocommerce
- This topic has 6 replies, 3 voices, and was last updated 5 years, 9 months ago by Gilles.
-
AuthorPosts
-
June 26, 2018 at 2:05 pm #1562246GillesParticipant
The version of select2 used by the events calendar conflicts with the version used by Woocommerce, creating a JS error on the Woocommerce admin product editor screen.
This should be fixed on the events calendar side. You should only load select2 on the events calendar admin screens.
June 26, 2018 at 3:25 pm #1562305CliffMemberHi, Gilles. Sorry this is happening.
I marked this thread as Pending Fix, which means it should receive a reply once the applicable fix has been released. I cannot guarantee when it will be fixed as it’s in the development team’s hands now. They need to assign it, code it, test it, and schedule it for release.
I apologize for this issue and appreciate your understanding and patience.
July 9, 2018 at 2:52 pm #1571099GillesParticipantHi Cliff,
Thank you for the reply. Here is my temporary fix, let me know if you have comments on it:
// Disable tribe select2 function when not in tribe admin screens function tribe_select2_conflict_fix() { $admin_helpers = Tribe__Admin__Helpers::instance(); if ( ! $admin_helpers->is_screen() ) { wp_deregister_script( 'tribe-select2' ); } } add_action( 'admin_enqueue_scripts', 'tribe_select2_conflict_fix', 11);
July 9, 2018 at 3:28 pm #1571121CliffMemberI don’t see anything wrong with it; thanks for sharing.
July 12, 2018 at 12:15 pm #1573987VictorKeymasterHi Gilles!
Just wanted to share with you that a new release of Events Calendar PRO is out, including a fix for this issue 🙂
Find out more about this release → https://theeventscalendar.com/announcing-events-calendar-pro-4-4-29-2/
We apologize for the delay and appreciate your patience while we worked on this.
Please update the plugins and let us know if the fix works for your site.
Best,
VictorJuly 18, 2018 at 11:45 am #1578379GillesParticipantThank you very much!
July 18, 2018 at 10:30 pm #1578713CliffMemberSo glad this solve the issue for you! Thanks for letting us know.
-
AuthorPosts
- The topic ‘select2 conflict with Woocommerce’ is closed to new replies.