Help Center

Help Center/Vendor Panel/Data Imports/

Imported Fields Format

An imported CSV file with product information can contain the columns described below.

OneBonfire can import only the files that use the UTF-8 character set. If some values aren’t imported properly (or at all), please try saving your file with the UTF-8 encoding and importing it again.

Vendor

The vendor that the item belongs to. This field is mandatory.

EXAMPLE: Organic Meds

Language

A two-letter lowercase language code. This field is mandatory.

EXAMPLE: en

Product code

This field is mandatory, and its value must be unique for each product. It can contain numbers, letters, or their combinations (up to 32 symbols). If you plan to export product data to a CSV file, make sure that the CODE for each product is specified.

EXAMPLE: B0002OG6NY

If the value of the field is equal to any existing product code, the imported data will replace the data of that product.

Product id

The numeric ID of the product from the store’s database. If Product code is empty, then Product id will be used to identify the product instead.

EXAMPLE: 130

Product name

The name of the product, which can contain up to 255 symbols.

EXAMPLE: Ice Cream Cake

Description

The full description of the product, which can contain up to 16 777 215 symbols.

EXAMPLE: Ice Cream Cake is a rare indica dominant hybrid strain.

An imported file may contain HTML markup that affects the look of the text. It often occurs in the description, for example:

<p><i>Ice Cream Cake</i> Ice Cream Cake is a rare indica dominant hybrid strain.</p>

For CSV files it doesn’t matter, but when you import an XML file, a problem occurs: XML and HTML tags both look like <...>, and OneBonfire can’t distinguish what is what. That’s why HTML tags (a part of the description) must be separated from the XML tags (a part of the file structure). A text with HTML markup must be imported as follows:

<![CDATA[<p><i>Ice Cream Cake</i> Ice Cream Cake is a rare indica dominant hybrid strain.</p>]]>

Short description

The short description of the product, which can contain up to 16 777 215 symbols.

EXAMPLE: Rare indica strain.

Category

The full path to the main category of the product. Parent and child categories in the path must be separated from each other with the Category delimiter that you specify when you import a CSV file with product data.

