WooCommerce - excelling eCommerce
Formidable / WooCommerce conflict (3 posts)

  1. Jim
    Posted 2 years ago #

    I see the following error when editing Products.

    I receive an Uncaught TypeError: Object [object Object] has no method ‘chosen’ in write-panels.min.js; details follow.
    (anonymous function) load-scripts.php:2


    The error only occurs when Formidable is enabled.

    Any advice is appreciated.


  2. jameskoster
    Plugin Author

    Posted 2 years ago #

    Deactivate Formidable ;-)

    Seriously, that error is because the 'chosen' script is trying to be used but apparently isn't loaded.

    There must be something in Formidable that is dequeueing that script on WooCommerce pages. It shouldn't. Probably best to approach them about this.

  3. sswells
    Posted 2 years ago #

    It looks like the problem is that both plugins are registering the same script. Formidable calls it "jquery-chosen" and WooCommerce calls it "chosen." There must be a feature in WordPress that unregisters one of those scripts, making it unavailable when WooCommerce trys to enqueue "chosen" later. When I change the naming in Formidable to match the naming in WooCommerce, the Formidable version is always used.

    How would you like to solve the problem?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic