Hi @gabrielefortunato,
I have a quick question, how do I Import the ID of a Woocommerce simple product ?
Do you mean the Post ID for the product: https://d.pr/i/wakJkP? If so, I’m afraid it’s not possible to define that ID during an import or when manually creating products.
If you need to reference the products by old IDs, you can import them into a custom field and then query the products by that field.
OK, thanks.
Out of curiosity, do you know why when I create new products with your plugin (vs WC Product Import) the ID increase by 2 units for each product ? (Product A: ID 1; Product B: ID 3, …5, 7, etc) ?
Thank you
Hi @gabrielefortunato,
Out of curiosity, do you know why when I create new products with your plugin (vs WC Product Import) the ID increase by 2 units for each product ? (Product A: ID 1; Product B: ID 3, …5, 7, etc) ?
Are you importing 1 image per product? If so, that would explain it because images are also saved in the database with a post ID. So, it would be like this:
Product A: ID 1, Image for Product A: ID 2.
Product B: ID 3, Image for Product B: ID 4.
Product C: ID 5, Image for Product C: ID 6
Yes, brilliant.
That’s the case.
Thank you