Support » Plugin: Woocommerce CSV importer » [Plugin: Woocommerce CSV importer] Including 'external' product_type

  • Resolved ch1n3s3b0y


    Hi all

    I’m trying to set the product type as ‘external’. I’ve managed to add the product_url to the import, however I am struggling with setting the product_type as external. Does anyone know how this can be done?

    So far I added

    update_post_meta( $post_id, '_product_url', $data[14] );

    to line 132. Struggling to figure out how to set the product_type though.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author allaerd


    External product is part of a different taxonomy. It’s not a meta thing. I’ll try to check it out an add it to the plugin!

    Plugin Author allaerd


    If you add

    wp_set_object_terms( $post_id, 'external', 'product_type');

    below row 136

    than you have youre self an external product. I’ll add this in the next version!

    Glad I found this message, was looking for this feature. When is the next version coming?



    Very interested in thi feature as well. When is the next version coming?

    Until then could someone help me with all the changes that has to be made to get it to work on the current version?


    Where does one have to insert the codes mentioned above to get it to work?
    What file? I tried adding it to the woocommerce-csvimport.php, but that did nothing.

    Thanks in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Woocommerce CSV importer] Including 'external' product_type’ is closed to new replies.