Custom fields to add more info about the order when marking an order as fulfilled

Want to have additional fields on order fulfillment page so we can record which truck was used to deliver the product.

See image:

Hi,

You should use a metafield for this. You can create new order metafields from your admin settings.

Once created it will appear on the order page for you to enter the information.

You can’t add metafields directly to fulfillments but you could use something like a json metafield to match fulfillment ids to truck numbers. Not ideal but a good workaround.

you could use something like a json metafield to match fulfillment ids to truck numbers.

Thanks! Can you explain more about this?

So you could create an order metafield with type ‘json’ and then enter the value on each order like

[{

“fulfillment_id”: “123456”,

“truck_number”: “1”

},

{

“fulfillment_id”: “123456”,

“truck_number”: “2”

}]

Again not ideal - but it’s a way to have the information attached to the order

Why use json type rather than regular text field with set options? This seems more convenient.

@bensash Yeah would be easier but how do you link it to a fulfillment?