WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
jQuery repeat issues -- appear to be woocommerce related (9 posts)

  1. abdada
    Member
    Posted 9 months ago #

    Latest version of WordPress
    Latest version of Woocommerce
    Latest version of ALL Woothemes-developed plugins
    Latest version of Gravity forms

    No matter what I do, I can not get Gravity Forms to show up due to repeated and various Javascript console errors:

    Uncaught TypeError: Object [object Object] has no method 'on' single-product.min.js:1

    or

    Uncaught TypeError: Object [object Object] has no method 'on' single-product.min.js?ver=2.0.14:1

    or

    Uncaught TypeError: Object [object Object] has no method 'on' addons.js?ver=1.0:5

    I've disabled all plugins but the ones listed -- changed themes (I was running Sentient and Canvas and both refused to work), reinstalled Woocommerce and plugins, etc.

    Can not track down the culprit -- and paying for Gravity Forms Add-on AND a Gravity Forms license (both which are supposed to work with Woothemes and Woocommerce) has been a big waste of money so far.

    I moved ALL my Gravity Forms testing to this one page: http://www.7bucktees.com/shop/test/

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

  2. abdada
    Member
    Posted 9 months ago #

    The other plugin I am running is Woothemes' Global Product Add-ons: I want to get Gravity Forms running so I can replace Global Product Add-ons completely since it's useless junk on a site with lots of customizations.

  3. abdada
    Member
    Posted 9 months ago #

    The other plugin I am running is Woothemes' Global Product Add-ons: I want to get Gravity Forms running so I can replace Global Product Add-ons completely since it's useless junk on a site with lots of customizations.

  4. vark
    Member
    Posted 9 months ago #

    Hi,
    It was unclear to me from your summaries if you had tried the basic debugging technique of turning off *all* plugins except woocommerce itself, going to the 2012 theme, test - then enliven one element at a time, retest, etc... ? Also, as you roll plugins back in, I'd think that starting with the big ones first (gravity, etc) would be the preferred method.

  5. abdada
    Member
    Posted 9 months ago #

    Since the Woothemes Gravity Forms Add-on requires both Gravity Forms and Woocommerce to function, I left those active and disabled everything else. Same issue.

  6. vark
    Member
    Posted 9 months ago #

    Hi,
    If you could describe your exact testing more completely, that'd be a help. For example, have you tried 2012 + woo + gravity (test), followed by adding the gravity forms add-on?

  7. abdada
    Member
    Posted 9 months ago #

    Tomorrow I will disabled everything including my Wootheme and go as basic as possible and report back!

  8. abdada
    Member
    Posted 9 months ago #

    While taking the train in this morning, I found that the forms DO DISPLAY from my Android browser (Android Chrome) -- but don't display on my desktop browser (Chrome, latest version). Curious.

    Deactivating the "WooCommerce - Gravity Forms Product Add-Ons" causes the form to not display at all on my test item page -- the Javascript Console errors do disappear, but that doesn't mean much since the form won't display anyway.

    I definitely do not have Javascript disabled on my browsers.

    Here's what I have running right now and it displays successfully:

    2012 + Woocommerce + Gravity Forms + Gravity Forms Add-Ons

    Appears that almost EVERY theme from Woothemes fails to display the Gravity Forms. I've downloaded and tried 5 different Woothemes and no form. Switch to 2012, form displays fine.

    Gravity Forms blames the Woothemes, but I know people are using it so my next step is to create a totally clean dev site with nothing on it at all and just upload the basics + theme and see WTF is going on. I even disabled all child theme modifications (basically the most barebones possible) and still no forms.

  9. abdada
    Member
    Posted 9 months ago #

    After many days of beating things up and testing things out, our dev team decided to go through ALL included code, file by file, page by page.

    Ends up the fault *IS* Woocommerce, but not exactly.

    Under Woocommerce > Settings > Integration > ShareYourCart, there's an option to add ShareYourCart functionality within Woocommerce. We always had this one because it's great for social network marketing.

    Guess what the idiots at ShareYourCart do? Yes, they call Jquery 1.6.2 from their code. Without any fallback to newer versions.

    I dumped ShareYourCart integration, and the forms show up regardless of theme.

    So it wasn't a plug-in, per se, it was faulty code that Woocommerce includes without any concern for monitoring what they include. Shame on Woothemes for this grave error and bad judgment. Including bad code in good code is grounds for dismissal, but I love Woocommerce so I can't fire them.

    Yet.

Reply

You must log in to post.

About this Plugin

About this Topic