URGENT Recalculate all completed orders cron - Woocommerce
€8-30 EUR
Đã đóng
Đã đăng vào gần 3 năm trước
€8-30 EUR
Thanh toán khi bàn giao
I need help to create a cron job.
I need to recalculate tax on all completed orders.
Somthing like this.
$this->order = new WC_Order($order_id);
// Order back to pending
$this->order->update_status('pending', '<%Your message%>', TRUE);
// Recalculate the order
$total = $this->order->calculate_totals();
// Save it, although the calculate also does it.
$this->order->save();
IMPORTANT - There is 10.000 orders, and the website cant shut down
WP Back-end Developer.
Hi, Hope you are doing well! Thanks for sharing your project requirement with me.
As a highly skilled Full-Stack developer, I can help you perfectly.
I am very confident with my skills and I'd like to help your business by doing my best.
My clients have never been frustrated with my work and I hope to make you one of them.
Please confirm that I am one of the best fits for you and drop me a message for further discussion.
Thanks and Best Regards.
Hello
I have 8 years of experience in PHP, WordPress Plugin Development and theme customization. I am sure i can do your job successfully.
I am available to do this job. I am ready to start to work on it right now. Please send me the details.
Waiting for your response for further.
You can pay me after the completion of the task.
Thanks