Export Products from WooCommerce V3.5+
This task will export products from your WooCommerce store to an XML file.
Settings
Connection
Required
The WooCommerce connection to use. See the WooCommerce V3.5+ Connection article if you require more information on how to create/manage connections.
Export Setting > Date Created
Required
The date to export products from when the task is set to export new records. Updates automatically each time a product is exported.
Export Setting > Date Modified
Required
The date to export products from when the task is set to export modified records. Updates automatically each time a product is exported.
Export Setting > Export Modified, New or All Records
Required
Choose which products should be exported from WooCommerce. The available options are:
- Modified - Exports new and modified products since the date shown in the Date Modified setting.
- New - Exports new products since the date shown in the Date Created setting.
- All - Exports all products.
Export Variations
Required
Set to true to export the product variations associated with each variable product.
Page Size
Required
The number of products to export per page. Increasing this value will speed up the export, but will consume more memory. Defaults to 10.
Record IDs
Optional
Enter a comma separated list of IDs of specific records to export. This will override the Export Settings.
Output File
Required
The name of the XML file to export the products to. Defaults to 'woo_commerce_products.xml'.
Zynk Settings
See Common Task Settings.
Examples
Sample output file:
<?xml version="1.0" encoding="utf-8"?>
<products xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<product>
<id>8</id>
<date_created>2017-05-22T16:37:29</date_created>
<date_created_gmt>2017-05-22T15:37:29</date_created_gmt>
<date_modified>2019-09-18T14:42:12</date_modified>
<date_modified_gmt>2019-09-18T13:42:12</date_modified_gmt>
<name>Test product</name>
<slug>test-product</slug>
<permalink>http://cerulean:8080/wordpress-no-ssl/product/test-product/</permalink>
<type>simple</type>
<status>publish</status>
<featured>false</featured>
<catalog_visibility>visible</catalog_visibility>
<description><p>Test Product</p>
</description>
<short_description><p>Test Product</p>
</short_description>
<sku>TEST001</sku>
<price>20</price>
<regular_price>20</regular_price>
<sale_price xsi:nil="true" />
<date_on_sale_from xsi:nil="true" />
<date_on_sale_from_gmt xsi:nil="true" />
<date_on_sale_to xsi:nil="true" />
<date_on_sale_to_gmt xsi:nil="true" />
<price_html><span class="woocommerce-Price-amount amount"><span class="woocommerce-Price-currencySymbol">&pound;</span>20.00</span></price_html>
<on_sale>false</on_sale>
<purchaseable xsi:nil="true" />
<total_sales>2</total_sales>
<virtual xsi:nil="true" />
<downloadable>false</downloadable>
<downloads />
<download_limit>-1</download_limit>
<download_expiry>-1</download_expiry>
<external_url />
<button_text />
<tax_status>taxable</tax_status>
<tax_class />
<manage_stock>true</manage_stock>
<stock_quantity>100</stock_quantity>
<stock_status>instock</stock_status>
<in_stock>true</in_stock>
<backorders>no</backorders>
<backorders_allowed>false</backorders_allowed>
<backordered>false</backordered>
<sold_individually>false</sold_individually>
<weight xsi:nil="true" />
<dimensions>
<length>1</length>
<width>2</width>
<height>5</height>
</dimensions>
<shipping_required>true</shipping_required>
<shipping_taxable>true</shipping_taxable>
<shipping_class />
<shipping_class_id>0</shipping_class_id>
<reviews_allowed>true</reviews_allowed>
<average_rating>0.00</average_rating>
<rating_count>0</rating_count>
<related_ids>
<related_id>15</related_id>
<related_id>10</related_id>
</related_ids>
<upsell_ids />
<cross_sell_ids />
<parent_id>0</parent_id>
<purchase_note />
<categories>
<category>
<id>15</id>
<name>Uncategorised</name>
<slug>uncategorised</slug>
</category>
</categories>
<tags />
<images>
<image>
<id>28</id>
<date_created>2018-09-07T13:48:52</date_created>
<date_created_gmt>2018-09-07T11:48:52</date_created_gmt>
<date_modified>2018-09-07T13:48:52</date_modified>
<date_modified_gmt>2018-09-07T11:48:52</date_modified_gmt>
<src>http://cerulean:8080/wordpress/wp-content/uploads/2017/05/screenshot.png</src>
<name>screenshot</name>
<alt />
<position>0</position>
</image>
</images>
<attributes />
<default_attributes />
<variations />
<grouped_products />
<menu_order>0</menu_order>
<meta_data />
</product>
</products>