• Resolved atoweb

    (@atoweb)


    Hello

    I have to insert over a million products from XML files.
    I have a script using WC_Product_Simple() , set_name(), set_description(), add_meta_data() etc.
    But this script only imports 5 products/minute. It would take months…
    It is only the insertion part that is slow, reading the XML is very fast.

    So I wonder if it wouldn’t be more efficient to directly insert the products in mysql without using WooCommerce functions?
    If so, how to do it ? What would be the table schema?

    Thanks for your help !

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Insert products directly into mysql’ is closed to new replies.