Adding customs fields on each product on the cart September 8, 2022 by Tarik Billa check out this link. It will help you. follow it. It is quite simple https://pluginrepublic.com/add-custom-fields-woocommerce-product/#add-woocommerce-custom-fields-programmatically