how to add some information in new order
-
i want to ask, how to add some information in new order in woocommerce,
because only order_id and status
public function wc_new_order($order_id){
$order = new WC_Order($order_id);
$this->sms->to = array( $this->options[‘admin_mobile_number’] );
$template_vars = array(
‘%order_id%’ => $order_id,
‘%status%’ => $order->get_status(),
‘%order_number%’ => $order->get_order_number(),
‘%example%’ => $order->get_example(), or what..?
thanks before ??
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘how to add some information in new order’ is closed to new replies.