• Resolved alvaroms

    (@alvaroms)


    Dear Support,

    I find this plugin very usefull to clone orders.

    However, when I clone an order, I do not want to fire inmediately all emails.

    Unhooking those would be complicated.

    Therefore, is it possible to define an order status for the cloned orders, in whic h we do not fire any emails?

    I believe that this is sth available for split orders, but not for cloned, which would however be a versatile feature which would adapt to many different workflows.

    Looking forward to your advice on this.

    Alvaro

Viewing 4 replies - 1 through 4 (of 4 total)
  • Dear @alvaroms,

    Unhooking those would be complicated.

    Can you explain how unhooking would be complicated?

    I believe that this is sth available for split orders, but not for cloned, which would however be a versatile feature

    We have noted this feature request and will work on it in upcoming versions.

    Thread Starter alvaroms

    (@alvaroms)

    Hello,

    yes, we would like to avoid conditional email sending.

    Easier would be, could you let me know the part of the code of your plugin where you clone the order status?

    We would like to change that fragment to manually define the order status of cloned orders.

    Thanks!

    Alvaro

    We have noted this scenario and will add a checkbox for this purpose in upcoming versions. New order is created wherever wp_insert_post is being used and email triggers after every new order created. Here you can use do_action or remove_action as per your requirement.

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    @jonathan972 thank you for the guidelines, wp_insert_post() is actually creating new orders and certainly triggering the new order email. Just before actions can be removed and immediately after can be added again.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Order Status after CLONE’ is closed to new replies.