Starts With
The starts with rule is used to determine if a field's value begins with a specified string. For instance, you might use this to ensure that certain prefixes in SKU or product codes are consistent across your feed.
Options
To use the starts with rule, provide the string that the field value should start with. This can be either a static value or a dynamic field from the product.
Case Sensitivity
By default, the match is not case-sensitive. To enforce case sensitivity, enable the caseSensitive
option.
Examples
Basic Usage
In this example, we check if the color starts with "Red". This will match "Red", "Reddish", and "Reddish Brown", but not "Dark Red". If thats the case we overwrite the color with "Red".