Have export include order item id meta data
-
Hey guys!
thanks for the great plugin. Ive recently come to learn of the “Order Item ID” and realized if woocommerce could send this so shipstation was able to make use of it, this would save immense hours (as we have different tracking #s for diff items, and some even ship from diff places)Would the code below (inserted into the theme functions.php be the place to make this happen? Im very limited in coding ability but from what ive read this should be do-able:
// This is for custom field 3
add_filter( ‘woocommerce_shipstation_export_custom_field_3’, ‘shipstation_custom_field_3’ );function shipstation_custom_field_3() {
return ‘_meta_key_2’; // Replace this with the key of your custom field
}is there anyone who can mod that code and let me know if what i read from shipstation is on the right path, if i am tryin to get each items ‘unique item id #’?
thanks in advance!
- The topic ‘Have export include order item id meta data’ is closed to new replies.