Skip to main content

Allow Whitespace For Code Configuration When Importing Product Data

Enable or disable the usage of whitespace in product codes in DealPOS

Written by Teguh Warsono
Updated over a week ago

In product codes, the useage of spaces (whitespace) is not allowed for several reasons:

1. Preventing System Errors

Many systems interpret spaces as data separators. If a product code contains spaces, the system may misread the data.

Example:
ABC 123 → may be interpreted as two separate values: ABC and 123

2. Easier Search

Codes without spaces are easier to search, recognize, and process.

3. Preventing Data Duplication

Spaces can cause similar-looking codes to be treated as different data.

Example:
ABC123
ABC 123

System-wise, these may be considered two different products.

4. System and Integration Standards

Most POS, ERP, marketplace, and inventory systems use the following format:

  • No spaces

  • No symbols

  • Alphanumeric characters only

This helps ensure smooth system integration.

However, if your product codes contain whitespace, you can enable this option in DealPOS by following the guide in the related article.


When you try to import products, an error notification like this will appear

VariantCode cannot contains spaces

Therefore, you need to enable the following configuration:

Step 1. Go to Settings, click Product Module, then enable Allow Whitespace for Code in DealPOS

Setting

Step 2. Then, try importing the product data again using product codes with whitespace in DealPOS

Import

The product has been successfully imported into DealPOS.

Success import

For a complete guide on importing products, please refer to the following article:
Import Product Using CSV or Excel

Notes

When creating products manually, spaces (whitespace) cannot be added to the product code.

Product manually
Code

Related Articles


DealPOS is an online point-of-sale (POS) application specifically designed for retail businesses in categories like Fashion, Minimarkets, Electronics, Fresh Food, and Building Material Stores.

With DealPOS, you can manage both online and offline store inventory in real-time on a single platform. You can also sell through omnichannel (offline and online) as DealPOS integrates with marketplaces (Shopee, Tokopedia, TikTok Shop, Lazada) and instant web stores (Shopify and WooCommerce).

For more detailed financial book-keeping, Books App is available as a separate accounting application. In addition, stock counting becomes easier with the DealPOS Scanner App, which supports barcode scanning features.

dealpos-trial-indonesia
Did this answer your question?