Home Forums WoodMart support forum JS error/bug in Woodmart version 4.0.4

JS error/bug in Woodmart version 4.0.4

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #141091

    Gardar
    Participant

    Hello, I’m setting up a site using Woodmart 4.0.4 and Woocommerce 3.7.0 with an additional plugin called WooCommerce Simple Auction and am getting an JS error when I click the BUY/BID button.

    I have tested the site with several other themes and this error does not happen with any other theme.

    I like Woodmart very much and want to continue using it for this site instead of replacing it with another theme.

    The error seems to happen at line 3971 in the themes functions.js file.

    Can you help me fix this error.

    On clicking the button I get the following error message in my console:

    Uncaught TypeError: Cannot read property ‘indexOf’ of undefined
    at Object.success (functions.js?ver=4.0.4:3971)
    at i (jquery.js?ver=1.12.4:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
    at y (jquery.js?ver=1.12.4:4)
    at XMLHttpRequest.c (jquery.js?ver=1.12.4:4)
    success @ functions.js?ver=4.0.4:3971
    i @ jquery.js?ver=1.12.4:2
    fireWith @ jquery.js?ver=1.12.4:2
    y @ jquery.js?ver=1.12.4:4
    c @ jquery.js?ver=1.12.4:4
    XMLHttpRequest.send (async)
    send @ jquery.js?ver=1.12.4:4
    ajax @ jquery.js?ver=1.12.4:4
    (anonymous) @ functions.js?ver=4.0.4:3924
    dispatch @ jquery.js?ver=1.12.4:3
    r.handle @ jquery.js?ver=1.12.4:3

    #141099

    Gardar
    Participant

    More info…

    #141100

    Eric Watson
    Participant

    Hello,

    Thank you so much for contacting our support center.

    We did not test our theme with this plugin, our theme after AJAX on the product page expects a response notice with text, but this plugin does not return it, because of this an error occurs. Just try to disable the AJAX Add to cart for the single product at Theme settings -> Product page -> AJAX Add to cart
    http://prntscr.com/oz4gk2

    Kind Regards
    XTemos Studio

Viewing 3 posts - 1 through 3 (of 3 total)