Product export

Product export guide

In this guide we’ll demonstrate how to configure a profile that will be responsible for automatic product export synchronisation.

Steps to create and configure product export profile

Create Product Export Profile

Create a profile with entity type: “Product” and direction: “Export”.
More on how to create a profile can be found here: Profile tool.

Mage2Plenty - product export configuration
Mage2Plenty - product export configuration

Profile Settings Tab

In this section we need to enable our profile. Select “Active” next to “Profile status”.

Next, we need to create cron expression to enable our profile to execute tasks on the scheduled basis. Scheduled task intervals depend on how often you like products to be exported to PlentyMarkets. There is no rule on how often a task should run. The most common way is to set this to every 1-2 hours. If your shop is not very busy, consider increasing time to every 6 hours or even once per day.

Mage2Plenty - product export configuration
Mage2Plenty - product export configuration

Export Settings Tab

All profile configurations are located under export settings tab. This is where profile synchronisation configuration takes place. Our connector supports multi-store environment thus profile data can be configured per store, website or global scope where possible. In this tab area you can map Magento stores to PlentyMarkets system, create a list of products for export and carry out general product export configurations. We’ll describe each step in details as we go.

Export Configuration

Export configuration section has the following settings:

  • API collection behaviour: append behaviour will fetch recently updated data only, whereas replace behaviour will fetch and update all API log data. Default settings: “append”;
  • Api collection size per page: the number of entries returned per page during data request.
  • Enable product export: an option to enable / disable export of products.
  • Export batch size per process: an option to limit export to a number or records specified in this field. Handy option to prevent server overload.
  • Log export response: An option for developers to debug export data.
Mage2Plenty - product export configuration
Mage2Plenty - product export configuration

Store Configuration

Here we need to map PlentyMarkets language to Magento store and optionally configure Flag filters.

  • Store Mapping: used to map PlentyMarkets language code to Magento store. This is used during product synchronisation in multi-store environment.
  • Flag One: an option to assign flagOne filter to PlentyMarkets Item. Flags can be used to organise and filter items. Each item can be assigned up to two flags. Possible values: 1 to 31, 0 = no flag.
  • Flag Two: an option to assign flagTwo filter to PlentyMarkets Item. Flags can be used to organise and filter items. Each item can be assigned up to two flags. Possible values: 1 to 11, 0 = no flag
Mage2Plenty - product export - store configuration
Mage2Plenty - product export - store configuration

Price and Tax Configuration

In this section you are able to configure price and tax as well as map PlentyMarkets tax and price IDs to ones used in Magento.

  • Default Tax Class: default tax class used for product export.
  • Tax Mapping: an option to map PlentyMarkets VAT class IDs to tax classes used in Magento. Click on “Retrieve Tax Classes” button to retrieve VAT class IDs from PlentyMarkets.
Mage2Plenty - product export - tax class configuration
Mage2Plenty - product export - tax class configuration
  • Enable sales price export: an option to enable or disable sales price export to PlentyMarkets. This maybe useful, when you need to synchronise data other then sales prices.
  • Price mapping: an option to map PlentyMarkets sales price IDs to Magento price attributes. Prices can be mapped using store scope. Note, this field will only be visible when above option is enabled.
  • Delete unmapped sales prices: an option to remove item sales prices, which were not mapped in this configuration. For example, our application will look for item sale prices that are listed withing this mapping configuration list and if it finds a mismatch it will delete it.
  • Attribute used for purchase price: an option to map Magento cost attribute to PlentyMarkets purchased price property.
Mage2Plenty - product export - price configuration
Mage2Plenty - product export - price configuration

Inventory Configuration

  • Enable stock export: an option to enable or disable inventory export. This may come handy when you need to control item quantity update during product export.
  • Warehouse Id: default warehouse ID which the item is assigned to.
  • Order Picking: an option to specify item order picking. The order picking type of the variation. Possible values: single_picking, no_single_picking, exclude_from_picklist, null (no order picking type)
Mage2Plenty - product export - stock configuration
Mage2Plenty - product export - stock configuration

Attributes Configuration

  • Default attribute set: the default attribute set code used in Magento.
  • Attribute set property ID: the ID of a property in PlentyMarkets which is used to define Magento attribute set.
  • Product name mapping: an option to map product names. PlentyMarkets has 3 separate fields that are used for item name in item texts tab. Use name mapping tool to assign product name to one of the name fields used in PlentyMarkets.
