All measurement fields are displayed on models’ profile pages and in gallery packages by default, but there may be instances where you only want certain fields being displayed, and in a certain order.

With a bit of Liquid wizardry, it’s easy to do!

  • To change the models’ profile page: Open the Model template under Website > Templates  
  • To change the gallery package email template: Open the Gallery Package template under Settings > Templates

In both cases you’ll be looking for Liquid code similar to this:

{% for measurement in model.measurements %}           
    {{ measurement.name }}:
    {% if measurement.imperial %}
        {{ measurement.imperial }} / {{ measurement.metric }}
    {% else %}
        {{ measurement.size }}
    {% endif %}      
{% endfor %}

Now change it to this:

{% if model.gender == 'male' %}  
    {% assign fields = 'Height,Suit,Collar,Sleeve,Waist,Inseam,Shoe' %}    
    {% else %}  
    {% assign fields = 'Height,Dress,Bust,Cup,Waist,Hips,Shoe' %}
{% endif %}
{% for field in fields %}
    {% for measurement in model.measurements %}
        {% if field == measurement.name %}
            {{ measurement.name }}:
            {% if measurement.imperial %}
                {{ measurement.imperial }} / {{ measurement.metric }}
            {% else %}
                {{ measurement.size }}
            {% endif %}          
        {% endif %}  
    {% endfor %}
{% endfor %}

The page will now show a different set of fields for men and women, in the order you’ve specified.

Did this answer your question?