EXAMPLE (the delimiter is ///): Oklahoma///Raw Cannabis Products///A Bud

If the specified categories and subcategories don’t exist in the database, they will be created.

If the name of your category contains a colon (:), for example Oklahoma///Raw Cannabis: Products, then you need to escape it like this in the imported file: |Oklahoma///Raw Cannabis: Products|. Otherwise the category won’t be imported correctly.

Secondary categories

The full path to additional categories to which the product is assigned. Parent and child categories must be separated with the Category delimiter that you specify when you import a CSV file with product data. If a product is assigned to several secondary categories, the paths to each category must be delimited with a semicolon (;).

EXAMPLE (the delimiter is ///): Oklahoma///Raw Cannabis Products///A Bud; Oklahoma///Raw Cannabis Products///B Bud

Price

The price of the product in your store. It must be in 0.00 format.

EXAMPLE: 1600.00

List price

The recommended price of the product. It is used to display a discount label on the storefront: Discount = List price - Price. The list price must be in 0.00 format.

EXAMPLE: 1750.00

Status

The status of the product:

  • A—active—the product appears on the storefront.
  • H—hidden—the product doesn’t appear on the storefront. Customers can view it via direct link.
  • D—disabled—the product appears only in the Administration panel.

EXAMPLE: A

Quantity

The amount of this product that you have in stock.

EXAMPLE: 50

Min quantity

The minimum amount of this product that can be purchased in one order.

EXAMPLE: 1

Max quantity

The maximum amount of this product that can be purchased in one order.

EXAMPLE: 10

Quantity step

The number of items of this product by which a customer can increase or decrease the number of this product in cart. For example:

  • Min quantity is 2.
  • Max quantity is 10.
  • Quantity step is 2.

Then customers will be able to buy 2, 4, 6, 8, or 10 items of this product in one order.

EXAMPLE: 1

List qty count

The maximum number of choices in the drop-down list that allows you to select the number of product items in cart. For example:

  • Min quantity is 2.
  • Max quantity is 10.
  • Quantity step is 2.
  • List qty count is 3.

Then customers will be able to choose between 2, 4, or 6 items of this product.

EXAMPLE: 10

Using List qty count will turn the Quantity input field on the product page into a select box.

Unit name

The unit of the product. For example, 'g' or 'mg' without quotes.

EXAMPLE: g

Units in product

The number of units in the product.

EXAMPLE: 5.000

Required for automatic calculation of price per unit.

Weight

The weight of the product.

EXAMPLE: 20.25

The weight must be an integral number or a decimal fraction with no more than two decimal places. The fractional part is separated by a full point (.).

Shipping freight

The additional shipping cost for this particular product. The shipping freight is added to the shipping charges calculated at checkout; it can be used as packaging cost.

EXAMPLE: 2.00

Assuming that the calculated shipping charges are $50, and the shipping freight of a product is $5, then having 3 items in the cart would make the total shipping cost $65.

Inventory tracking

  • B—track the number of products in stock.
  • D—do not track the number of products in stock.

EXAMPLE: D

Out of stock actions

This field determines what customers can do on the product page when the product is out of stock:

  • B—buy the product in advance.
  • S—sign up to receive an email notification when the product is available.
  • N—nothing.

EXAMPLE: B

Free shipping

  • Y—the product is shipped for free and won’t be taken into account for shipping cost calculation, if the shipping method can be used for free shipping.
  • N—the product isn’t shipped for free and will always be taken into account for shipping cost calculation.

EXAMPLE: Y

Zero price action

This field describes the action when the product price is zero:

  • R—do not allow to add the product to cart.
  • P—allow to add the product to cart.
  • A—ask customer to enter the price.

EXAMPLE: A

Images

The path (or paths) to product images. Multiple images can be specified by using the image delimiter in the additional settings on the File tab of an import preset.

EXAMPLE: exim/backup/images/main_image.jpg///exim/backup/images/additional_image.jpg

The image file can be specified without a path (just its name) if you specify Images directory when you import a CSV file with product data.

You can specify alternative text for images by adding it after the path.

EXAMPLE: exim/backup/images/main_image.jpg#{[ar]:Arabic alt text;[en]:English alt text;}///exim/backup/images/Nadditional_image.jpg#{[ar]:Arabic alt text;[en]:English alt text;}

If each product image has its own column in a CSV file, you can map all of them to Images. Then these fields will be combined properly, and multiple images will be imported for a product.

Detailed image

The full path to the detailed product image.

EXAMPLE: /home/client/public_html/cscart/var/files/exim/backup/images/detailed_image.jpg

The image file can be specified without a path (just its name) if you specify Images directory when you import a CSV file with product data.

You can specify alternative text for images by adding it after the path. For example, to specify ALT TEXT as an alternative text for image in English and German, import the image as follows:

EXAMPLE: /home/client/public_html/cscart/var/files/exim/backup/images/detailed_image.jpg#{[de]:ALT TEXT;[en]:ALT TEXT;}

Thumbnail

The full path to the product thumbnail image. Thumbnails are generated from detailed images automatically, so you need to use this field only if you want a thumbnail that is different from the detailed image of the product.

EXAMPLE: /home/client/public_html/cscart/var/files/exim/backup/images/thumbnail_image.jpg

Specifying the paths and alternative text of the thumbnail works the same way as for the detailed image.

Search words

The list of search words for the product, which can contain up to 65 535 symbols. A product with search words can be found by entering these search words in the OneBonfire built-in search bar.

EXAMPLE: indica, hybrid

OneBonfire search is not case-sensitive.

Page title

The name of the page as displayed in a browser, which can contain up to 255 symbols.

EXAMPLE: Ice Cream Cake A Bud

Promo text

A short promo text displayed on the product page, which can contain up to 16 777 215 symbols.

EXAMPLE: Orders within next 2 days will be shipped on Monday

Available since

The date when the product becomes available for sale. It is used when the out-of-stock action is set to Buy in advance. It must use the following format:

dd mmm yyyy 00:00:00

EXAMPLE: 20 Dec 2024 14:05:00

SEO name

The SEO name of the product.

EXAMPLE: my-product

Popularity

The popularity of the product. It is an integer that changes depending on the activity around the product (when the product is viewed, added to cart, removed from cart, or purchased). The higher it is, the more popular the product is.

EXAMPLE: 8