• Resolved oborvanec

    (@oborvanec)


    On the page we’ve got a form to subscribe on a notification about arrival of currently an out-of-stock product. When an user selects the desired color of the product the Add to cart button changes to Add to my wait-list button. When the button is pressed a popup appears which contains an email text input field, 2 checkboxes (acceptance of the privacy policy and to receive promotional emails) and the submit button. All the input/checkbox fields are obligatory.

    Then when all the fields filled/checked and the submit button is pressed it should fire ajax request normally. But sometimes the request fails (go .error way without doing remote ajax request). For example my colleague can’t submit the form in Chrome browser and I can’t submit it in Firefox, though in a private window it works fine in Firefox.

    Other case: when I check only one checkbox, then press the submit button I get a notification that the other checkbox must be checked too. After I check it and then press the submit button the ajax request fails.

    Disabling the Cleantalk Anti-Spam plugin solves the problem. Removing this file ‘cleantalk-spam-protect/js/apbct-public-bundle_gathering.min.js’ from loaded static assets also solves the problem. Obviously the file code somehow interrupts the ajax request and make it to fail. Things are very complicated in apbct-public-bundle_gathering.min.js file so I failed to track the reason myself. Hope you can help guys.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.