Add New Fields

You can create new field via user interface too.

For example, I want to export string like “Rain x 4, Lemon x 2, Other product x Qty”,
so I create field using meta key “all_products”

and put following code to section “Misc Settings”

Extra custom fields, meta key must be added via UI, see exact name in code!

Some samples for adding fields via code

Skip to toolbar