Skip to content
E-Commerce

Importing products into an online store with XML

Many online stores import products automatically. We explain the benefits of XML or CSV feeds, what you need for reliable imports and where problems usually arise.

Introduction of products with XML for e-shopIntroducing products via XML is becoming a significant concern for many businesses operating modern e-commerce platforms. With that in mind, we will now describe benefits what does the process have? Introduction of products using an XML file. Or, if using CSV, and what are the disadvantages? Before we begin, however, it’s good to mention a few initial things. These concern the type of file being imported and the platform we’ll use to import the file’s information.

File types for product import

There are two main types (file formats) that we typically use for introducing products into e-shops. The first and most popular type is XML files. (extensible markup language). This type has become the most common way of entering data in recent times. This is because it is the Best in terms of speed Introduction of data. The second type is CSV format files (comma separated values). What are the reasons, however, to choose the XML format instead of CSV?

With XML:

  • You can validate XML data against an XSD
  • You can easily provide contracts (as XSDs) to other parties who need to either create or consume XML data, without them needing to describe it literally.
  • You can have one to multiple relationships across multiple levels in the representation of XML data.

Also, the XML:

  • it is undeniably easier to read than CSV files
  • the framework .NET natively supports it
  • It’s faster because it doesn’t require decompression.

Often, we are not given the option to choose the file format we want to use. Therefore, we use whatever format the supplier provides when importing products into our site.

What is the process for importing an XML file into the e-shop?

The process begins with asking your supplier if they support exporting their products in XML or CSV format. Then, depending on the type of shop you have, you need to install the appropriate plugin to import the products into your e-shop. Within this plugin, you’ll need to perform the correct mapping (see below). Furthermore, you should configure the settings so that the products are recorded correctly and function as you desire, such as by selecting the times for product import and their subsequent updates.

What does an XML file contain?

Introduction of products with XML for e-shopIn the above image, we see a piece of XML This contains a few lines. Each line serves a piece of information that we and the system for entering our products need, in order for the product to be registered in the e-shop. For example, the product name and its price. However, these pieces of information also have a field name. This must correspond to the correct field that our site uses in the database. This process matching of the fields of the XML with these from our site, it is said Mapping.

Depending on the platform (CMS) we use, these fields have different names within their database. Some of these platforms include WordPress/WooCommerce, Presta Shop, OpenCart, and Magento. Therefore, we encounter some challenges when entering products into the e-shop using XML.

Another common problem that can arise is that the supplier does not provide all the necessary fields. This results in products not being recorded correctly and successfully.

Benefits from introducing products to an e-shop

Somewhere here, we need to start thinking about why we should consider introducing our products through XML in an e-shop, rather than the traditional method we’ve been using until now. Let’s examine this one by one.

It’s easy to understand that an automated process is undeniably faster, but is it always better? Let’s take a look.

Introducing products via XML into our e-shop offers the following benefits:

1) Speed in comparison to creating items one at a time, manually filling out the “form” that each platform has with the details of each product.

2) It costs less When we are dealing with a large volume of data that needs to be recorded.

3) We can have one, two, or even three renovations to automatically retrieve the supplier’s inventory from the XML, as well as changes in prices, Whenever they arise.

As you’ve already understood, this is precisely what you’ve been looking for. However, automated processes also have their flaws and difficulties.

  • It needs to be done Correct matching Regarding the XML fields. If these aren't configured correctly, the products won't be created properly, and we won't achieve the desired result.
  • This process needs to be carried out in Correct times and with me correct way so that we don’t consume excessive server resources, and thus prevent the website from slowing down for users – and, as a result, potential customers.
  • The XML files typically require fast and efficient servers to handle the volume of data that needs to be recorded.

As a conclusion, based on the above, the process for importing products from XML is faster, easier, and less expensive compared to manual product entry. There are certainly advantages and disadvantages, but with the appropriate technical support and a correct XML file, products can typically be entered successfully.

Cost of importing products from a supplier using XML

The cost of registration depends entirely on the difficulty of a specific XML file, as well as the platform on which we want to import our products. For example, at OBS Technologies, the cost for importing products from a supplier via XML or CSV is €300 per file. However, this is an indicative price, specifically for WooCommerce; the price may vary on other CMS platforms.

However, the cost of importing products from XML cannot be compared to the cost of manual import. Especially if you consider that the best offer you can find for product listings is €1.50 per product – and only if you have all the necessary information about the product.

If your suppliers send you price lists in Excel, XML, or PDF format, one AI agent for importing a catalog it can be added to their e-shop as temporary items. For feeds to Skroutz, BestPrice, and other marketplaces, see Comparison of XML feeds for WooCommerce. If your products are already in ERP, please see Integration of WooCommerce with Pylon or me Galaxy.

Relative plugin

WooCommerce XML Feed for Skroutz & BestPrice

Create and automatically update XML feeds for Skroutz and BestPrice in WooCommerce. Includes field mapping, availability rules, filters and Quick Test Export.