相关文章推荐
慷慨大方的花卷  ·  Java ...·  10 月前    · 
淡定的斑马  ·  AI 招聘求职 - 知乎·  1 年前    · 
爽快的冲锋衣  ·  ubuntu14.04 ...·  1 年前    · 
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

how can i use "contains" to check value of $? I need to make a code that will print some text when $ contains some:

<#if orderItem.sku?contains("Flow")> 
1 https://flowsportstech.ru/ 

Is it correct? It's not working thou... Thank you!

Hello! Thank you, what you mean sku is string? It's just an artical number in a order page... – pharaoh2ths Aug 16, 2021 at 16:49 Please always include the error message in your question, or if there's no error, then what happens instead of what you expect. – ddekany Aug 16, 2021 at 17:00 Nothing happens (( Just not text message appears. So it can be error in syntax. Is it correct? Syntax? – pharaoh2ths Aug 16, 2021 at 17:41

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.