Mage2Plenty - product export - name mapping
Mage2Plenty - product export - name mapping

Leave blank to disable name mapping. In this case, our application will use default: “name” field for product title.

  • Short description mapping: an option to map Magento short description attribute to “Preview text” field used in PlentyMarkets.
  • Description mapping: an option to map Magento description attribute to “Item text” field used in PlentyMarkets.
  • Attribute used for supplier name: an attribute code used to map supplier name.
  • Attribute used for supplier item number: an attribute code used to map supplier item number.
  • Attribute used for manufacturer: an attribute code used to map Manufacturer in PlentyMarkets.
  • Attribute used for technical data: an attribute code used to map item “Technical data” in PlentyMarkets.
  • Export URL key: an option to create item url key in PlentyMarkets.
  • Default weight unit: an option to choose between Gross Weight and Net Weight.
  • Attribute used for width: attribute used for item width.
  • Attribute used for length: attribute used for item length.
  • Attribute used for height: attribute used for item height.
Mage2Plenty - product export - attribute configuration
Mage2Plenty - product export - attribute configuration

Property Mapping

In this section you can map PlentyMarkets properties to Magento attributes.

  • Property to Attribute Mapping: map property ID to attribute code.
Mage2Plenty - product export - property configuration
Mage2Plenty - product export - property configuration

Barcode / Identification Number Configuration

  • Barcode to attribute mapping: an option to map PlentyMarkets barcode ID to Magento attribute code.
  • Market Ident number mapping: an option to map PlentyMarkets Identification Number to Magento attribute code.
Mage2Plenty - product export - barcode configuration
Mage2Plenty - product export - barcode configuration

Category Configuration

  • Export categories: an option to export category during product export.
  • Root category mapping: an option to map root Magento category to one used in PlentyMarkets.
Mage2Plenty - product export - category configuration
Mage2Plenty - product export - category configuration
Note, if --Export categories-- option is disabled them the default root category ID from PlentyMarkets must be specified.
Mage2Plenty - product export - category configuration
Mage2Plenty - product export - category configuration

Media Configuration

  • Export media: an option to enable or disable export of media images.
  • Import images with availability: a filter that assigns images to one of the channels from PlentyMarkets. Available options are “_Main PlentyMarkets store”, “Listing” and “Marketplace”.
Mage2Plenty - product export - images configuration
Mage2Plenty - product export - images configuration
  • Export Cross Sells: an option to create cross sells item relation in PlentyMarkets.
Mage2Plenty - product export - cross sells configuration
Mage2Plenty - product export - cross sells configuration

Product Synchronisation Tab

This section contains a list of products that were added for export.
When you visit this section for the firs time, you will be asked to add products to export list. If this is the case, select products you like to add to export list and click “Add Products And Continue” button to add selected items.

Mage2Plenty - product export - cross sells configuration
Mage2Plenty - product export - cross sells configuration

Once the items have been added to export list you can then trace and track its export status. Products will be exported automatically during scheduled task process.

Mage2Plenty - product export - synchronisation
Mage2Plenty - product export - synchronisation

There are four manual actions that can be performed from the export product grid:

  • Export: an action that enables you to export products manually.
  • Schedule Export: an action that adds product to scheduled export process.
  • Stop Export: an action that removes product from scheduled export process.
  • Remove From Export List: an action that removes product from export list.
Please note, **Remove From Export List** action will not delete product from PlentyMarkets. It simply removes entry from the list of products, which are scheduled for export.

An example on how to export products manually:

  • Select products that you want to export in the left hand side column.
  • Choose “Export” from dropdown action menu on the right and click “Submit” button.
  • Confirm product export dialog box to proceed with export.
Mage2Plenty - product export - manual export
Mage2Plenty - product export - manual export

Item / Variation API Log Tab

