Send Custom Data as Line Item in Shipstation.
-
Hello,
I have below code to add Custom Details as Order Line Items in woocommerce
add_action( 'woocommerce_checkout_create_order_line_item', 'wdm_add_custom_order_line_item_meta',10,4 ); function wdm_add_custom_order_line_item_meta($item, $cart_item_key, $values, $order) { if(array_key_exists('wdm_name', $values)) { $item->add_meta_data('_wdm_name',$values['wdm_name']); } }
The custom details are currently recorded and added in my Woocommerce Admin Order Page. But these Custom details are not visible in Shipstation. Is this something that you can assist me?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Send Custom Data as Line Item in Shipstation.’ is closed to new replies.