Do you remember how I wrote about variable product import? This time Marcin surprised us even more by implementing into Dropshipping XML plugin a real killer feature of products import to WooCommerce!
It's about conditional logic, that allows to define very precisely which products should be imported from your supplier's XML file to the WooCommerce store.
Typical problems when importing products to WooCommerce
I have prepared - I hope - a pictorial example to show you what conditional logic is and how it will work when importing part of products out of thousands from an XML file into WooCommerce.
Imagine a typical XML file you get from a wholesaler. It's huge, isn't it?
Thousands of products divided into dozens of categories. All of the products have attributes like producer name. And most of them have variants such as size, colour or type. To top it off, some of the products have zero stock despite being on file.
Let's assume you don't want to import all of them, and you're only interested in importing products that meet these conditions:
- Products are from a single, selected producer,
- They are categorized in two categories,
- Products have a stock level greater than 0.
You estimate that you have about 200 products to import from a file with 5000. Too many to copy&paste them into WooCommerce manually, and not enough to import all the products and then delete the ones you don't want... Dilemmas everywhere!
Solution to products import problems
Into all this mess of importing products into WooCommerce arrives the conditional logic of Droshipping XML WooCommerce plugin. The logic allows you to indicate the values based on which products from the XML file would be imported into your shop.
In the context of our example, the logic settings would look like this:
In the first line you can see the category conditioning -
category_ID. The plugin will search up the XML file for values
81 during import.
In the second line there is a condition for the producer tag -
The plugin will look for tags with the value
BEST BIKES in the file.
In the third line I have placed the tag
@count in which the product's stock is placed. The plugin will only import products that have a
@count value greater than zero.
Each of the above conditions must be met for the plugin to import a product from a file. In this way we will import only the products we want to have in the shop.
For those of you who have persevered and read this far - I can assure you that the above is just one of many possible scenarios of products import to WooCommerce by Dropshipping XML WooCommerce.
The conditional logic in the plugin gives you the ability to decide to import if the XML tags are:
- None empty
- With higher values than in the XML tag
- With lesser values than in the XML tag
- Equal to the value in the XML tag
- Not equal to the value in the XML tag
- Contains (even partially) values in XML tag
- Not contain (even partially) values from the XML tag
To sum all this up - you can configure WooCommerce products import scenario in a very flexible way and import only the products you want to have in your shop, or those for which you specify dedicated settings (e.g. using a different price multiplier). Find more scenarios of WooCommerce products import in plugin's docs and watch the video.
Visit our Demo to try the PRO version of the plugin, or purchase & test it for 30 days.