AnsweredAssumed Answered

How to compare variable with string in smarty(.hbs)

Question asked by Autchara Chaiprom on May 29, 2016
Latest reply on May 29, 2016 by Autchara Chaiprom

Hi all,

I would like to compare variable in .hbs

I try with below code but not work:

variable: getType

string: testtype


{{#if getType == 'testtype'}}


How do I do?


Sugar 7.6 Ent