Use cases
- Shorten product titles
Use the maximum length action to shorten/trim the length of values in your product data.
Some channels require (e.g. Google Ads and Marktplaats) fields, like title, to have a character limit.
For example, if a channel has a character limit for the ‘title’ field of an export channel is 30 characters.
Shorten product titles (to 30 characters)
Using maximum length, we can cut off the title at 30 characters, making every title fit within the maximum length of the export channel.
- Trim directly: trim the title directly after 30 characters
- Trim on words: trim the title after the last complete word that fits within the 30 character limit
The effect of the THEN and AND statements is trimmed titles.