How to use text formatters
Text Formatters are powerful search-and-replace rules that allow you to automatically clean up or modify product data when it is sent to your sales channels. Your catalogue in StoreLinkr keeps the data as it was imported. This is particularly useful for removing supplier names from titles, fixing common typos, or standardizing descriptions across your catalog.
Why use Text Formatters?
- Branding: Remove "Supplier X" from product titles to maintain a consistent look.
- Data Cleanup: Standardize abbreviations (e.g., replace "cm." with "centimeter").
- SEO: Clean up descriptions that contain messy HTML or irrelevant technical jargon.
- Global Changes: Apply a single rule to thousands of products at once.
Creating a Text Formatter Rule
- Navigate to Selections & formatting > Text formatting.
- Click the Create Text Formatter button.
- Import Source: Select "All" or one of your import sources (for example your supplier) if the rule only applies to their data.
- Field: Choose which field to target:
- Name (Title)
- Model
- Brand
- Short Description
- Long Description
- Facets (Attributes)
- Search Text: Enter the text you want to find. This is case-insensitive.
- Replace Text: Enter what you want to replace it with. Leave this empty if you simply want to remove the text.
- Only replace whole words: on by default. The text is then only replaced where it is a word of its own, also at the start or end of a title. A rule "refl" → "reflectie" turns "black refl" into "black reflectie" but leaves "reflector" alone. Switch it off to replace the text inside other words too.
- Click Create Text Rule to save.
Tips for Effective Formatting
- Test First: Check a few products after creating a rule to ensure it's behaving as expected.
- Case Sensitivity: Since the search is case-insensitive, a rule for "HP" will also replace "hp" and "Hp".
- Empty Replace: Use an empty replace field to strip out unwanted words or characters (like "PROMO!").
- Supplier abbreviations: with whole words on, you can write out short codes safely, for example "btb" → "outer tyre" or "zw" → "black".