Forum Discussion

FlorianGOrnika's avatar
FlorianGOrnika
Active Member II
2 months ago

Find user in catalog

Hello everyone, I would like to send a message if the zipcode from a user is existing in a catalog. But I am not very technical. I have a catalog :  id--zip_code--link ex: 14--13001--https://b...
  • Gabriele's avatar
    2 months ago

    Sorry my bad try this one:
    catalogName: test
    selection: zip

    {% catalog_selection_items test zip %}

    {% if items[0].zip != blank %} not blank {% else %} blank {% endif %}


    if you are not sure about the catalog liquid check in personalization