Articles on: Feed Rules

Feed Actions: Compare and replace

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 “Compare and replace value” action. 


Set up and apply


For more details on how to set up and apply the rule, refer HERE.


How it works


The “Compare and replace value” action appears under the Then and And-statements. It allows you to check a product attribute (including Main Store fields, metafields, and custom fields) using its values and replaces it with your selected values when matched.



The rule contains two boxes:


  • When field is equal to: Displays the text you want to find in your product attribute.
  • Then change value to: Displays the new text that will replace the detected value. 


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.


The input field values used for comparison must exactly match the original data. 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 would like to change the Vendor “Baking Now” to “Crème Florale Co.” specifically for this Google Shopping feed. The following action can be used.


Take “Product Title” and “compare and replace”. On line 1:


  • When field is equal to: “Baking Now” 
  • Then change value to: “Crème Florale Co.”.



After this rule, all products with the Vendor “Baking Now” will have this field displayed as “Crème Florale Co.” in the feed.



If you have any questions, let us know via the Chat Box in the bottom-right corner of our Help Center.

Updated on: 15/11/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!