Custom Fields Not Importing
-
I have the following code in my functions.php file:
// Custom Fields 2 to ShipStation add_filter( 'woocommerce_shipstation_export_custom_field_2', 'shipstation_custom_field_2' ); function shipstation_custom_field_2() { return '_order_item_wh'; // Warehouse ID } //Custom Field 3 add_filter( 'woocommerce_shipstation_export_custom_field_3', 'shipstation_custom_field_3' ); function shipstation_custom_field_3() { return 'po_number'; // Customer PO Number } //End Custom Fields to ShipStation
However, only custom field 3 is importing. I also duplicated custom 3 into custom 2 and still nothing shows. Here’s an example output:
<CustomField1>
<![CDATA[ ]]>
</CustomField1>
<CustomField2>
<![CDATA[ ]]>
</CustomField2>
<CustomField3>
<![CDATA[ 102822A ]]>
</CustomField3>`Any assistance will be greatly apprecaited!
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom Fields Not Importing’ is closed to new replies.