Order Printer Template: Help with Options Display

Highlighted
New Member
1 0 0

We offer several custom products that need customer input for our technicians to correctly configure things. I have added code to an Order Printer template to display the options for Machine Version, Desired Extruder and so forth.

Is there a way to remove the _boldOption information?

Is there a way to make the option name bold font? 

Is there a way to move the options below the line item with a title like "Product Options"

code is below the images and picture of where it's inserted is prior to the code. 

Screen Shot 2020-10-18 at 1.26.13 PM.pngScreen Shot 2020-10-18 at 1.29.07 PM.png

Screen Shot 2020-10-18 at 1.36.27 PM.png

{% assign property_size = line_item.properties | size %}

        {% if property_size > 0 %}

        <p>

        {% for p in line_item.properties %}

        {% if p.first contains "_options" %}

        {% continue %}

        {% endif %}

        {% unless p.last == blank %}

        <small>{{ p.first }}:</small>

        {% if p.last contains '/uploads/' %}

        <a target="_blank" href="{{ p.last }}"><small>Link</small></a>

        {% else %}

        <small>{{ p.last }}</small>

        {% endif %}

        <br>

        {% endunless %}

        {% endfor %}

        </p>

        {% endif %}

0 Likes