Home Forums WoodMart support forum Error when adding a variable product from a category to the cart

Error when adding a variable product from a category to the cart

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #245674

    sim0n
    Participant

    Hello!
    I get an error in the console when I try to add a product to the cart from a category:
    add-to-cart-variation.min.js?ver=4.7.1:1
    Uncaught TypeError: Cannot read property ‘length’ of null
    at t.isMatch (add-to-cart-variation.min.js?ver=4.7.1:1)
    at t.findMatchingVariations (add-to-cart-variation.min.js?ver=4.7.1:1)
    at HTMLSelectElement.<anonymous> (add-to-cart-variation.min.js?ver=4.7.1:1)
    at Function.each (jquery.js?ver=1.12.4-wp:2)
    at n.fn.init.each (jquery.js?ver=1.12.4-wp:2)
    at HTMLFormElement.t.onUpdateAttributes (add-to-cart-variation.min.js?ver=4.7.1:1)
    at HTMLFormElement.dispatch (jquery.js?ver=1.12.4-wp:3)
    at HTMLFormElement.r.handle (jquery.js?ver=1.12.4-wp:3)
    at Object.trigger (jquery.js?ver=1.12.4-wp:3)
    at HTMLFormElement.<anonymous> (jquery.js?ver=1.12.4-wp:3).

    #245708

    Hello,

    Thank you for choosing our theme and for contacting us.

    Please deactivate all the plugins not related to the theme and switch the parent theme, check the issue, If the problem has gone, activate the plugins one by one, checking the issue to detect which one causes the problem.

    if the problem remains, even after the plugins deactivated leave the plugins deactivated for us to check and provide your site admin access to the private area.

    Best Regards

    #245962

    sim0n
    Participant

    Plugins have been deactivated, the problem persists

    #246127

    Hello,

    Please make the full backup of your site as well as the Theme settings export and check the issue on the Storefront theme to detect if our theme causes the problem. Storefront is a free theme developed by Woocommerce.

    Best Regards

    #246131

    sim0n
    Participant

    I checked on storefront theme, no errors occur there

    #246373

    sim0n
    Participant

    Problem still exists, tell me what to do, please

    #246406

    Hello,

    We have switched to the Storefront and see the same error. http://prntscr.com/vtctyg

    This error is not caused by our theme, please check your plugins once more.

    Best Regards

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