Jump to content
lemonline

Difference between 2 XML files - One doesn´t work

Recommended Posts

Hello, this is my first post on the forum, hope you can help me because I´ve been struggling with this for a few months now. I´m also noy very good at coding, so it has been mostly try and error all the way.

I´m exporting an xml file from stock management program, and then importing it to a woocommerce, wordpress site. The file contains around 1600 products, but the importer plugin (wp-all-import) is only reading the first 40 products. BUT! if pass the file trough a XML formater, like this one: https://www.freeformatter.com/xml-formatter.html ... then it reads all the products. So it works but I have to add this manual step, and I like it to be automated. Link to the original file: https://www.dropbox.com/s/qqfyn1ncbux7vrs/Articulos.xml?dl=0

I´m kind of sure it has something to do with the format of the XML. Can anyone look at my original fial an tell me what is wrong with it?

thanks a lot!

 

Share this post


Link to post
Share on other sites

If it stops reading after a certain product, find that last product in the XML file and check the product after it to see if there are any characters or anything which might cause a problem.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...