How do I add text to a specific search result in my website

Topic summary

A user wants to display a notification message on specific product search results for items being discontinued and reintroduced next year.

Proposed Solution:

  • Tag the affected products with a specific identifier
  • Configure the search functionality to detect this tag
  • Display custom text only for tagged products in search results

Current Status:

  • The original poster is clarifying whether the text can be added directly to the search result page for these products
  • Discussion remains open with implementation details pending
Summarized with AI on November 2. AI used: claude-sonnet-4-5-20250929.

A few products are going to be discontinued and reintroduced next year so I’d like to add a small body of text to tell the customer when they search for it.

@Rebecca334 may be you need to add some specific tag to all these products and then check if the product which is searched has this tag, and then add text for it.

SO only products which are searched and have this tag will have this text.

Can I make the search result page for the products have this text?