Hello @visnucarr,
if you use the WooCommerce ShipStation Integration plugin, then, according to the plugin’s documentation, you can send two extra custom fields to the ShipStation along with each order.
That can be done by adding the following PHP snippet to your website:
function shipstation_custom_field_2() {
return '_meta_key'; // Replace this with the key of your custom field
}
// 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
}
where “_meta_key” and “_meta_key_2” are the custom fields’ id, which can be configured in the SilkyPress Input Field block’s settings (on the right side of the editor) within the “Id / Name” option.
For example, if your custom checkbox’s id is set to “gift” and your custom textarea’s id is set to “gift_message”, then you should replace the “_meta_key” and “_meta_key_2” strings in the PHP snippet with “gift” and “gift_message”.