I'm using WP User Frontend Pro and WooCommerce on my site. Created custom add product form to my site and it almost works perfectly. All my products should virtual and checked my DB, its meta key name "_virtual" and value should be "yes"
So I added a hidden field in my form and its values:
meta key: _virtual value: yes
When I submit the form, all other fields are updated while this one is not. (E.G. If I write
virtual as a meta key, it works but of course Woocommerce does not detect it.)
I can't find a clear source about it on the internet either. Does anyone have any ideas on this?