• Resolved reyneli

    (@reyneli)


    Hello,
    I had implemented jquery code that shows a message when quantity input field changes in the product page. After last woocommerce update it doesn’t seem to work.

    Trigger code:
    $(‘[name=quantity]’).on(‘input change’, function() {
    console.log(“test”);
    }).change();

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Hi there 👋

    Could you please try with the following one and let me know if that works for you (it worked for me)?

    jQuery('[name=quantity]').on('input change', function() {
    console.log('test');
    }).change();

    Cheers! 🙂

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    We’ve not heard back from you in a while, so I’m marking this thread as resolved.

    Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

    Cheers!

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

The topic ‘Jquery event quantity change after update’ is closed to new replies.