In this tab area you can track and trace items and variations that were used in product export. These items are collected from PlentyMarkets and saved into Magento database. This entity holds item and variation data that is used during product import / export process. You could safely flush this data as it can be re-generated on next product export process. A list of main entity attributes:

  • Item ID: the ID of an item assigned in PlentyMarkets;
  • Variation ID: the ID of a variation assigned in PlentyMarkets;
  • External ID: the ID of a product assigned in Magento;
  • SKU: the SKU of a product assigned in Magento;
  • Status: the status of synchronisation. Available statuses are “complete”, “updated”, “pending”, “processing”, “skipped” and “failed”;
  • Is Active: the status of an item;
  • Item Type: the type of an item. (Set or Default);
  • Product Type: the type of product. Supported types are: Simple, Configurable, Bundle and Grouped;
  • Bundle Type: the type of a bundle item. Possible values are bundle item or bundle component;
  • Flag One: Flag 1 of the item. Flags can be used to organise and filter items. Each item can be assigned up to two flags. Possible values: 1 to 31, 0 = no flag;
  • Flag Two: Flag 2 of the item. Flags can be used to organise and filter items. Each item can be assigned up to two flags. Possible values: 1 to 11, 0 = no flag;
  • Message: general messages of item synchronisation;
  • Created At: the date entry was created at;
  • Updated At: the date entry was updated at;
  • Collected At: the date entry was collected at;
  • Processed At: the date entry was processed at;
Mage2Plenty - product export - item variation log
Mage2Plenty - product export - item variation log

Category API Log Tab

In this tab area you can find categories log data that was collected during product export.

  • Plenty id: an ID assigned to category in PlentyMarkets;
  • Magento id: an ID assigned to category in Magento;
  • Parent id: an ID of parent item assigned to category in PlentyMarkets;
  • Level: the level of category item assigned to category in PlentyMarkets;
  • Type: the type of category assigned in PlentyMarkets;
  • Name: the name assigned to category in PlentyMarkets;
  • Path: the path structure of category created in PlentyMarkets;
  • Status: the status assigned to category in PlentyMarkets;
  • Name: the name assigned to category in PlentyMarkets;
  • Name: the name assigned to category in PlentyMarkets;
  • Message: general messages of category synchronisation process;
  • Created At: the date entry was created at;
  • Updated At: the date entry was updated at;
  • Processed At: the date entry was processed at;
Mage2Plenty - product export - category log
Mage2Plenty - product export - category log

Attribute API Log Tab

In this tab area you can find attribute log data that was collected during product export.

  • Attribute ID: the ID of attribute created in PlentyMarkets;
  • Property ID: the ID of property created in PlentyMarkets;
  • Manufacturer Id: the ID of manufacture created in PlentyMarkets;
  • Attribute Code: the code of attribute created in PlentyMarkets;
  • Property Code: the code of property created in PlentyMarkets;
  • Property Group Code: the code of group of a property created in PlentyMarkets;
  • Value Type: the value type of property. This is either text or selection;
  • Message: general messages of attribute synchronisation process;
  • Created At: the date entry was created at;
  • Updated At: the date entry was updated at;
  • Processed At: the date entry was processed at;
Mage2Plenty - product export - category log
Mage2Plenty - product export - category log

Schedule Tab

In this area you can find a log of all scheduled tasks for product export process.

  • Schedule id: the ID of the scheduled task;
  • Status: the status of scheduled task. Available statuses are “error”, “missed”, “pending”, “processing” and “success”;
  • Job Code: the code used to identify profile task;
  • Created At: the time and date a task is created at;
  • Scheduled At: the time and date a task is scheduled at;
  • Executed At: the time and date a task is executed at;
  • Finished At: the time and date a task is finished at;
  • Message: general messages of task process. Any errors will be shown here;
Mage2Plenty - product export configuration
Mage2Plenty - product export configuration

Schedule History Tab

Here you can find a log of scheduled tasks history, where all the scheduled processes are logged to.

  • Status: the status of scheduled task process. Available statuses are “error”, “missed”, “pending”, “processing” and “success”;
  • Action: the code used to identify profile scheduled task;
  • Message: general messages of task process. Any errors will be shown here;
  • Created At: the time and date a task is created at;
  • Performed At: the time and date a task is performed at;
Mage2Plenty - product export configuration
Mage2Plenty - product export configuration

API Actions Tab

In this section you can either collect or flush API log data.

Collecting API data manually may be useful at times when you need to analyse data synchronisation, lookup its consistency or trace any issue. The following actions are available:

  • Collect Attributes: manually collect attribute data.
  • Collect Categories: manually collect category data.
  • Collect Items / Variations: manually collect item and variation data.
  • Flush Collection Data: clears all data from collection log tables.
Mage2Plenty - product export configuration
Mage2Plenty - product export configuration

We collect and store data in bulk to achieve reliability and to limit API calls to PlentyMarkets server during synchronisation process.
Our application collects and stores REST API data into database, which is then used for synchronisation process without making additional HTTP requests to PlentyMarkets server.
Because the data is collected in bulk, we are able to save up to 500 records using only one HTTP request.


Order import
Product import