Hi everyone, I have a question related to a HubSpot custom quote template.
Is it possible to create a type of conditional logic via Hub HTML? More specifically, I wanted to create a table that can only appear if a specific line item type is selected.
I tried to create something using:
“{% set itens_horas = [] %}
{% for item in line_items %}
{% set nome_normalizado = item.name|upper|trim %}
{% if “HORA” in nome_normalizado %}
{% set itens_horas = itens_horas + [item] %}
{% endif %}
{% endfor %}
{% if itens_horas|length > 0 %}”
but despite that, it ended up not working. Is there a specific way?
