Helpcenter +918010117117 //d2pyicwmjx3wii.cloudfront.net/s/573db3149f0d58741f0cc63b/ms.settings/5256837ccc4abf1d39000001/57614ef64256dc6851749879-480x480.png" [email protected] https://www.facebook.com/StoreHippohttps://twitter.com/StoreHippohttps://www.linkedin.com/company/hippoinnovations/https://plus.google.com/+Storehippo/posts
B4,309-10 Spaze iTech Park, Sector 49, Sohna Road, 122001 Gurgaon India
call to replace anchor tags contains '/admin' in href

Importing orders

StoreHippo provides you support for importing orders. You can add an option for bulk order creation. Once this option is added, the multiple orders can be added via CSV file. 

Adding hook for import order option

To add an option for bulk order creation, you need to add a hook. Follow the steps mentioned below to add a bulk order creation option:

  • Go to the Advance Settings > Hooks section in the StoreHippo Admin Panel
  • Click the Add New button. 
  • In the Name field, provide the hook name.
  • Enter "ms.orders" in the Entity field and "struct" in the Command field.
  • Select "Post" from the Mode dropdown.
  • In the Action field, select the "Execute Handlers" option.
  • Paste the following code in the Handler field.
function(req, res, next){
  try{
    if(!res.data || !res.data.settings) return next();
    res.data.settings.enableOrderImport = '1';
    res.data.settings.modifyImport = true;
    res.data.settings.modifiedImportTitle = 'Bulk Order Creation';
  }catch(e){
    console.log('error in hook file to link',e.message)
  }
  next();
}
    • Click the Save button to apply the changes.

    Importing orders

    Once you have added the hook for import order, the Bulk Order Creation option is added. Follow the steps mentioned below to import the orders:

    • Go to the Orders > Orders section in the StoreHippo Admin Panel to import the orders.
    • Click on the vertical ellipsis button in the top section. The following drop-down appears: 
    • Click the Bulk Order Creation option.
    • A pop-up will open up.
    • Click the Choose File option and upload the CSV file. You can also download the sample CSV file.
    • When the file is uploaded click the Import File button.

    The orders added in the CSV will appear in the Orders section. 

    Checking Status

    You can check the status of the ongoing process when the import process is initiated. Click on the notification (bell) icon on the top right side of your admin panel to view the status of import.

    The status of the import process can be viewed by clicking on the button. You can find all the details of the imported files in Import logs.


    Related Topics

    Exporting Orders

    Managing orders

    2022-07-15T11:15:54.223Z