Create WooCommerce variations with PHP

I recently had to write some code that imports WooCommerce products with variations from a CSV/TSV file. Here is a snippet that will help you get started.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>