Import Bundle Products
This guide explains how to import bundle products and their raw components in one go from a file, instead of creating each bundle by hand. You can prepare the file in Excel or as a CSV file and upload it to Daftra.
Note: The import needs the Inventory Management app, the Bundles and Composite Items System setting turned on, and permission to add products.
Article contents
How to access
From the main menu click Inventory, then Products & Services, then click the Import Products button (cloud icon) at the top of the page, then choose Import Products.
Prepare the file in Excel
- On the import screen click Download Sample to get the template file with the required columns and example rows.
- Open the file in Excel and add one row for each bundle product, and one row for each raw product that goes into it (see Import file columns).
- Link each raw product to its bundle by writing the bundle’s product code in the Bundle Code column, and the quantity it uses in Bundle Item Quantity.
- Save the file from File → Save As and choose CSV (Comma delimited).
Import steps
- Open Products & Services.
- Click the Import Products button (cloud icon) at the top of the page, then choose Import Products.
- Click Choose File and select the CSV file you prepared.
- Choose the delimiter that matches your file, usually Comma Separated.
- If the first row of your file is data and not column titles, turn on Import First Row.
- Click Next Step.
- Match each system field to its column in your file.
- To update products that already exist instead of skipping them, turn on the option to update existing products with the new data, and choose the field that identifies the product (such as name, product code or barcode).
- Click Import.
The import runs in the background and an import progress page shows how far it has got and how many records were imported or failed. You can keep working while it runs.
Import file columns
| Column | Description |
|---|---|
| Name (required) | Name of the bundle product or the raw product. |
| Type | Whether the row is a bundle product or a raw product that belongs to a bundle. |
| Bundle Type | For a bundle product: Pack or Compound. Required when the type is a bundle product. |
| Bundle Code | For a raw product: the product code of the bundle it belongs to. If left empty, the raw product is imported as a normal, unlinked product. |
| Bundle Item Quantity | Numbers only: how much of the raw product goes into the bundle. Ignored unless the row is a raw product with a bundle code. |
| Product Code | Leave it empty to let the system generate it from the product numbering. |
| Description / Barcode / Category / Brand / Supplier | Extra product details. |
| Selling Price / Purchase Price / Minimum Selling Price | Product prices. |
| Tax 1 / Tax 2 | The tax number by its order in the tax settings, top to bottom (1, 2, …). |
| Warehouse | The warehouse number by its order in the account (main warehouse 1, the second 2, …). |
| Track Stock | 1 to track stock, 0 for no tracking. |
| Stock Quantity | The opening quantity. To import without quantities, do not match any column to this field. |
| Tracking Type | Quantity only, serial number, lot number, expiry date, or both. Product tracking must be turned on first. |
| Price List 1 / 2 / 3 | The product price in each price list. |
If products have custom fields, they appear on the matching screen and you can add them as columns in the file.
Import rules
| Rule | Result if not followed |
|---|---|
| The file is a supported CSV: Comma Separated, Tab Delimited or Semi-Column Separated. | The data is not read correctly. |
| A bundle product must have a bundle type. | Bundle type is required |
| A raw product needs a bundle code to link to its bundle. | It is imported as a normal, unlinked product. |
| Bundle item quantity is numbers only. | The row is rejected or the value is ignored. |
| A product already exists with the same matching field. | It is skipped, unless you turned on updating existing products. |
What happens after the import
- Bundle products and their components are added to Products & Services and work like bundles added by hand.
- Existing bundle products are not deleted or changed unless you turned on the update option.
FAQ
Can I import bundle products from an Excel file?
Yes. Prepare the file in Excel with the same columns as the sample file, save it as CSV, and upload it from Products & Services → Import Products → Import Products.
How do I link a raw product to a bundle in the import file?
For each raw product, write the bundle’s product code in the Bundle Code column and its quantity in Bundle Item Quantity.
I get the message “Bundle type is required”
The row is a bundle product and the Bundle Type column is empty. Write Pack or Compound and import again.
Arabic names show as strange symbols after the import
Save the file from Excel as CSV UTF-8, not plain CSV, then import again.
I want to change the components or prices of existing bundles
Edit the data in the file and, when importing, turn on the option to update existing products with the new data and choose the matching field (name, product code or barcode).