Help Center

Feed rules: How to use Text Replacement

Sarah B
Sarah B
  • Updated

Text replacement rules allow you to replace or remove text in your feed. Here are some examples of how you can use replace text functions.

How to create a text replace rule

  1. In the feed's 'Rules' page, click the blue '+' button to create a new rule
  2. Name the rule
  3. Create a custom rule to SET a feed's text field to your desired value or Product [P] field. For example, if you need to replace text in your product descriptions, then you may create a rule that says:
    • SET: [F].[description]
    • TO: [P].[description]
    • WHERE: [P].[description] is not empty
  4. Click 0 replacements to open the text replace dialog box

    optimze6.gif

  5. Enter the text you want to replace in the Find value field
  6. Enter the value you want to replace within the Replace value field
    Note: To remove a value completely, you can leave the Replace value field empty and the system will remove any references of your Find value from that custom rule's feed field data. 
  7. Click the blue checkmark to keep the replace text rule 
    Group 11.png
  8. Click the blue 'Save' button to save the whole rule

    Group 12.png

Common text replace functions

Below are 4 common text replace function examples.

Standardize capitalization

mceclip0.png

Remove "Free Shipping" language

mceclip1.png

Fix duplicate values

mceclip2.png

Remove values completely

To remove a value completely, you can leave the Replace value field empty and the system will remove any references to your Replace value from that custom rule's feed field data. 

mceclip3.png

Global rules with Text Replacements can be applied to a custom rule, and the text replacement values will automatically be applied to that rule. To use Global Rules, see the Global Rules article.

Was this article helpful?

3 out of 8 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.