• The order update button doesn’t work in order admin for some orders.
    In other forums written to disable plugins that conflict with WooCommerce.
    But I think this is not a good manner. Because this happened recently for another reason.
    I can update the order edit form by jQuery with the following:
    jQuery('form#post').submit();
    Is it a good manner to use this script to listen to update button?
    For example if we just use the button itself, does it validate the form at front-end?

    And the other important question is, How to debug this situation. Not the update button nor the form have any event listener.
    But how it can not be submitted with conflicting with other plugins and scripts.

    Another important question is that, Does this form get validated by any script or rules at front-end?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Mohammad Etemaddar

    (@sefid-par)

    Also when I added the jQuery script to listen to save button, did not work for the troubled order.
    But the strange situation is that whenever I’m using element inspector, When I try to select the button by inspector pointer, it submits!!

    Hi @sefid-par,

    To clarify, it sounds like you are talking about this button:

    update-order
    Link to image: https://d.pr/i/qd7ZfT

    This kind of problem is usually caused by a conflict with another plugin. I would highly suggest testing this first.

    The best way to determine if the issue is being caused by a plugin is to temporarily disable all plugins except for WooCommerce.

    If you can install plugins, install Health Check. On the troubleshooting tab, you can click the button to disable all plugins while you’re logged in to that session without affecting normal visitors to your site.

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict.

    I hope this helps!

    • This reply was modified 4 years, 11 months ago by arcangelini.
    Remi Corson

    (@corsonr)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Order Form update buttonnot work. How to debug.’ is closed to new replies.