To add custom fields to a WooCommerce PDF invoice, install an invoicing plugin such as Challan, then use its Add Order Meta, Add Product…
Channel-spec changes, plugin releases, the occasional deep dive on something we broke.