Forums
Home / Plugin: OneClick Chat to Order / include order number
(@ecappmaker)
4 years, 6 months ago
Hi How can in include order number with order details
(@manlinex)
4 years, 5 months ago
Yes it can be done by below code change in wa-button.php.
1- Search for isset ( $order ) and add below code under this IF condition
$order_num = $order->get_order_number(); $message.=” for order number : “.$order_num.”\r\n”;
(@lufasa)
Hello @manlinex, This code didn’t work for me.
Error: https://ibb.co/r6tGGpB Code: https://ibb.co/7gppGsd
Could you (or someone) help me?
@lufasa I couldn’t see where have you put the code in attached code section .just put the provided code under of condition .this work fine for me .attach the updated code
(@reichlich)
4 years, 4 months ago
Hello. That is great
DO you know how can I Show Product Categories in WhatsApp messagges)_
Thanks
(@walterpinem)
4 years, 1 month ago
Hi guys.
The options to include order number and its label have been added in the latest update. Please update and test it.
I’m marking this topic as resolved. If you’re having another issue, please don’t hesitate to open a new topic.
Best regards,