Plugin Author
Pete
(@helvetian)
Hi there,
yes, the export file contains all the data contained in a standard WP export, including the <wp:post_parent> field.
If your post ID’s have changed you will likely end up having attachments ‘attached’ to the wrong posts/products. It will ‘bollock things up’.
What you could do is do a search/replace in the export file, assigning 0 to every <wp:post_parent> (<wp:post_parent>0</wp:post_parent>). That will import the attachments without attaching them to a post. Still, you would have to re-attach all the featured images, galleries, product images and so on.
HTH
PS: Which WooTheme importer extension did you use?
Thread Starter
kb0wwp
(@kb0wwp)
Thanks. I’ll probably write a function to go through the huge file and compare the URL to the imported product, get the new ID, and replace the parent ID in the import file.
I used WOOEXIM – WooCommerce Product Export Import Plugin (http://codecanyon.net/item/wooexim-woocommerce-product-export-import-plugin/10058191)
BTW, thanks for the plugin, it will save an unimaginable number of hours of work.
Plugin Author
Pete
(@helvetian)
You’re welcome. Let me know if you need help with that function.
Cheers