Skip to main content

Allow Whitespace For Code Configuration When Importing Product Data

Learn how to enable or disable the use of whitespace in product codes in DealPOS

Teguh Warsono avatar
Written by Teguh Warsono
Updated this week

In product codes, the use 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 & 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

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

The product has been successfully imported into DealPOS.

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.


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).

dealpos-trial-indonesia
Did this answer your question?