• Resolved the10thpower

    (@the10thpower)


    Hi There,

    Thank you for the great plugin!
    Is there a way I can mark processing orders as completed instead of delivered orders?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author MS Web Arts

    (@mswebarts)

    Hi,

    Thank you for contacting us. Glad to know that you are happy with Order Approval by Customer for Woocommerce.

    We tried to keep the plugin very simple and lightweight. So, we don’t have an options panel to configure this type of setting. But I am considering adding customization settings to the plugin in one of the future updates.

    For the time-being, you may need to edit the plugin code to make this happen. If you are using the latest version of the plugin, please replace the whole line 92 with this

    if ( ( ( $order->has_status( ‘delivered’ ) ) && ( !isset( $_POST[‘mark_as_received’] ) ) ) || ( $order->has_status( ‘processing’ ) ) && ( !isset( $_POST[‘mark_as_received’] ) ) ) {

    Please don’t cut “?>” in that line. I have tested this code and it works perfectly for showing the Mark as Delivered button for processing orders.

    Please create a backup of the website before making this change so that you can restore it if something happens while replacing the code. You may use All in One WP Migration plugin to take the backup.

    Let me know how it goes.
    Thank you.

    Thread Starter the10thpower

    (@the10thpower)

    Worked very well thanks!

    Although, it showed a “Use of undefined constant” error, just replaced the brackets (‘) to (“) in your code.

    This plugin deserves a 5 star 🙂

    • This reply was modified 2 years, 8 months ago by the10thpower.
    • This reply was modified 2 years, 8 months ago by the10thpower.
    Plugin Author MS Web Arts

    (@mswebarts)

    I am glad that this plugin is being helpful to you. I will keep improving and adding new features to the plugin.

    Thank you for the 5-star rating!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change from processing to completed instead’ is closed to new replies.