Options.inverse is not a function

What I'm attempting to do is If EntityIdentifierCode=SF or SH return pickup else return deliveryWhen I do I get the message below. Can you tell me what that message means and what I'm doing wrong?

0

Comments

4 comments
Date Votes
  • Hi Jack Harris,
    try this :

    0
  • That worked, but do you know why the OR didn't work?

    0
  • I think it has to do with the "compare" combination with the "or" .. have to run some tests to find what's wrong with it.

    0
  • Your compare handlebars were missing the end blocks {{/compare}}, that was throwing the error.

    As far as I know you can't use block helpers inside of another set of curly braces, it will have to be nested as in  Youssefs example. 

    0

Please sign in to leave a comment.

 

Didn't find what you were looking for?

New post