You will need to create the feature that allows user to change the order status (and be sure the user is the order owner). Then you can create a new status called ‘confirmed-by-user’ and change the order status to this new one.
$order = new WC_Order($order_id);
$order->update_status(‘confirmed-by-user’, ‘order note here’);
Thread Starter
sybn
(@sybn)
Hi,
How can I create the feature you are talking about?
If I add these codes will it be what I want? Where should I add these codes?
I don’t have much coding knowledge.
Please note that the feature you are requesting is not related to the plugin’s functionality. We highly recommend that you avoid making any changes to the plugin files if you do not have coding knowledge. Attempting to do so could cause your website to break. We suggest hiring someone with coding expertise instead. Thank you