Home Forums Plugins WooCommerce Cart All in One Have to click ‘add to cart’ button twice before item is added

Have to click ‘add to cart’ button twice before item is added

  • Author
    Posts
  • #107524

    Ed Stack
    Participant

    Hi,

    I just purchased and uploaded the plugin on our wordpress site and I have run into a couple of issues.

    1) When I click on the ‘Add to cart’ button nothing happens and this javascript error appears in the browser.

    “Uncaught TypeError: Cannot use ‘in’ operator to search for ‘length’ in attribute_pa_size=12&quantity=1&add-to-cart=28896&product_id=28896&variation_id=28899”

    When the user clicks the ‘add to cart’ button a 2nd time it works fine

    2) When I disable the sidebar cart icon and add the class of the ‘Add to Cart’ button in order to open the sidebar cart content it opens but the item I am attempting to add is not being added.

    Can you please help with these issues?

    Thanks,

    Ed

You must be logged in to see replies to this topic. Click here to login or register