Magento 1

Mass Order Export

Mass Order Export allows you to create xml, csv and txt order files from your Magento admin panel and export them to any CRM application or order management software/platform. Any kind of export file types can be easily customized.

marketplace approved
180,00€excl. VAT

4.8/5 rated 70 reviews

  • Lifetime license
  • 12 months support & upgrade
  • 60 days money-back guarantee
  • Extensible source code
  • Unlimited test domains
  • Free composer access
Demo Store

Manage your orders exports with ease thanks to Mass Order Export for Magento

  • Mass Order Export allows you to export all the orders data from your Magento admin into XML or TXT/CSV files and transfer these files into your CRM/ERP software.

Easily export all your orders data into one file

  • Data — Export your orders, ordered items, payments, invoices, shipments, and credit memos.
  • File Formats — Export your data into XML, CSV, and TXT files.

Trigger the orders exports

  • Automatically — via cron tasks and/or when an order is placed
  • Manually — from the profile edition page, or the orders grid

Highly customize your orders profiles

  • File Type — Select the file type: XML, TXT, CSV...
  • Attributes — Add any attribute to your orders profiles.
  • Custom variables — Create your own variables and add them in the templates.
  • PHP API — Add PHP scripts to your templates.

Enjoy the precious help provided by the extension

  • Templates — Start with the sample templates already included with the extension.
  • Preview — Check your data feeds and use the syntactic helper to avoid misprints.

Automatically and regularly send your updated feed to any order management platform

  • Scheduled tasks — Automatically update and generate your profiles.
  • FTP upload — Upload the profiles to an external FTP server.
  • Email — Send your profiles by email to one or more recipients.

