Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ben Sonley

    (@bendancingbadger)

    Not sure this is of use, but had a similar issue with custom bulk actions on the orders page were not picking up the checked orders. I found since the WP7.1 and WC 11 updates that bulk-action selector needs a small change.
    If you have an admin js file(s) from theme of third party plugins that has a similar line to:
    var checked_orders = $('tbody th.check-column input[type="checkbox"]:checked');
    then change it to:
    var checked_orders = $('tbody .check-column input[type="checkbox"]:checked');

    This worked for me on 2 websites using custom bulk-actions ( like pick lists or labels)
    Hope that helps

    • This reply was modified 2 days, 1 hour ago by Ben Sonley.
    Ben Sonley

    (@bendancingbadger)

    Not sure this is of use, but had a similar issue with custom bulk actions on the orders page were not picking up the checked orders. I found since the WP7.1 and WC 11 updates that bulk-action selector needs a small change.
    If you have an admin js file(s) that has a similar line to:
    var checked_orders = $('tbody th.check-column input[type="checkbox"]:checked');
    then change it by removing the th:
    var checked_orders = $('tbody .check-column input[type="checkbox"]:checked');

    This worked for me on 2 websites using custom bulk-actions ( like pick lists or labels)
    Hope that helps

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