Skip to main content
Skip table of contents

Handling Barcodes with Embedded Weight/Price

Solteq Commerce Cloud supports barcodes with embedded weight or price; this is done by either

  • simply adding the correct SKU for the product, or

  • directly adding the type of the scale product and a short code.

When a barcode contains a weight or price of the individual product, it is stripped to its plain format and the check digit is calculated based on that. Value from that calculation is then used in every search.

  • If the input is not identified as variable length code, it is used as is. In a Stock where quantities are used, the quantity is taken from quantity part in quantity codes with correct divider.

  • Whole check for variable length code is input length 13, input is numeric and character 13 (check digit) matches the check digit that is calculated from the first 12 digits.

  • Quantity is used only if the quantity in barcode is larger than zero.

  • Price barcodes can be used in searches, but the quantity is not calculated in the Stock.

Example of prepackaged weight product settings (for details about the mod 10 formula, see https://en.wikipedia.org/wiki/Luhn_algorithm, for example ):

  • Example package with barcode 2386584202176

  • For this example, the correct SKU is 2386584200004.

  • The product does not have the Scale short code, as it is not weighed on store; instead the product comes prepackaged to Stock, with SKU 2386584200004.

    Esipakattu_viivakoodi.png

    The following table contains some examples of weight/price barcodes.

Type

SKU or Scale Information in Product Details

Barcode on Product

Price or Weight of the Product

Start 2000 Price with 2 cents

2000514300007 or Scale: Price and short code 5143

2000514301233

€1,23

Start 2100 Price with 1 cents

2100514300004 or Scale: Price and short code 5143

2100514301230

€12,30

Start 2200 Price with 0 cents

2200514300001 or Scale: Price and short code 5143

2200514301237

€123,00

Start 23 Weight in kg with 3 decimals

2300514300008 or Scale: Weight and short code 5143

2300514301234

0,123 kg

Start 24 Weight in kg with 2 decimals

2400514300005 or Scale: Weight and short code 5143

2400514301231

1,23 kg

Start 25 Weight in kg with 1 decimals

2500514300002 or Scale: Weight and short code 5143

2500514301238

1,23 kg

Start 28 Longer price with 2 cents

2805143000003 or Scale: Price and short code 5143

2805143101236

€101,23

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.