Help Center

Feed rules: How to use Text Replacement within a rule

Sarah Bacchus
Sarah Bacchus
  • Updated

Text Replacement rules allow you to replace or remove text in your feed data with a custom rule. Here are some examples of how you can use replace text functions. Be sure once you've entered your preferred text that you select the checkmark to save the Find and Replace value. 

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

 To use a Text Replacement rule:

  1. Go to the Feeds tab in the left navigation
  2. Select the desired feed template
  3. Select Rules
  4. Click the plus button newBlue.PNG
  5. Name the rule
  6. Create a custom rule to SET a feed's text field to your desired value or Product [P] field. If you need to replace text in descriptions, then you may create a rule that says:
    1. SET: [F].[description]
    2. TO: [P].[description]
    3. WHERE: [P].[description] is not empty
  7. Click Text Replacement under the TO section
  8. Enter the text you want to replace in the Find value field
  9. Enter the value you want to replace it 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 to your Replace value from that custom rule's feed field data. 
  10. Click the blue checkmark to keep the replace text rule 
  11. Click the blue 'Save' button to save the whole rule
Note: 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.