Skip to main content
Solved

Show block to non Smile.io members

  • April 25, 2023
  • 2 replies
  • 249 views

Forum|alt.badge.img+5

Hi! I want to show a specific block to only non-members of our loyalty integration Smile.io but i understand the logic will only show if its true but how do I target what the profile is lacking which in this case in Smile State. 

 

Best answer by In the Inbox

Hi @carmenxcvii 

Thank you for posting your question in the community! 

What I would recommend is setting up the conditional logic against the profile property Smile State and use the condition ‘is not set.’

To set this up you would use the following logic in the show/hide function of the block.

not person|lookup:'Smile State'

This will essentially show the block when the Smile State profile property is not set.

In the future, I found this article to be an incredible helpful resource for different show/hide conditions. 

Conditional Logic Reference for Templates

I hope this helps! Please let me know if you have any other questions.

@In the Inbox 

2 replies

In the Inbox
Partner - Platinum
Forum|alt.badge.img+31
  • 2025 Champion
  • 336 replies
  • Answer
  • April 25, 2023

Hi @carmenxcvii 

Thank you for posting your question in the community! 

What I would recommend is setting up the conditional logic against the profile property Smile State and use the condition ‘is not set.’

To set this up you would use the following logic in the show/hide function of the block.

not person|lookup:'Smile State'

This will essentially show the block when the Smile State profile property is not set.

In the future, I found this article to be an incredible helpful resource for different show/hide conditions. 

Conditional Logic Reference for Templates

I hope this helps! Please let me know if you have any other questions.

@In the Inbox 


Forum|alt.badge.img+5
  • Author
  • Contributor IV
  • 7 replies
  • April 26, 2023

Hi @In the Inbox

Thank you so much for this - it works! :)