• Resolved dankuwp

    (@dankuwp)


    Bit of a strange one this. I have a Woocomerce installation that I have been using a couple of the more well known order import plugins to bring in orders via CSV.

    The data imports fine until the ‘resend new order notification’ or ‘update’ (without any changes) is pressed. It then deletes the stored values in wp_postmeta, both _order_total and _order_tax it seems.

    The plugin authors are a bit stumped as they can;t repeat the behaviour. I’ve basically deactivated all plugins bar Woo and the import plugin and using the default theme. I’ve even imported an order, deactivated the import plugin, and repeated the process and Woo still messes with the stored variables.

    I’m wondering why there is even a reclaculation done on these two actions as re-sending an email notification shouldn’t trigger any sort of recalc or integrity check…unless it somehow does? 🙂

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

    (@babylon1999)

    Hello @dankuwp,

    Bit of a strange one this. I have a Woocomerce installation that I have been using a couple of the more well known order import plugins to bring in orders via CSV.

    The data imports fine until the ‘resend new order notification’ or ‘update’ (without any changes) is pressed. It then deletes the stored values in wp_postmeta, both _order_total and _order_tax it seems.

    Debugging third-party plugins is not within our scope of support I’m afraid but one thing you might find useful is using a plugin like Query Monitor to get a better idea on how these values are being deleted from the database.

    You can also enable WordPress logging or check the server logs.

    Cheers!

    Thread Starter dankuwp

    (@dankuwp)

    Thanks for this.

    It’s not really debugging the third party plugin as they’ve pointed me to Woocommerce saying it is potentially an issue (at least that affects me) with Woocommerce updating the imported data. I only wanted to know if those two aforementioned processes trigger known Woocommerce processes that may account for an update of stored data.

    I will endeavour to get the answer from your two suggestions, DIY-style!

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

The topic ‘Imported order values being recalculated when order notification sent or updated’ is closed to new replies.