Supplier catalogs

How to prepare a vendor price list for import

2026-06-28
Task

A vendor sends a price list where the price is stored as USD 24.90 and the minimum order as min 6. The import needs separate vendor_code, name, unit_price, currency, and moq fields.

Short answer

For price, use the regular expression [0-9]+(?:[,.][0-9]+)? (finds an integer or decimal number: one or more digits plus an optional decimal part after a dot or comma). If the currency prefix is always the same, a simpler option is to remove the USD substring and keep the number.

How to do it in Eofferix

Method 1: use a regular expression in Eofferix

  1. Create the output column unit_price_regex from unit_price_raw.

  2. Open the column settings and check the preview.

    Opening the unit_price_regex settings in Eofferix
    The animation shows opening the settings of the output column.
  3. Add a rule: condition Regular expression, value [0-9]+(?:[,.][0-9]+)? (finds an integer or decimal number: one or more digits plus an optional decimal part after a dot or comma), action Remove everything except.

    Regular expression rule for extracting unit price
    The rule keeps only the numeric price part from the supplier value.

Method 2: use substring search in Eofferix

  1. Create a second output column unit_price_text from the same source field.

  2. Open the settings of unit_price_text.

    Opening the unit_price_text column in Eofferix
    Use this variant only when the currency prefix is stable across the supplier file.
  3. Add a substring rule: condition contains substring with the currency prefix, action replace substring, result empty.

    Substring rule for removing a currency prefix from price
    For Replace substring, the search text is in the condition; leave the result empty to remove it.

Before / after

Before

source data
vendor_itemdescriptionunit_price_rawmoq_raw
VN-1001Hudson desk lampUSD 24.90min 6
VN-1002Parker lounge chairUSD 139.00min 2

After

result
vendor_codenameunit_pricecurrencymoq
VN-1001Hudson desk lamp24.90USD6
VN-1002Parker lounge chair139.00USD2

What to keep in mind

  • A regular expression is safer when suppliers vary currency, spaces, or decimal format.
  • Substring removal is faster to maintain for stable values such as USD 24.90.
  • Use the same number extraction for MOQ values such as min 6.

Process data faster with Eofferix

Create a free account to automate catalogs and price lists around your own rules.

Sign up