Kopie von Spectable
{%- comment -%}
PDP: Nitro-Spezifikationen aus Produkt-Metafeldern
{%- endcomment -%}
{%- assign nitro = product.metafields.nitro -%}
{%- comment -%} Metaobject-Referenzen nur abrufen, wenn befüllt {%- endcomment -%}
{%- assign widths = nil -%}
{%- if nitro and nitro.variant_widths != blank -%}
{%- assign widths = nitro.variant_widths.value -%}
{%- endif -%}
{%- assign shoe = nil -%}
{%- if nitro and nitro.rider_shoe_size_mp != blank -%}
{%- assign shoe = nitro.rider_shoe_size_mp.value -%}
{%- endif -%}
{%- comment -%} Nose/Tail anzeigen? {%- endcomment -%}
{%- assign show_nosetail = false -%}
{%- if nitro and nitro.nose_tail_width != blank -%}
{%- assign show_nosetail = true -%}
{%- elsif widths -%}
{%- if widths.nose or widths.tail -%}
{%- assign show_nosetail = true -%}
{%- endif -%}
{%- endif -%}
{%- if show_nosetail -%}
| Nose / Tail Width |
{%- if nitro.nose_tail_width != blank -%}
{{ nitro.nose_tail_width }}
{%- elsif widths -%}
{%- assign printed_nose = false -%}
{%- if widths.nose -%}
{{ widths.nose }}
{%- assign printed_nose = true -%}
{%- endif -%}
{%- if widths.tail -%}
{%- if printed_nose -%} / {%- endif -%}
{{ widths.tail }}
{%- endif -%}
{%- endif -%}
|
{%- endif -%}
{%- if nitro and nitro.waist_width != blank -%}
| Waist Width |
{{ nitro.waist_width }} |
{%- endif -%}
{%- if nitro and nitro.running_length != blank -%}
| Running Length |
{{ nitro.running_length }} |
{%- endif -%}
{%- if nitro and (nitro.sidecut_m != blank or nitro.sidecut != blank) -%}
| Sidecut (m) |
{{ nitro.sidecut_m | default: nitro.sidecut }} |
{%- endif -%}
{%- if nitro and nitro.stance_range_cm != blank -%}
| Stance Range (cm) |
{{ nitro.stance_range_cm }} |
{%- endif -%}
{%- if nitro and nitro.stance_range_in != blank -%}
| Stance Range (in) |
{{ nitro.stance_range_in }} |
{%- endif -%}
{%- if nitro and nitro.rider_weight_kg != blank -%}
| Rider Weight (kg) |
{{ nitro.rider_weight_kg }} |
{%- endif -%}
{%- if nitro and nitro.rider_weight_lb != blank -%}
| Rider Weight (lb) |
{{ nitro.rider_weight_lb }} |
{%- endif -%}
{%- if nitro and (nitro.setback_mm != blank or nitro.setback != blank) -%}
| Setback (mm) |
{{ nitro.setback_mm | default: nitro.setback }} |
{%- endif -%}
{%- if shoe -%}
{%- if shoe.eu or shoe.us or shoe.mp -%}
| Rider Shoe Size |
{%- assign printed_any = false -%}
{%- if shoe.eu -%}
EU {{ shoe.eu }}
{%- assign printed_any = true -%}
{%- endif -%}
{%- if shoe.us -%}
{%- if printed_any -%} · {%- endif -%}
US {{ shoe.us }}
{%- assign printed_any = true -%}
{%- endif -%}
{%- if shoe.mp -%}
{%- if printed_any -%} · {%- endif -%}
MP {{ shoe.mp }}
{%- endif -%}
|
{%- endif -%}
{%- endif -%}