Feed Actions: Search for value
LitCommerce Feed Management offers multiple rules when setting up your feed, enabling you to locate, modify, and optimize your product data for the target platform.
This article introduces you to the “Search for value” action.
Set up and apply
For more details on how to set up and apply the rule, refer HERE.
How it works
The “Search for value” action appears under the Then and And-statements. It allows you to specify a product attribute (including Main Store fields, metafields, and custom fields) to set values based on the detected data from another product attribute.

Find the two fields: Product attribute and Target product attribute.

The rule contains two boxes:
Search for value in (part of) field: Displays the text you want to find in your product attribute.
Set to value: Displays the new text that will replace the data of the target product attribute.
You can enter multiple values in each box, but only one value per line. Each line in both boxes forms a pair of values, and LitCommerce matches them line by line. Values are not case-sensitive.
This rule is ideal for data correction, text standardization, platform compliance, and SEO optimization, all while preserving your original Main Store data.
Example: You sell cupcakes with product titles containing colors, such as "White, Pink, Yellow, etc." These products have a metafield called "color" with values in Hex color codes, such as "#000000, #fbacba, #ffe599, etc."
You would like LitCommerce to match the “color” metafield values to the color name specified in each cupcake’s title. This can be set up as follows:
Take “color” and “search for value” in “Product Title”:
Search for value in (part of) field:
White
Blue
Yellow
Blue
Orange
Pink
Set to value:
WHITE
BLUE
YELLOW
BLUE
ORANGE
PINK

Once applied, this rule updates products with "Pink" in the title (such as “Daisy Cupcake produced by Crème Florale Co.-Pink Base”) to display “PINK” for the "color" metafield in the feed instead of its original value “#fbacba”.
The same rule works for the remaining values.


If you have any questions, let us know via the Chat Box in the bottom-right corner of our Help Center.
Last updated
Was this helpful?