Skip to main content
Contributor III
July 14, 2023
Solved

Adding event data for show/hide display logic

  • July 14, 2023
  • 1 reply
  • 341 views

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. 

 

 

    This topic has been closed for replies.
    Best answer by Jessica eCommerce Badassery

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

     

    "Backpacks" in event.Collections

     

    Collection names are case sensitive

     

     

    1 reply

    Jessica eCommerce Badassery
    Partner
    Partner
    July 15, 2023

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

     

    "Backpacks" in event.Collections

     

    Collection names are case sensitive

     

     

    eCommerce + Email Marketing Strategist | eCommerceBadassery.com