Skip to content

Export Products from Prestashop

This task will export customers from Prestashop in an XML format. The results can be filtered if required. See below for a sample output file.

Settings

Export Detailed

Optionally download a more detailed version of the record

Filter Settings

Export All

True: All records will be exported, regardless of when they were created or updated. False: Records will be exported based on Export From date and any Filters that have been specified.

Export From

The date to begin exporting records from. This date will update automatically each time the task runs.

Filters

Optionally filter the exported records.

Output File

Required
The name of the file to export the addresses to.

Connection

Required
The Prestashop connection to use. See the Connecting to Prestashop article if you require more information on how to create/manage connections.

Zynk Settings

See Common Task Settings.

Examples

Sample output files are shown below.

Simple

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfProduct xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Product>
    <id>22</id>
    <errors />
    <date_add>2019-03-12 12:46:46</date_add>
    <date_upd>2019-03-12 12:51:27</date_upd>
    <should_create>true</should_create>
    <should_update>true</should_update>
    <name>
      <language id="1">Zynk Test Product</language>
    </name>
    <reference>ZYNK_TEST</reference>
    <description>
      <language id="1">&lt;p&gt;Desc&lt;/p&gt;</language>
    </description>
    <description_short>
      <language id="1">&lt;p&gt;test&lt;/p&gt;</language>
    </description_short>
    <price>120.000000</price>
    <wholesale_price>0.000000</wholesale_price>
    <unit_price_ratio>0.000000</unit_price_ratio>
    <available_for_order>1</available_for_order>
    <active>0</active>
    <show_price>1</show_price>
    <upc />
    <supplier_reference />
    <location />
    <id_default_image xsi:nil="true" />
    <id_supplier>0</id_supplier>
    <id_manufacturer>0</id_manufacturer>
    <id_category_default>2</id_category_default>
    <id_default_combination xsi:nil="true" />
    <id_shop_default>1</id_shop_default>
    <id_tax_rules_group>1</id_tax_rules_group>
    <advanced_stock_management>0</advanced_stock_management>
    <ean13 />
    <visibility>both</visibility>
    <link_rewrite>
      <language id="1">zynk-test-product</language>
    </link_rewrite>
    <associations>
      <categories>
        <category>
          <id>2</id>
          <errors />
          <should_create>true</should_create>
          <should_update>true</should_update>
          <name />
          <description />
          <id_parent xsi:nil="true" />
          <is_root_category>0</is_root_category>
          <active>0</active>
          <is_default>false</is_default>
        </category>
      </categories>
      <combinations />
      <images />
      <product_features />
      <product_option_values />
      <stock_availables>
        <stock_available>
          <id>70</id>
          <errors />
          <should_create>true</should_create>
          <should_update>true</should_update>
          <id_product xsi:nil="true" />
          <id_product_attribute>0</id_product_attribute>
          <id_shop xsi:nil="true" />
          <depends_on_stock>0</depends_on_stock>
          <out_of_stock>0</out_of_stock>
        </stock_available>
      </stock_availables>
    </associations>
  </Product>
</ArrayOfProduct>

Detailed

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfProduct xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Product>
    <id>22</id>
    <errors />
    <date_add>2019-03-12 12:46:46</date_add>
    <date_upd>2019-03-12 12:51:27</date_upd>
    <should_create>true</should_create>
    <should_update>true</should_update>
    <english_name>Zynk Test Product</english_name>
    <name>
      <language id="1">Zynk Test Product</language>
    </name>
    <reference>ZYNK_TEST</reference>
    <english_description>&lt;p&gt;Desc&lt;/p&gt;</english_description>
    <description>
      <language id="1">&lt;p&gt;Desc&lt;/p&gt;</language>
    </description>
    <english_description_short>&lt;p&gt;test&lt;/p&gt;</english_description_short>
    <description_short>
      <language id="1">&lt;p&gt;test&lt;/p&gt;</language>
    </description_short>
    <price>120.000000</price>
    <wholesale_price>0.000000</wholesale_price>
    <unit_price_ratio>0.000000</unit_price_ratio>
    <available_for_order>1</available_for_order>
    <active>0</active>
    <show_price>1</show_price>
    <upc />
    <supplier_reference />
    <location />
    <id_default_image xsi:nil="true" />
    <id_supplier>0</id_supplier>
    <id_manufacturer>0</id_manufacturer>
    <id_category_default>2</id_category_default>
    <id_default_combination xsi:nil="true" />
    <id_shop_default>1</id_shop_default>
    <id_tax_rules_group>1</id_tax_rules_group>
    <advanced_stock_management>0</advanced_stock_management>
    <ean13 />
    <visibility>both</visibility>
    <link_rewrite>
      <language id="1">zynk-test-product</language>
    </link_rewrite>
    <associations>
      <categories>
        <category>
          <id>2</id>
          <errors />
          <date_add>2019-02-22 16:18:12</date_add>
          <date_upd>2019-02-22 16:18:12</date_upd>
          <should_create>true</should_create>
          <should_update>true</should_update>
          <english_name>Home</english_name>
          <name>
            <language id="1">Home</language>
          </name>
          <english_description />
          <description>
            <language id="1"></language>
          </description>
          <id_parent>1</id_parent>
          <is_root_category>1</is_root_category>
          <active>1</active>
          <is_default>false</is_default>
        </category>
      </categories>
      <combinations />
      <images />
      <product_features />
      <product_option_values />
      <stock_availables>
        <stock_available>
          <id>70</id>
          <errors />
          <should_create>true</should_create>
          <should_update>true</should_update>
          <id_product>22</id_product>
          <id_product_attribute>0</id_product_attribute>
          <id_shop>1</id_shop>
          <quantity>100</quantity>
          <depends_on_stock>0</depends_on_stock>
          <out_of_stock>2</out_of_stock>
        </stock_available>
      </stock_availables>
    </associations>
  </Product>
</ArrayOfProduct>