Fetch ‘order number’ from $order object
-
Hello,
I am working in a custom code and I need to Fetch ‘order number’ from $order object when the order is processed.
I use this line of code ‘$idPedido = $order->get_id();‘ but I get the default order number but not the new order number generated by this plugin.
Can you please help me with this?
Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Fetch ‘order number’ from $order object’ is closed to new replies.