I have a Woocommerce install for Wordpress. we have about 45 products with hundreds of variations that sometimes change and are exported from a database daily.
Is it possible to call the Woocommerce import function via php? I'm trying to get a cron job to import a specific file every day and update/create products. the same way as the importer in the admin panel works.
I have tried to use the automattic Woocommerce api, but that's extremely complex. I would mean that I would have to rewrite the whole import script from scratch.
I also looked at paid modules like import suite. But none seem to do what I'm looking for.