WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Jim
    Member
    Posted 11 months 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

    l
    c.fireWith
    v.extend.ready
    A

    The error only occurs when Formidable is enabled.

    Any advice is appreciated.

    http://wordpress.org/extend/plugins/woocommerce/

  2. jameskoster
    Member
    Plugin Author

    Posted 11 months 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
    Member
    Posted 11 months 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?

Reply

You must log in to post.

About this Plugin

About this Topic