Content

    The basic knowledge about Magento and order management

    How Magento deals with the customer's orders?

    Orders in Magento are arranged as a structured group of data that are shared in different database table instances.

    The main instance is the Order table that contains the summary of each order placed (date, total amount, tax, customer,...).

    Attached to this instance there are 3 sub-instances concerning the order details:

    • Product
    • Shipping address
    • Billing address

    Those instances describe which products have been ordered and gives details about the customer's addresses.

    There are 4 other sub-instances that help to store the different steps in the order process:

    • Payments
    • Invoice
    • Shipment
    • Credit memo

    The above instances can be simply summarized:

    Of course, there is much more data that you can extract from your Magento database and this is where Mass Order Export can help.

    How Mass Order Export exports the Magento Data?

    Mass Order Export enables the export of all the order data into XML or TXT/CSV files.

    These files can then be transferred into your CRM/ERP software or can be used for reporting purposes.

    The way this extension deals with the order data is very simple. When configuring your export profile, you have to complete a template in which you can use static and dynamic values.

    Static and Dynamic values

    Static values are data that don't change from one order to another and that are added to the output file to make it readable.

    Dynamic values are data that are different for each order such as price, address, the product ordered...

    Imagine you want to export all the orders placed into your Magento website and what you want to get is a simple TXT file including the order number and the total amount of each order. What you get should look like:

    #123456789 	$150.00
    #234567891	$275.00
    #345678912	$450.00

    Your template would be very simple:

    #{increment_id}  ${total_paid}

    # and $ are static values while {increment_id} and {total_paid} are dynamic values that changed for each order.

    The instances

    {increment_id} and {total_paid} refer to the Order instance and could also be written as {increment_id order} and {total_paid order}.

    You might need to complete your export file with the method used by your customers to pay their orders. This data can be found in the Payment instance and you should use {method payment}. This syntax means you want to know the value of the payment method for each order.

    How to use Mass Order Export in 4 steps?

    Mass Order Export is quite easy to use. You'll need 4 steps to configure your extension. Once these steps completed, your extension will be ready to use. 

    STEP 1: Configure Mass Order Export in a general way

    To configure your extension, first go to:
    System › Configuration › Wyomind › Mass Order Export

    There you get two subtabs.

    Cron job reporting

    Mass Order Export allows you to enable cron job reporting. 

    • Send the reports to
      You have the possibility to send these generation reports to email addresses (they must be separated by a comma).
    • Report title
      You can also change the report name
    • Debug mode
      Decide to enable the debug mode or not.
    Core setting

    Note that the Core Settings part is for advanced users.

    • Orders grid to display
      The default value is "Mage_Adminhtml_Block_Sales_Order_Grid"
    • Profile IDs to execute while placing an order
      You will also have the possibility to execute profiles when an order is placed by filling the profile ids that you will find in:
      SALES › Mass Order ExporT › Export Profiles

    STEP 2: Configure your profiles

    During that step, the different tabs that can be found in the configuration of a profile will be described. First, the profile configuration will be detailed followed by the different kinds of templates, the filters that can be created to adjust your configuration, the FTP configuration, and the scheduled tasks in order to generate the profile.

    You can edit or create a new profile from:
    Sales › Mass Order Export › Export Profiles

    From there, you have the possibility to delete or generate several profiles at a time. 

    The Tool Box or so-called "Black Box"


    When creating a profile, you should see a black box on the right of your screen. The Mass Order Export extension includes that tool to help you create your profile and see what is wrong.

    The black box is inevitably a very useful tool. This will help you to configure your data feed more quickly.

    Here are the different options of the black box:

    Check Syntax

    This button allows you to check if your syntax is correct. It helps you to see if you have forgotten a bracket or a comma by underlining in yellow the part of text that contains a mistake.

    Library

    You might want to know which syntax to use? No worries, Mass Order Export includes a full library of all data available for all instances: order, products, payment, invoice, shipment, creditmemo...

    Check Data

    When clicking on that button, you'll see a preview of your profile. It's very useful to see if the values are correctly retrieved or if your filters are working. 

    Configuration

    When creating or editing an export profile in Mass Order Export, you have to be aware of some basic settings.

    File configuration
    To configure your file, fill in the below fields:
    • File name
      The basename of the exported files (eg: myOrders), no need to add any file extension (XML, CSV, TXT), the extension does it for you.
    • Encoding type
      Choose the encoding type you want to use.
    • File type
      This is the main setting that defines if you want either an XML file type or a CSV/TXT file type. Depending on this setting the template section will be managed differently.
    • File name format
      Your file name can be completed with the current date at the time of the exportation. Different formats are available.
    • Create one file for each order
      Choose to export one order per file or not.
    • Add a counter as the 1st column
      Choose if you want the first column to be a counter.
    • Sort orders by 
      Define how you want the orders to be sorted.
    • Sorting direction
      Choose ascending or descending sorting.
    Product filters

    Choose the types of products you want to export.

    Orders filters

    This section allows you to define which group of orders must be exported.

    • Export from Store view
      Allows you to choose one or more store views from your website(s) to use in the exportation process.
    • Start with order #
      Allows you to specify an order number from which to start the export process.
    • Register the last exported #
      Allows you to automatically register the last exported order into the 'Start with order #' input.
    • Flag each exported order
      Allows you to flag each exported order as exported in:
      Sales › Order
    • Export only unmarked orders
      Allows you to specify that only the orders not yet flagged must be exported.
    • Update the order status
      Allows you to update the order status or not.

    Template

    In this tab, you'll be able to configure your profile template according to your needs. Mass Order Export allows you to create different kinds of file:

    • XML profile
    • CSV / TXT profile
    XML file template

    An XML template is made up of 3 parts:

    • Enclose xml tag content inside CDATA (recommended)
      Choose to enclose the content of your XML tags between CDATA or not.   
    • Header pattern
      Is at the start of the file:
      <orders>
    • Order pattern
      Is iterated for each order included in the file:
      <order>
       <customer>
        {customer_lastname,[strtoupper]} {customer_firstname,[strtolower],[ucfirst]}
       </customer>
       <billing>
        {firstname billing} {lastname billing}
        {postcode billing} {street billing,[implode]}
        {city billing} {country_id billing}
       </billing>
       <shipping>
        {firstname shipping} {lastname shipping}
        {postcode shipping} {street shipping,[implode]}
        {city shipping} {country_id shipping}
       </shipping>
       <items>
       {product::start}
        <item id="{item_id product}">{name product}</item>
        <weight>{weight product}</weight>
       {product::end}
       </items>
      <order>
    • Footer pattern
      Is at the bottom of the file:
      </orders>

    The XML structure allows you to use iterative syntax in different parts of the template, as follows:

    {product::start}
     <item id="{item_id product}-2">
      <name>{name product}</name>
      <weight>{weight product}</weight>
     </item>
    {product::end}

    In most cases, orders contain more than one product, so it may be useful to create an iteration that loops for each ordered product. All the content between the opening and closing markers will be repeated for each product and all dynamics values will be replaced:

    {product::start}
     ...
    {product::end}

    These iteration markers can be used for all order instances:

    {payment::start}
     ...
    {payment::end}
    {invoice::start}
     ...
    {invoice::end}
    {shipment::start}
     ...
    {shipment::end}
    {creditmemo::start}
     ...
    {creditmemo::end}
    CSV / TXT file template

    To create a CSV/TXT data feeds, you just have to choose 'CSV' or 'TXT' in File type, in the Configuration tab. The template tab will be updated to match the file type.

    • Include header
      Allows you to include or not the column's name in the first row of your CSV/TXT file.
    • Columns name
      Is for the attribute name that can be displayed at the top of the file.
    • Pattern
      Works in the same way as in XML files.
      Like in XML files, you're allowed to use PHP code if you want to customize the pattern. You just have to write your PHP code in one single line, and it will work perfectly.
      You can add a field by using the button Add field. The fields can then be re-ordered easily by using the up and down arrows.
    • Field delimiter
      Lets you choose which kind of delimiter you want to use to separate your fields.
    • Fields enclosure
      Lets you choose which kind of enclosure you want for your data.

    The main difference with the XML mode is that you can't use any iteration instructions. Instead, Mass Order Export uses an auto-consolidation internal process. This simply means if you try to get the value of any attribute of an instance (product for example) that contains several items, the extension will automatically duplicate the txt/csv line for each item.

    With the following configuration:

    Logically the module should export one line for each order, but some orders may contain several product items. The extension will create several lines for the same order, as in the following output example:

    Order#         Product Name          Product Sku
    #10000001      my product A          AAA
    #10000001      my product B          BBB
    #10000001      my product C          CCC
    #10000002      my product D          DDD
    #10000003      my product B          BBB
    #10000003      my product E          EEE
    ...

    Filters

    In the Filters tab, you can define the types of orders and customers you want to include in your export profile. You have also the possibility to create more advanced filters that will best meet your needs.

    Order status

    This section allows you to specify the type of order you want to export. At least one status must be selected.

    Customer Group

    In this tab, choose the customer group of the orders you want to export. At least one customer group must be selected

    Advanced Filters

    In that tab, you can create more precise filters. For example, you can choose to export only one specific order by setting a filter:

    order > increment_id | = | Id of your order

    You can also export orders placed by customers whose last name ends with 'son':

    order > customer_lastname | like | %son

    You have a choice between several options:

    • =, >, <...
      Equal to, greater than, lower than, greater than or equal to, less than or equal to, different from.
    • LIKE / NOT LIKE
      like: starts/ends with the character string / includes the character string.
      Not like: doesn't start / end with the character string / doesn't include the character string.
    • IS NULL / IS NOT NULL
      is null: the value is null.
      is not null: the value is not null.
    • IN / NOT IN
      in: is in (selection of several options).
      not in: is not in (selection of several options).

    Output settings

    With Mass Order Export, you have many possibilities to export your profiles.

    Storage settings

    The first solution is to store your file directly on your server.

    FTP settings

    You can also configure the FTP settings. For example: 

    • Upload by FTP
      Select Yes if you want to upload your data feed using FTP.
    • Host
      In that field, fill in the host. 

      wyomind.com

    • Login
      It is your login to connect to the server.
    • Password
      It is your password to connect to the server.
    • Destination director
      is a relative path from the entry directory when you connect to the FTP.

      /var/export/ftp

    • Use SFTP
      Select Yes if you are using SFTP.
    • Use Active mode
      If you are using SFTP, you don't have to care about the passive/active mode.
    Email settings

    Finally, you can choose to send your profiles by email. Don't forget to separate the email addresses with a comma.

    Scheduled tasks

    In that tab, you can choose the days and hours when you want your profiles to be generated.

    STEP 3: Export your orders

    Now that your profiles are configured, you can export your orders into these files.

    You will be able to see to which profile each order has been exported in:
    Sales › Orders

    For each order, different notifications will be displayed in the Exported to column:

    • √ default (X)
      The order has been exported to the profile named default (only when the Mark each exported order option of the profile configuration is on YES).
    • No profile defined
      There is no profile defined for the product(s) of the order.
    • => default
      The profile defined for that order is default.

    There are several ways of exporting your orders to anyone of your profiles.

    Generate the profile

    By generating a profile, the orders that match with the profile configuration are automatically exported to that file.

    Choose a profile and simply select the Generate option from the Action dropdown in
    Sales › Mass Order Export › Export profiles

    A message is displayed and indicates how many orders have been exported to the file.

    Manually export the orders

    Choose an order and click on View in:
    Sales › Orders

    There you can select a profile for each product of the order. For example: default

    Go back in:
    Sales › Orders

    In the Exported to column, the order displays:

    => default

    This means that the order will be generated to that profile.

    Now go back to the order View and click on Export. The order will then be exported to the profile(s) you've defined only if the order is matching with the configuration of the profile.

    Export only unmarked orders

    2 options are interesting in the Configuration tab of your profile from:
    Sales › Mass Order Export › Export profiles

    • Mark each exported order
      in: Sales › Orders
    • Export only unmarked orders

    If you don't want to export several times the same orders, you can define both options on YES. Then only the unmarked orders will be exported.

    If at any time, you want to export a new time an order that has already been exported, you have the possibility to unmark that order by clicking on the cross next to the profile name in:
    Sales › Orders

    Then, when the profile will be run, the order will be exported a new time.

    STEP 4: Create your custom attributes

    In some cases, you might need to get the value of one attribute that is not available in any of the default instances (order, product, address, payment, invoice, shipment, or credit memo) or you might need to use the value of one attribute but with a computed output.

    Mass Order Export allows creating your own customized attributes directly from your admin panel by using some PHP code.

    Directions

    In order to create a valid customized attribute, you must respect these rules:

    • $value is used to store the data that must be returned. You can also use the return instruction.
    • $item refers to the item of the current instance, eg :
      {your_custom_attribute order} = $item refers to the order instance
      {your_custom_attribute product} = $item refers to the current product instance
      ...
    • $data is an associative array that contains all the instances data of the current order.
      $data["products"] = contains all the product data relative to the current order
      $data["payments"] = contains all the payment data relative to the current order
    Examples

    Below are 3 examples of common customized attributes:

    • Get the color for each product of the order
    <?
     $product=Mage::getModel('catalog/product');
     $product->load($item->getProductId());
     $value=$product->getColor();
     return $value;
    ?>

    or

    <? return Mage::getModel('catalog/product')->load($item->getProductId())->getAttributeText('color'); ?>
    • Get a consolidated string of all product skus in the order
    <? $skus = array();
     foreach ($data['products'] as $product) {
     $skus[]= $product->getSku();
     } return implode(',',$skus);
    ?>

    • Get the status of an order and retrieve a computed value
    <? switch($item->getStatus()){
     case 'canceled': $value= 'MerchantCanceled'; break;
     default : $value= 'BuyerCanceled';
     } return $value;
    ?>

    FAQ

    Pre-sales informations

    Magento versions supported by Mass Order Export

    This extension works with Magento Community Edition and also Magento Enterprise Edition. To know if Mass Order Export is compatible with your Magento version, please check the Compatibility tab. 

    License and domains

    License migration to Magento 2

    We offer our customers who want to migrate their Magento 1 license to a Magento 2 license, the transfer at a reduced price. 

    You have the possibility to migrate your license directly from your Wyomind account in:
    My account › Licenses & Downloads

    Click on migrate to magento 2  in front of the extension and the domain you want to transfer. 

    Confirm you want to migrate your license to a Magento 2 license by clicking on Confirm and checkout .

    An invoice will be automatically added to your account from: 
    My account › Invoices

    The price of the transfer is equivalent to a 30% reduction compared to the price of the regular Magento 2 license.

    You can proceed to the payment by clicking on PP .

    Once the payment is done, you can go back to: 
    My account › Licenses & Downloads

    There you will be able to download and install your license for Magento 2. 

    License validity

    A license is valid for an unlimited period of time on one single Magento installation.

    If you use more than one Magento installation, you will have to buy a separate license for each one.

    If you run several domains on the same Magento installation, you will need only one license for all of them.

    Although your license doesn’t have a limited period of validity, your support period does. By purchasing an extension, you’ll be granted a 6-month support period for free. Passed this period, you will have to renew your Support plan (see FAQ: How to extend my support period?).
    Domains pre-registration

    You can pre-register your live domain to your license in advance.

    Thanks to this option, you'll be able to get the extension ready to use on your domain before it goes live.

    To pre-register your production domain: 

    1. Go to:
      mY account › Licenses & DOwnloads
    2. Click on  next to the extension you want your domain to pre-register on.
    3. Click on the link at the bottom of the page saying:
      Do you want to pre-register your domain in order to be ready to go live?
    4. Finally, enter your domain name and click on pre-register now .
    Testing environments

    One license is valid for an unlimited period of time on one Magento installation only.  

    It is possible, however, to extend or transfer your license in 2 cases: 

    • If you'd like to add your testing environments to your license.
      In this case, it is possible to extend your license to an unlimited number of domains for free.
      For example mywebsite-staging.com or mywebsite-dev.com
    • If you want to transfer your license to another live domain.
      In that case, the support period for your license must still be active.


    To be able to use Mass Order Export on both your production and testing environments, follow the instructions below:

    1. Download Mass Order Export.
      (see FAQ: Extensions download).
    2. Install Mass Order Export on your production environment.
      (see FAQ: Extensions installation)
    3. Activate the license.
      (see FAQ: Extensions activation).
    4. From your Magento admin panel, enter your current Activation Key in:
      syStem › CONFIGuration › WYOMING › YOUR EXTENSION 
    5. Save your configuration.


    Now that you can use Mass Order Export on your production environment, repeat the same steps as above on your testing environments.

    The only difference this time: a notification will appear in your Magento admin. 

    You will be given a choice between:

    1. buy a new license now
    2. add this domain to my license


    Click on Add this domain to my license.

    A transfer request will then be sent to our team within an hour.

    Once the request is taken care of, you will receive a confirmation email.

    If your transfer request is accepted, you can use Mass Order Export on both environments at the same time.

    The order in which you activate your license on your domains does not matter.
    You can start with your staging/dev/local environment or with your live domain, the process will be the same.

    Modules versioning and download

    Extensions download

    In order to download Mass Order Export, log into your Wyomind account:

      1. Go to:
        my account › Licenses & downloads 
      2. Click on the  icon next to Mass Order Export.

        A new window opens.

      3. Choose the version of Mass Order Export.
        You will be able to choose the most recent version of Mass Order Export (for both Magento 1 and Magento 2).
      4. Click on  .

    Your download can start.

    Extensions upgrade

    When purchasing an extension from wyomind.com, you benefit from a lifetime upgrade. You can at any time download the latest version of the extension directly from your account. 

    To upgrade Mass Order Export, follow the steps below:

    1. Go to:
      my account › Licenses & Downloads
    2. Click on  next to Mass Order Export.
    3. Choose the latest version of Mass Order Export (for Magento 1 and Magento 2).
    4. Click on download .
    5. Install the new version of Mass Order Export to update your Magento admin. 

    Modules Installation/Uninstallation

    Extensions uninstallation

    To uninstall Mass Order Export, go on its zip folder and open it.

    You will find a shell file (such as: yourextension-uninstall.sh) that you must execute on both your server and Magento root directory.

    Once the uninstallation is over, refresh your cache and enable the compiler back again (if you use it).

    Extensions installation

    Before installing Mass Order Export, you’ll have to:

    • Backup your Magento installation in:
      system › tools › backups
    • Disable the compiler in your Magento admin panel if it’s not already disabled:
      system › tools › COMPILATIONS
    • Refresh your cache in:
      system › select cache type › actions › refresh › submit


    Now you can install Mass Order Export:

    1. Download Mass Order Export (zip file) from:
      my account › my downloads
      Refer to FAQ here: Extensions download
    2. Once Mass Order Export is downloaded, open the folder and unzip it.
    3. Copy the content of the unzip folder and paste all files and directories in your Magento root directory (the folder content can vary according to the extension but it generally includes app, lib and skin folders).
    4. Once your installation is complete, don't forget to enable the compiler back (if it was already enabled before the installation) and run compilation process.
    5. Refresh your cache, logout from your admin panel and log back in right after.

    Next step is to activate your license, to do so, click here: Extension activation

    Modules activation

    Extensions activation

    Once Mass Order Export is installed, you have to activate the license: 

    1. Go to your Magento admin panel. A message pops up at the top of the page.

      If the message doesn't appear then you must check that:

      Wyomind's License Manager has not been removed from your installation.
      Wyomind's License Manager is enabled in: app/etc/modules/Wyomind_Licensemanager.xml
      The HTML output for Wyomind_Licensemanager and/or Adminhtml_Notification are not disabled in your system under:  system  

      configuration › advanced › advanced

    2. Copy your activation key.

      You can find your activation key in 2 different places:
      - In the confirmation email that you received after purchasing Mass Order Export
      - In your Wyomind account:MY ACcount › My downloads, select Mass Order Export and click on  . A new page opens where you'll find your activation key (see below).
    3. In your Magento admin go to:
      SysteM › Configuration › Wyomind › Your extension

      Paste the activation key in the Activation Key field and choose between the automatic (yes) or the manual (no) activation method:
      - By choosing Yes, the connection to Wyomind license server will be automatic. 
      - By choosing No, you will have to log on to Wyomind license server yourself.

    4. Save the configuration.
    5. Clear your caches. 
    6. A message appears at the top of your admin panel: Activate it now!  Click on that link.
    7. Copy and paste the license code in the License code field from your admin or simply click on  Activate now! 
    8. Finally, refresh your cache, log out and log back in straight after, to complete the installation.

    To activate the license of an extension that includes other modules, you’ll have to repeat the steps described above for each extension, using the corresponding activation keys (each module has its own activation key).

    Modules use

    Download the data feed

    To download your file, you need to:

    1. Generate the file.
    2. Right-click on on the generated link from the grid.
    3. Choose the Save as option.

    Schedule the data feeds generation

    Mass Order Export provides you with a fully configurable schedule in the Scheduled task tab of your template configuration for each data feed.

    Warning: So that it works, you must

    have one main scheduled task running from your server side and targeting cron.php (or cron.sh) located in the Magento root directory (each hour ideally).

    If the management panel from your hosting compagny doesn't provide such a service, you can use a remote service such as: http://www.mywebcron.com.

    Mass Order Export also provides you with a cron job reporting, so you can get email reports on each data feed you will generate.

    Open a CSV file with a spreadsheet application

    You have the possibility to open the generated CSV file with any spreadsheet application.

    While opening your data feed, you need to make sure to select the delimiter options that correspond with your data feed configuration.

    1. In your data feed configuration, choose how your columns will be separated with: tabulation, comma, semi-colon...
    2. Generate the data feed.
    3. Open the data feed with a spreadsheed application.
    4. Choose the same delimiter and enclosure characters as in your data feed configuration.

    For example, if you've chosen semi-colon as Fields delimiter, then you'll need to open the file choosing ";" as field delimiter as well as if you've choosen double quotes as the Fields enclosure, then you'll have to make sure that you've selected the same character.

    Note that the Excel application won't show this popup when opening the file.

    Use 'IF' and 'ELSE' statements with Orders Export Tool

    It's possible to use the if/else statements by using some php code.

    <? if ("{country_id billing}" == "US") return "8000"; else return "8001"; ?>

    Example: If the billing country id is Belgium return 8000 else return 8001.

    Retrieve state/region from the shipment address of a customer

    Here is how to retrieve state/region from the shipment address of a customer:

    {country_id shipping}/<? return Mage::getModel('directory/region')->load({region_id shipping})->getCode(); ?>

    Example: If the shipment address is located in California, then this will return: US/CA.

    Retrieve the country name instead of its code

    For example, you want to retrieve "France" instead of "Fr". In that case, you can use:

    <? return Mage::app()->getLocale()->getCountryTranslation("{country_id shipping}"); ?>
    Retrieve the custom options of ordered products

    To retrieve the custom options of ordered products, you need to create a custom attribute in:
    Sales › Mass Order Export › Custom Attributes

    1. Name your custom attibute color_option, and add below script:
      $attribute = "Color"; /* You must replace the value with the label of the attribute */
      $o = unserialize($item->getData('product_options'));
      foreach($o['attributes_info'] as $opt) {
      if ($opt['label'] == $attribute) return $opt['value'];
      }​
    2. In you export template, use {color_option product} in the column you want.

    For another option called example:

    1. Create a custom attribute called example_option, and add below script:
      $attribute = "Example"; /* You must replace the value with the label of the attribute */
      $o = unserialize($item->getData('product_options'));
      foreach($o['attributes_info'] as $opt) {
      if ($opt['label'] == $attribute) return $opt['value'];
      }​
    2. In the export template, use {example_option product}.
    Use the filters

    Mass Order Export offers you many possibilities to export your orders.You can set filters according to your needs. In the Filters tab of your profile configuration, you'll find 3 subtabs.

    Order status

    Select the types of orders you want to export. For example choose to export pending, processing and complete orders.

    Customers group

    In that tab, you can select the customers group of the orders you want to include in your data feed. For example choose to export orders placed by general and not logged in customers only.

    Advanced filters

    In that tab, you can create more precise filters. For example, you can choose to export only one specific order by setting a filter:

    order > increment_id | = | Id of your order

    You can also export orders placed by customers whose lastname ends with 'son':

    order > customer_lastname | like | %son

    You have the choice between several options:

    • =, >, <...
      Equal to, greater than, lower than, greater than or equal to, less than or equal to, different from.
    • LIKE / NOT LIKE
      like: starts / ends with the character string / includes the character string.
      Not like: doesn't start / end with the character string / doesn't include the character string.
    • IS NULL / IS NOT NULL
      is null: the value is null.
      is not null: the value is not null.
    • IN / NOT IN
      in: is in (selection of several options).
      not in: is not in (selection of several options).

    Configure the FTP Settings tab

    In Mass Order Export, you can specify ftp settings to upload your file.

    Select a file and go to the Ftp Settings tab. There you'll be able to configure some parameters:

    • Enable FTP upload
      Select Yes if you want to upload your data feed using FTP.
    • Host
      In that field, fill in the host.
      For example:

      wyomind.com

    • Login
      is your login to connect to server
    • Password
      is your password to connect to server
    • Destination director
      is a relative path from the entry directory when you connect to the ftp.
      For example:

      /var/export/ftp

    • Use SFTP
      Select Yes if you are using SFTP.
    • Use Active mode
      If you are using SFTP, you don't have to care about the passive/active mode.
      For more info about Active and Passive mode, have a look to that documentation.

    The file is uploaded each time the feed is generated manually or automatically.

    The FTP upload doesn't work

    It can be due to an incorrect configuration or to a problem from your server. You need to check several things:

    • your server allows the ftp access
    • your credentials are entered without mistake
    • the host is entered without directory following it

    Here is an example of an FTP configuration:

    Troubleshooting

    Fatal error: Mage_Core_Model_Resource_Setup.php

    If your site crashes and gives this error message after uploading all files to the correct folders:

    Fatal error: Class 'Wyomind_Notificationmanager_Model_Resource_Setup' not found in includes/src/Mage_Core_Model_Resource_Setup.php on line 234

    It probably comes from installing an extension while the compiler is still enabled.

    Important note:

    • If the compilation is enabled on your website, disable it first before installing any extension from: 
      System › Tools › Compilation
      After installation re-run the compilation process and re-enable the compiler.
    • Before installing any extension, it's advisable to backup your Magento installation.

    Here is how to disable the Magento compiler:

    1. Edit the following file: includes/config.php and add a # before the 2 following lines:
      define('COMPILER_INCLUDE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'src');define('COMPILER_COLLECT_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'stat');​

      to get:

      #define('COMPILER_INCLUDE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'src');#define('COMPILER_COLLECT_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'stat');
    2. Then go back to your website admin and re-run the compilation process.
    White page using the extension

    If you're getting a white page using the extension, you should enable the error reporting in order to display the error. You can do that from index.php.

    404 error in the configuration page
    Most of the time log-out/log-in may solve this issue.
    Scheduled tasks don't work

    How do cron tasks work:

    • cron.php is launched regularly from your server side (every 5 minutes most of the time).
    • The cron task for Mass Order Export is targeted and evaluates if a data feed or a profile needs to be refreshed (depending on the timestamp stored in the database and on the schedule table for this specific profile).
    • If the above condition matches, then the data feed and the profile is re-generated.

    Be sure that you have correctly configured a scheduled task from the server side (cpanel) targeting the cron.php file in your Magento installation.

    The extension includes reporting and debug tools for the scheduled tasks in:
    system › configuration › Wyomind › Mass Order Export

    We also strongly advice to install the AOE Scheduler that will help you to monitor the Magento cron tasks.

    Base table or view not found

    This issue may be due to a problem during the installation process.

    You can fix it by following these steps:

    • Access your database via your control panel (Phpmyadmin for example).
    • Delete the entry ordersexporttool_setup from the core_resource table.

      Be careful, that entry depends on your extension. For example, if you have the extension called Simple Google Shopping, you should delete simplegoogleshopping_setup.

    • Logout from your Magento admin.
    • Log into your Magento admin.
    403 forbidden error

    If when saving your data feed configuration, you get:

    Forbidden, You don't have permission to access /.../ on this server.

    This is probably something regarding the hosting company that doesn't allow to post XML in the form.

    The mod_security (security module) includes rules that stop all post/get requests including code.

    In order to fix that issue, you should get in touch with your hosting company so that they can add some exceptions to the security rules.

    Order information is missing

    The order details are missing from the Order view in:
    Sales › Orders

    In that case, replace the content of the default.phtml template by the content of the one available in your own Magento version in:
    app > design > adminhtml > default > default > template > ordersexporttool > sales > order > view > items > renderer

    "This is a required field" error when one or more checkboxes are ticked on

    Check if all files have been uploaded on your server and if you are using the compiled CSS/JS then you should re-compile all the data from your cache section.

    Product and/or order Grids overridden by third party module

    If your products/orders grid doesn't show any new columns, it means you may have some conflicts with other extensions.

    Then, install the free extension Modules Conflict Detector from Alekseon. It will help you to check if you have conflicts in rewrites between installed modules.

    Once the module is installed, you should be able to see what the problem if you go to:
    Alekseon tools › Modules Conflict Detector

    In our case, we can see that the Order grid is overridden by:
    CompanyName_ModuleName_block_adminhtml_Order_Grid

    In that case, copy the class name that overrides the default Magento grid, for example CompanyName_ModuleName_block_adminhtml_Order_Grid and go to:
    System › Config › Wyomind › The extension

    In the System tab, you're able to override 2 grids (depending on the module):

    • Product grid to override: by default `Mage_Adminhtml_Block_Catalog_Product_Grid`
    • Order grid to override: by default `Mage_Adminhtml_Block_Sales_Order_Grid'

    You should then paste the new class name into the appropriated field and save your config.

    User's reviews

    PT

    Ecommerce Agency · Canada · User for 9 years

    ★★★★★

    Order Export extension working well

    We use XML to export orders from Magento and it is working well for us. It is almost three+ years we have been using it. I would recommend this product if you have a Magento store and need to export order to sync with some other system.

    December 5, 2022Magento 2

    James

    Merchant · United Kingdom · User for 8 years

    ★★★★★

    Excellent extension and brilliant support

    We are delighted with the Mass Order Export extension, it has saved us many hours of manual order processing and we couldn't function without it now!

    September 21, 2022Magento 2

    Mark Manshanden

    Marketing Agency · Denmark · User for 7 years

    ★★★★★

    If you want to keep your bookkeeping easy and tidy

    We use Wyomind's mass order export for a variety of uses. But the most important ones are: double check on the purchase invoices. Did we sell what we purchased and can the differences be explained. Further more we sell across different countries so need to do some paperwork to have our products cross the border. With Mass order export it is a piece of cake to export both order product information and self added constant values which relate to the different countries. The import/export information is automatically generated and distributed to our bookkeeping and customs department.

    Peter T

    Developer · Canada · User for 9 years

    ★★★★★

    Extension is working great

    Wyomind order export tool is working great for our website. we are using wyomind extensions more than 5 years for different websites. The order export tool extension have amazing functionality and meet your requirements. The Order export extension gave us access to all the order data we needed along with very flexible custom attributes. The choice of data delivery by a number of different methods and timed schedules was also very useful. Requests to Wyomind were responded to quickly and efficiently. solid and totally versatile piece of software absolutely useful for your M2 store.

    Paul S

    Developer · United Kingdom · User for 5 years

    ★★★★★

    This plugin is essential for any Magento shop with a lot of orders.

    Being able to export all the orders into a CSV file is pretty essential for the way our business works, we can easily pass this information to our accountant. The 2 things I love about this plugin the most is the support and the flexibility. Having the ability to build my own own profile to export the exact data I need is really good, they provide you with all the info needed to do this. It's also possible to add data from other 3rd party plugins, you can do this using PHP staright within the admin, that makes this plugin super powerful. Previously I was using a similar plugin from another company with Magento 1, it was good but unfortunately the support was not available. Wyomind will go above and beyond to make sure the plugin works as advertised, keep up the good work guys!

    February 13, 2022Magento 2

    Nicolas

    Ecommerce Agency · France · User for 11 years

    ★★★★★

    Excellent module d'export de commandes et bien d'autres

    Ce module est excellent pour mes exports comptable et tracking. Je l'utilise aussi pour du dropshiping. Le support est au top ! Ne pas hésiter.

    Kimmo Räntilä

    Merchant · Finland · User for 8 years

    ★★★★★

    Super fast support

    We had a problem with a script to find the orders we needed. Jean-Paul gave excellent superfast support. Now it works perfectly. Thanks!

    Kimmo Räntilä

    Merchant · Finland · User for 8 years

    ★★★★★

    Great extension and professional support

    This extension has been great. We have used it to get a list for Intrastat export reports and find orders with certain products. Thanks.

    Jelle

    Developer · Belgium

    ★★★★★

    Awesome tool and support

    My client has been using the Magento 1 version of this extension for years. So it is needless to say, we needed it for Magento 2 too. The tool is fast and flawless. It's very flexible, as was the Magento 1 extension. Never had any issue with the support either. They're fast in responses!

    March 12, 2021

    Daniela Buehrig

    Ecommerce Agency · Australia · User for 8 years

    ★★★★★

    Easy and uncomplicated

    The data Mass order export extension is easy to use and to implement. Have used this extension for M1EE and for M2EE and currently is in use for M2EE 2.3.5. However, with the upgrade to 2.3.5 we see some inconsistencies in performance. Nothing that can't be solved, it just requires a bit of time and effort to get it to work again. Whilst the last version was easier to configure, the current version allows more flexibility as you can create unique data comands.

    Peter

    Merchant · Sweden · User for 6 years

    ★★★★★

    Works good when it works

    Have used this extesions for more then 3 years on M2 and many more years on M1 and works really good. Can take some time to load big feeds and can also be a bit buggy when upgrading. But overall I would say its a good module that allow you to get the customized data you need.

    November 20, 2020Magento 2

    Carlos

    Ecommerce Agency · Hong Kong SAR China · User for 10 years

    ★★★★★

    very useful

    I've been using this extension for more than 4 years and it has been very useful for our eCommerce. The option of using PHP script to get customized data from the system is a great differential for us. Recommended.

    October 19, 2020Magento 1 / OpenmageMagento 2

    Nicola

    Merchant · Italy · User for 6 years

    ★★★★★

    I have tried many extensions but it is the only one that works for me

    excellent for exporting orders to invoicing management systems, great extension and great assistance

    October 6, 2020Magento 2

    Scafflaw

    Developer · United States · User for 7 years

    ★★★★★

    Great extension

    Great extension with lots of flexibility to get the export file you need.

    August 11, 2020Magento 1 / Openmage

    KaffeTilbud.dk

    Merchant · Denmark · User for 7 years

    ★★★★★

    Necessary tool for every serious webshop

    If your webshop in magento starts to run a bit and you are in a market with many competitors, the price pressure is high and the margins are low. With many orders and weekly price adjustments, it is difficult to monitor the overview of profitability. Thanks to Wyominds export tool, we can. The weekly export gives us a direct overview of how much we have left over per order and what the webshop has delivered last week. That gives you peace of mind.

    Thiago

    Developer · Brazil · User for 8 years

    ★★★★★

    Great tool for data extraction

    Our store needed to export orders in different formats to integrate sales data with ERP, CRM and the post management system. All of this was possible with the Order Export Tool module. Today we have a data export profile for every need, working perfectly.

    March 13, 2020Magento 1 / OpenmageMagento 2

    daniela

    Australia · User for 8 years

    ★★★★★

    Simple, quick and it works

    The extension is very easy to implement and it works without any problems. The support team is super responsive and try to action things as soon as possible. The extension does exactly what is promised.

    November 10, 2019Magento 2

    Paul

    Merchant · United Kingdom · User for 8 years

    ★★★★★

    Great Extension

    Great extension, works as expected. If there are any technical issues support staff are very good

    Ben

    United Kingdom · User for 9 years

    ★★★★★

    Very customisable, Great support

    Excellent extension which has endless power and customisation. Any questions and support team are there to help

    June 29, 2019Magento 2

    Tait

    United Kingdom · User for 8 years

    ★★★★★

    Superb products

    We've been using Wyomind extensions for years and always have great support. The Order Export module is superb and allows so much flexibility. The support team are always quick to react and help us to resolve any issues.

    Magento 1 / OpenMage Compatibility

    Supported by our master extension versions

    • 1.14.4
    • 1.14.3
    • 1.14.2
    • 1.14.1
    • 1.14.0
    • 1.9.4
    • 1.9.3
    • 1.9.2
    • 1.9.1
    • 1.9.0

    Supported by our legacy extension versions

    • 1.13.1
    • 1.13.0
    • 1.12.0
    • 1.11.2
    • 1.11.1
    • 1.11.0
    • 1.10.1
    • 1.10.0
    • 1.8.1
    • 1.8.0
    • 1.7.0
    • 1.6.2
    • 1.6.1
    • 1.6.0
    • 1.5.1
    • 1.5.0
    • 1.4.2
    • 1.4.1
    • 1.4.0
    • 1.3.3
    • 1.3.2
    • 1.3.1
    • 1.3.0
    • 1.2.1
    • 1.2.0
    • 1.1.8
    • 1.1.7
    • 1.1.6
    • 1.1.5
    • 1.1.4
    • 1.1.3

    Changelog

    6.0.0

    Initial release for the master version

    5.0.0 legacy

    Initial release for the legacy version

    4.2.5

    • Fix to export CSV header lines when the option to generate one file per command is activated

    4.2.4

    • Fix for the "Create one file for each order" option

    4.2.3

    Improvement

    • Mass delete action from the product grid
    • Improvement of the blackbox library

    Bug fix

    • Fix on the columns order in Sales > Orders > Edit > Ordered Items for bundle products
    • Typos

    Patch v4.2.3.4

    • Code clean

    Patch v4.2.3.3

    • Code clean

    Patch v4.2.3.2

    • Code clean

    Patch v4.2.3.1

    • Fix for ANSI encoding

    4.2.2

    • Add of From and From Name fields for exports via email

    Patch v4.2.2.3

    • Fix to enhance the management of last exported order

    Patch v4.2.2.2

    • Fix for compatibility with PHP 5

    Patch v4.2.2.1

    • Fix for the email body

    4.2.1

    Improvement

    • Exported orders can now be sort by any field (increment_id, entity_id, created_at,...).

    Patch v4.2.1.3

    • Fix for the email body

    Patch v4.2.1.2

    • Add of extra headers for exports

    Patch v4.2.1.1

    • Fix for the update script of v4.2.1

    4.2.0

    Improvement

    • /baseline/ and /headline/ key words can now be used in the same profile
    • Csv/txt file can now use an escaper character
    • For developer: you can now force the loading of entities by using a php code in the header
      <? $this->load(["product","invoice"]); ?>
    • Code cleaning
    • Updated templates for Magento 1.8.x
    • Mass Action to generate several profiles
    • New options to generate profiles from urls, examples below:
      http://www.website.com/index.php/ordersexporttool/ordersexporttool/generate/id/1,2,3,4,8/order/145000006,145000003/ak/{YOUR_ACTIVATION_KEY}
      http://www.website.com/index.php/ordersexporttool/ordersexporttool/generate/order/145000006,145000003/ak/{YOUR_ACTIVATION_KEY}
      http://www.website.com/index.php/ordersexporttool/ordersexporttool/generate/ak/{YOUR_ACTIVATION_KEY}

    Patch v4.2.0.1

    • Fix for the email body

    4.1.3

    Improvement

    • Mix of different sources of object in the template is now allowed, by example :
      {product::start}
         <order_id>{increment_id order}</order_id>
         <sku>{sku product}</sku>
      {product::end}

    4.1.2

    Improvement

    • Management of .dat format files

    4.1.1

    Bug fix

    • Fix for the orders status update

    4.1.0

    Improvement

    • New management of licenses

    4.0.1

    Patch:

    • Compatibility fix for Magento Security Patch SUPEE 6788

    4.0.0

    New feature

    • Possibility to send the exports by email

    Patch:

    • Compatibility fix for Magento Security Patch SUPEE-6285

    3.4.0

    Improvement

    • Better compatibility with Magento > 1.4
    • Automatic change of the order status
    • Generated link on the profile page

    3.3.2

    Bug fix

    • Fix on orders filtered out by using php code

    3.3.1

    Improvement

    • Better files management after generation and before FTP upload

    3.3.0

    Improvement

    • Simplified interface
    • Possibility to run an export when a customer is placing an order
    • Creation of a log file when logs are activated

    3.2.1

    Improvement

    • New cron tasks management
    • No upload for empty files
    • Flags update

    Bug fix

    • Fix on json_decode

    3.2.0

    New feature

    • Possibility to filter product fields

    Improvement

    • Optimized filters

    3.1.0

    New feature

    • Additional function: baseline

    3.0.1

    Bug fix

    • Fix on the export (multiple files)

    3.0.0

    Improvement

    • Optimized script
    • New management of product types

    2.9.0

    New feature

    • SFTP upload

    2.8.0

    New feature

    • New option to manage exported product relationship

    Bug fix

    • Fix on line break

    2.7.0

    New feature

    • Additional header
    • TSV and DIN file extensions support
    • Encoding type selection (UTF8 or ANSI)

    Bug fix

    • Fix on cron conflict

    2.6.1

    Bug fix

    • Fix on product instance for CE

    2.6.0

    New feature

    • Split one CSV line into several sub-lines (eParcel requirements)

    Improvement

    • Easier custom attributes management

    2.5.0

    New feature

    • New function: breakline

    2.4.0

    Improvement

    • Code cleanup

    2.3.2

    Improvement

    • Data consolidation (CSV mode)

    2.3.1

    Improvement

    • Cron file update

    2.3.0

    New feature

    • New advanced options

    Improvement

    • Files format update

    2.2.0

    New feature

    • New export options
    • 'Order by' filtering option
    • Generation of one file for each exported order

    2.1.0

    New feature

    • Each order can be marked as exported for one or more profiles
    • Filters by status rather than by states

    Improvement

    • Improvements in the profile configuration

    2.0.1

    Bug fix

    • Minor fix

    2.0.0

    • First Release

    Feature request

    Specific needs or any ideas of enhancements and new features to add to the extension? Tell us more, we'll get back to you shortly!

    Thank you

    That’s a wrap.

    We will get back to you as soon as possible.

    You may also like