Twig Error: Value for argument "property" is required for filter "sum" in "__string_template__4fd690eb0a7b70a146769a675015c3e5" at line 1077. Check in Debugger

Brands
{% set stackspublish = false %}
Mi Cuenta Empieza a invertir Empieza a invertir

© IN-DEF Todos los derechos reservados

{# ------------------------------------------------------------------ 1. DATOS — colección "brands", sin borradores, en el orden del admin ------------------------------------------------------------------ #} {% set brandFilters = [ { property: "draft", operator: "not-istrue", value: "", logic: "or" } ] %} {% set brandSorts = [ { property: "order" } ] %} {% set brandRows = cms.collection.objects("brands") | filterCollection(brandFilters) | sortCollection(brandSorts) %} {# El índice de la colección solo devuelve los campos indexados (id, title, header_img, seo_img, draft, order, img_bg_*, locations). Cargamos el objeto completo de cada marca para poder usar logo, header_description, feature_1..3, invest_from, av_return_year y portfolio_link. Con 3–6 marcas el coste es irrelevante. #} {% set marcas = [] %} {% for row in brandRows %} {% set marcas = marcas | merge([ row | merge(cms.collection.object("brands", row.id)) ]) %} {% endfor %} {% set totalSucursales = marcas | map(m => m.locations | default({}) | length) | sum %} {% set totalOperando = marcas | map(m => m.locations | default({}) | filter(l => l.status == 'Operando') | length) | sum %}
{# --------------------------- Encabezado --------------------------- #}
Our brands

International brands operated by INDEF

We bring proven international brands to Latin America and Europe and run them end to end — site selection, openings, operations and reporting — so you can invest in a consolidated business without operating it.

{{ marcas | length }} Brands
{% if totalSucursales %}
{{ totalSucursales }} Locations
{% endif %} {% if totalOperando %}
{{ totalOperando }} Currently operating
{% endif %}
{# ---------------------------- Rejilla ----------------------------- #}
{% for marca in marcas %} {% set locs = marca.locations | default({}) %} {% set operando = locs | filter(l => l.status == 'Operando') | length %} {% set enMexico = locs | filter(l => l.country == 'Mexico') | length %} {% set enEspana = locs | filter(l => l.country == 'España') | length %} {% set imgProp = marca.img_bg_1 ? 'img_bg_1' : (marca.header_img ? 'header_img' : 'seo_img') %} {% set resumen = marca.header_description | default('') | striptags | trim %} {% set portafolio = marca.portfolio_link is iterable ? (marca.portfolio_link.url | default('')) : (marca.portfolio_link | default('')) %}
{{ cms.render.image(marca, { w: 760, h: 476, fit: 'crop-focalpoint', fm: 'jpg' }, { collection: 'brands', property: imgProp, class: 'idf-marca__img', loading: 'lazy' } ) }} {% if enMexico or enEspana %}
{% if enMexico %}México{% endif %} {% if enEspana %}España{% endif %}
{% endif %} {% if marca.logo %} {{ cms.render.image(marca, { w: 420, fm: 'png' }, { collection: 'brands', property: 'logo', class: 'idf-marca__logo', loading: 'lazy' } ) }} {% else %}

{{ marca.title }}

{% endif %}

{{ marca.header_title | default(marca.title) }}

{% if resumen %}

{{ resumen | truncate(155, true) }}

{% endif %} {% if marca.feature_1 or marca.feature_2 or marca.feature_3 %}
    {% if marca.feature_1 %}
  • {{ marca.feature_1 }}
  • {% endif %} {% if marca.feature_2 %}
  • {{ marca.feature_2 }}
  • {% endif %} {% if marca.feature_3 %}
  • {{ marca.feature_3 }}
  • {% endif %}
{% endif %} {% if operando or marca.invest_from or marca.av_return_year %}
{% if operando %}
Operating {{ operando }} locations
{% endif %} {% if marca.invest_from %}
Invest from {{ marca.invest_from }}
{% endif %} {% if marca.av_return_year %}
Avg. annual return {{ marca.av_return_year }}
{% endif %}
{% endif %}
View brand {% if portafolio %} View portfolio {% endif %}
{% else %}

No brands published yet.

{% endfor %}
{# --------------------------- Cierre / CTA -------------------------- #}

Invest in a brand that is already running

Choose the portfolio that fits you, pick the number of shares and an advisor walks you through the rest.

Start investing
{# ------------------------------------------------------------------ 2. DATOS ESTRUCTURADOS — ayuda a Google y a los buscadores de IA a entender que esta página es el índice de marcas de INDEF. ------------------------------------------------------------------ #}

Type your input data here

This field is required

Type your input data here

This field is required

Type your input data here

This field is required

Type your input data here

This field is required
{{ cms.assetsBody() }}