I am looking for some code as described in the FAQ where some metadata is removed from the invoice.
The add-on “kaartje” needs to be removed form the invoice.
I contacted the add-on from woocommerce and they mentioned the data is saved in the table wp_woocommerce_order_items.
The response from them:
Okay, so as I mentioned the products purchased in the order are stored in the database table called wp_woocommerce_order_items: https://d.pr/i/IDI54n And then Product Add-Ons for these products are in another table called wp_woocommerce_order_itemmeta The meta_key is the same as addon name So in my case, I have a field called Gift Note, and the meta_key is also the same: https://d.pr/i/imXK8w
Could you asssit me to hide this certain item from the order when the invoice is created?
The page I need help with: [log in to see the link]
- The topic ‘Remove woocommerce product add on from invoice’ is closed to new replies.