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

Customizations

Customizations

Creating an Exporter

The export format is defined in com.elasticpath.aem:ep-aem-import-api). This pacakge contains the classes that you are required to convert your PIM data to:
  • AemAxis
  • AemCategory
  • AemProduct
  • AemVariant
It also provides the transport messages that are used to initiate an export from your PIM.

Customizing the Importer

To create a custom importer you first need to implement ProductImporter provided by the AEM Commerce API. The AEM Commerce API does ship with some classes designed to provide basic import functionality.
CAUTION:
Avoid using these classes in all but the most simple use cases
. If you wish to create a custom importer for your project you need to create a page in /etc/importers/yourproject, depending on how your importer works you will eventually need to submit your request to /libs/commerce/product