Woocommerce simple products to product_variation
Is there any plugin or script to convert the simple product to variation product and assign it to the parent product. As far as I check each variation product creates as a post, with
- post_type – product_variation
- post_parent – Variable product id
- attribute_pa_ – Post meta with attribute
- _product_attributes – Attribute in parent product
Can I update this attribute it will be a proper way? or there is any better solution?