Adding event data for show/hide display logic

  • 14 July 2023
  • 1 reply

Badge +2

I’m trying to add a block to my post purchase flow that shows based on the collection the item they purchased came from. I was planning on creating 5 different show/hide logics (one for each of the collections I want to return specific content). I am having trouble getting the event logic to work. Can anyone help me figure out what is wrong with my logic code? I copied it over from the preview event, just removing the brackets. 




Best answer by Jessica eCommerce Badassery 15 July 2023, 04:44

View original

1 reply

Userlevel 5
Badge +18

@MZeeb  Because collections are part of a list you need to write out as: 


"Backpacks" in event.Collections


Collection names are case sensitive