Using operators
How to use operators in Plytix formulas, with real examples of when you'd use each oneOperators let you compare values against each other, and combine, transform, or restructure values within a formula. This article covers all ten operators, plus common use cases combining them.
Comparison operatorsEQ
Verifies that two values are equal. Returns True if they match, False if they don't.
Syntax:
EQ(value1, value2)
- value1: the first value.
- value2: the value to test against
value1for equality.
Example:
EQ(1, 1)
Result: True

NE
Tests whether a value is not equal to another.
Syntax:
NE(value1, value2)
- value1: the first value.
- value2: the value to test against
value1for inequality.
Example:
NE(1, 8)
Result: true
GT
Tests whether a value is strictly greater than another value.
Tests whether a value is strictly greater than another value.
Syntax:
GT(value1, value2)
- value1: the value to test as being greater than
value2. - value2: the second value.
Example:
GT(1, 2)
Result: False
GTE
Tests whether a value is greater than or equal to another value.
Syntax:
GTE(value1, value2)
- value1: the value to test as being greater than or equal to
value2. - value2: the second value.
Example:
GTE(10, 10)
Result: true
LT
Tests whether a value is strictly less than another value.
Syntax:
LT(value1, value2)
- value1: the value to test as being less than
value2. - value2: the second value.
Example:
LT(1, 2)
Result: true
Formula in use:
LT($ATT.SUGGESTED_RETAIL_PRICE, $ATT.STORE_PRICE)
This checks whether the suggested retail price is lower than the current store price, useful for flagging pricing errors or automatic markdowns.

LTE
Tests whether a value is less than or equal to another value.
Syntax:
LTE(value1, value2)
- value1: the value to test as being less than or equal to
value2. - value2: the second value.
Example:
LTE(1, 2)
Result: true
CONCAT
Concatenates, or joins, two or more values together.
Syntax:
CONCAT(value1, value2, [value3, ...])
- value1: the value that
value2will be appended to. - value2: the value to append to
value1. - value3, … (optional): additional values to append.
Example:
CONCAT("HELLO", " ", "WORLD")
Result: HELLO WORLD
When using a Multiselect attribute, CONCAT wraps the output in brackets. Use the JOIN operation instead if you want to remove them.
Formula in use: creating a compound title
CONCAT($ATT.SLOGAN, " ", "|", " ", $ATT.SHORT_DESCRIPTION)
MAP
Applies an operation to every item in a list.
Syntax:
MAP(operation, list)
- operation: the operation to perform on each item. Use
$$ITEMas a placeholder for the current item in the list. - list: the list of elements to apply the operation to.
Example:
MAP(SUM($$ITEM, 3), [1, 2, 3])
Result: 4, 5, 6
Formula in use: applying HTML bullet points to a Multiselect attribute
CONCAT("<ul>", JOIN(MAP(CONCAT("<li>", $$ITEM, "</li>"), $ATT.PRODUCT_COLOR_MULTISELECT), ""), "</ul>")
This wraps every value in a Multiselect attribute in its own <li> tag, then joins them all inside a single <ul>, turning a plain list of values into a properly formatted HTML bulleted list.

SPLIT
Splits a string into substrings based on a delimiter, returning the result as an array.
Syntax:
SPLIT(string, separator)
- string: the string you want to split.
- separator: the character or text to split on.
Example:
$ATT.LABEL = 'h-e-l-l-o'
SPLIT($ATT.LABEL, "-")
Result: ['h', 'e', 'l', 'l', 'o']
This is useful when you need to convert plain text into an array, for example, to format data correctly for an output that requires a list rather than a single string.
DECIMAL_FORMAT
Changes the decimal separator used in a number.
Syntax:
DECIMAL_FORMAT(number, separator)
- number: the decimal number to format.
- separator: the decimal separator to use.
Example:
DECIMAL_FORMAT(2.2, ",")
Result: 2,2
Common Use Cases for Operators
Flagging pricing errors before they go live
Combine LT with IF (see Logical operations) to catch products where the store price has accidentally dropped below the suggested retail price:
IF(LT($ATT.STORE_PRICE, $ATT.SUGGESTED_RETAIL_PRICE), "Check pricing", "OK")
Formatting decimal numbers for a specific region
Different regions use different decimal separators (a period in the US, a comma in much of Europe). Use DECIMAL_FORMAT to reformat the same underlying number differently for different Channels, without maintaining separate attributes:
DECIMAL_FORMAT($ATT.PRICE, ",")
Turning a Multiselect attribute into formatted HTML
Combine MAP, CONCAT, and JOIN to transform a plain Multiselect attribute (like a list of features or materials) into a properly formatted HTML bulleted list for a Channel or Brand Portal, as shown in MAP’s example above.
Building a unique identifier or SKU from multiple parts
Use CONCAT to build a compound value from several attributes, for example, combining a brand code, category code, and sequential number into one SKU pattern, without maintaining it as a separate manually-entered field.
Breaking apart a combined value into individual components
If a single attribute stores multiple pieces of information separated by a delimiter (like a combined “Color-Size” variant code), use SPLIT to break it into an array you can reference individual parts of elsewhere in a formula.
Comparison operators (EQ, NE, GT, GTE, LT, LTE) rarely appear alone, they’re almost always the condition inside an IF, AND, or OR from Logical operations.
Frequently Asked Questions
GT(Greater Than) returnsTrueonly if the first value is strictly greater than the second.GTE(Greater Than or Equal To) returnsTrueif the first value is greater than or equal to the second.
(The same distinction applies to LT and LTE.)
This is expected behavior. CONCAT formats array/list types using bracket notation. Use JOIN instead if you want to combine list values into a clean string without brackets.
Yes. This is one of the primary use cases for MAP. It applies the same transformation, such as wrapping items in HTML tags or altering text case, to every value in the array without requiring separate formulas.