Announcement: You can find the guides for Commerce 7.5 and later on the new Elastic Path Documentation site. The Developer Center continues to support Commerce 6.13.0 through 7.4.1.Visit new site

Exporter Configuration

Exporter Configuration

The exporter element specifies the type of object you want to export. See Supported Object Types for the list objects you can export.

To include optional dependencies, add include elements to the exporter element. For example, the following configuration exports products, including their associated assets and product merchandising associations (direct only):

<exporter type="PRODUCT">
      <include type="PRODUCTASSOCIATION">
        <option key="DIRECT_ONLY" value="true"/>
      <include type="INVENTORY"/>
      <include type="PRICING"/>
      <include type="ASSETS"/>

The type of dependencies you can include depends on the type of object you are exporting. For the list of supported include types, see the description of the include element in Appendix A - Export Configuration.