Support » Plugin: Ultimate Order Combination » When combining orders stock is a second time reduced after adjusting shipping

  • Resolved reznik123

    (@reznik123)


    Hi,

    Thank you for the great plugin. I however have a question. We use the plugin to combine orders so customers can make multiple orders before receiving the final bill. These orders are automatically set to “on hold” before sending the final bill.

    After combining two or more orders we have to adjust the shipping costs (or add shipping costs depending on which settings are used but the result is the same). When doing so and “saving” the order all items in the combined order go -1 in stock again resulting in a stock problem. Is this something that we do wrong in the settings or a plugin issue?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Fahad Mahmood

    (@fahadmahmood)

    @reznik123 can you please explain with a couple of screenshots or a video recording. What I understand, you are pointing out the wrong stock reduced value and the shipping cost calculation. Although this plugin carefully merges everything but still if you found something, kindly help me to reproduce it so I can fix it.

    Thread Starter reznik123

    (@reznik123)

    Hi Fahad, thank you for your response. To make the problem more visually clear I made a short screen recording, hope that helps.

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    @reznik123 thank you so much for bringing to my attention. I have fixed it in this plugin and in Order Splitter Plugin as well. Your name has been mentioned in the changelog with thank you. Please try the latest version and give your feedback if this issue has been fixed for you.

    Thread Starter reznik123

    (@reznik123)

    @fahadmahmood thank you for the fix! We tested it and all works perfectly now. If other issues arise I’ll be sure to come back but the tests all worked flawlessly. Thank you.

    btw I’ll remove the video now because I saw it contains some customer private data.

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    @reznik123 sure, that video was just to understand the problem. And this problem was not easy to understand from a few lines in the paragraph. Thank you so much for your time and the video recording efforts.

    Thread Starter reznik123

    (@reznik123)

    Hi Fahad, I just received an email from the wordpress build in (fatal)error detection. It has to do with the plugin so I wanted to share this with you:

    Error Details
    =============
    An error of type E_ERROR was caused in line 104 of the file /var/www/vhosts/boonsartshop.com/httpdocs/app/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php. Error message: Uncaught Exception: Invalid order. in /var/www/vhosts/boonsartshop.com/httpdocs/app/wp-content/plugins/woocommerce/includes/data-stores/abstract-wc-order-data-store-cpt.php:104
    Stack trace:
    #0 /var/www/vhosts/boonsartshop.com/httpdocs/app/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(159): Abstract_WC_Order_Data_Store_CPT->read()
    #1 /var/www/vhosts/boonsartshop.com/httpdocs/app/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(116): WC_Data_Store->read()
    #2 /var/www/vhosts/boonsartshop.com/httpdocs/app/wp-content/plugins/woo-ultimate-order-combination/inc/functions-plus.php(716): WC_Abstract_Order->__construct()
    #3 /var/www/vhosts/boonsartshop.com/httpdocs/app/wp-includes/class-wp-hook.php(307): wuoc_bulk_order_splitter->custom_bulk_action()
    #4 /var/www/vhosts/boonsartshop.com/httpdocs/app/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #5 /var/www/vhosts/boonsartshop.com/httpdocs/app/wp-includes/plugin.php(474): WP_Hook->do_action()
    #6 /var/www/vhosts/boon

    I hope it is something you can work with cause it seems like there might be a part from the message missing in the end (#6)….

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    @reznik123 good to see you again, please try the latest version released 1.5.1 with this fix.

    Thread Starter reznik123

    (@reznik123)

    @fahadmahmood I saw the update just 2 hours after I posted this question 🙂 I’ll give it a try and will report back if anything weird happens. Thnx again!

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.