This article describes each transformation available in the Rules library, including what it does, which attributes it applies to, and a before and after example. To add a transformation to your marketplace, see Add a transformation.
Note: The description shown for each transformation is the default. It can be edited when you add the rule from the Rules library.
Title Case
Capitalizes the first letter of each word in a product title.
- Applies to: Product Title only
- Variable: None
Example
- Original: blue cotton tshirt
- Transformed: Blue Cotton T-Shirt
Sentence case
Normalizes product description casing to sentence case.
- Applies to: Product Description only
- Variable: None
Example
- Original: THIS JACKET IS WATERPROOF. it comes in three colours.
- Transformed: This jacket is waterproof. It comes in three colours.
Note: Title Case and Sentence case cannot both be enabled on the same field. Title Case applies to Product Title only; Sentence case applies to Product Description only.
Remove special characters
Removes or replaces special characters from a product title or description.
- Applies to: Product Title, Product Description
- Variable: None
Example
- Original: Sale!! 🔥 Jacket™
- Transformed: Sale Jacket
Shorten text
Truncates a product title or description to a target character length while retaining meaning.
- Applies to: Product Title, Product Description
- Variable: Target Max Characters (required) — enter the maximum number of characters the field should contain after transformation.
Example
- Original: Ergonomic Adjustable Standing Desk with Cable Management, Monitor Shelf, 3-Stage Electric Height Adjustment, Memory Presets and Anti-Collision for Home Office & Gaming Setups
- Transformed: Ergonomic Standing Desk with Cable Management & 3-Stage Height Adjustment
Whitespace normalisation
Removes unwanted double-spaces, tabs, and line breaks from a product title or description.
- Applies to: Product Title, Product Description
- Variable: None
Example
- Original: Red Wool Blend Jumper Size M
- Transformed: Red Wool Blend Jumper Size M
Strip HTML
Strips all HTML tags, attributes, and scripts from a product title or description, leaving plain text only.
- Applies to: Product Title, Product Description
- Variable: None
Example
- Original: <p><strong>Material:</strong> 100% Cotton.<br><em>Machine washable.</em></p>
- Transformed: Material: 100% Cotton. Machine washable.
Further reading
- Add a transformation: Step-by-step instructions for adding a transformation from the Rules library.
- Catalog Transformations overview: How transformations work and what is available at launch.
Related articles