Hello,
For trying, I have a remote XML file with only one "item" :
<item>
<title>QIDI TECH Large Intelligent Industrial</title>
<description> <h2 class="goodsDescribe_title"> Commentaires de Vidéos Youtube </h2> <h2 class="goodsDescribe_title"> Descriptions </h2> <section class="platformGoodsDesc js-platformGoodsDesc"> <p class="textDescTitle">Principales Caractérisques</p> <p class="textDescContent">Extrudeuse Simple avec ...... </description>
<link>https://fr.gearbest.com/3d-printers--39</link>
<image>https://gloimg.gbtcdn.com/storage/image>
<price>1061.65</price>
<tags>QIDI,Imprimante 3d</tags>
<short-description>Commentaires de Vidéos Youtube Descriptions</short-description>
[.....]
<importWPID>1605884254</importWPID>
</item>
-----------------------------------------------------------------------------
I have added the "importWPID" tag in the "ID" post field tag.
I run the import one time : post is created.
I run the import the second time : new post is created. It's not detected as duplicate post / or update the first post.
ID field isn't used like title to detect duplicate posts and just update fields of the first created one ?
In your video, you say title for duplicates, but we can use ID for detecting duplicates : https://youtu.be/6jBohrOYFSM?t=690
Thank you for your help
Ok I will try again but I think ID check doesn't work.
Importing my XML with one item with an ID:
First manual run : post created
Second manual run : second post created, not updated
It should be updated, not created