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

This version of Elastic Path Commerce is no longer supported or maintained. To upgrade to the latest version, contact your Elastic Path representative.

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"/commerce-legacy/>
      </include>
      <include type="INVENTORY"/commerce-legacy/>
      <include type="PRICING"/commerce-legacy/>
      <include type="ASSETS"/commerce-legacy/>
    </exporter>
</exporter>

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.