Tag Info

Hot answers tagged

2

Assuming your product description is in paragraph format, consider copying how blogs cut off blog article into an excerpt or search results. Figure out how much of the description (approximate character count) needs to be there for the user to get the gist of the product. Then trim forward to the end of the last word within the limit. Here's an example ...


1

It’s always better to create a text for this purpose (which I recommend if it involves selling a product). But if that involves too much work and you prefer to do it programmatically, create a script that can cut text off at different levels. It should first look for a paragraph ending, then a sentence, then a part of a sentence, then a word and at last ...



Only top voted, non community-wiki answers of a minimum length are eligible