convert woocommerce attribute into variables

Job ID: 34421329

Budget: $10 – $30 CAD

Need someone to create a script to convert woocommerce attribute into variables automatically.

When creating a product and attributes are present for that product to have it automatically change simple product to variable and update product with variable option on woocommerce. I dont want to go through 500 products alreay published with attributes through creating variable manually.

I need product with attributes to automatically add to variable with regular price added to variable color etc per product.

https://drive.google.com/file/d/12LHbJ2scAQt-6Umo-L-WHFuXGPCmjiSk/view?usp=drivesdk

If it helps, I use external importer plugin....... if easier to create a parse file like this below or add to this file as it automatically pulls options like color strength etc from other ecommerce website but converts them to attributes on wordpress. I need it to take those attributes and make them as variable for woocommerce in once step.
Related categories: PHP JavaScript WordPress MySQL WooCommerce