You can use the order.is_priority? variable in the Order Templates to test whether an order is a priority.
Here is an example of how you can modify the default Order Template to test and indicate that a quote/order is a priority order:
Default Code
<div class="details">
<h1>
{% if from.account.company %}{{ from.account.company }}{% endif %}
{% if from.fc_settings.company_identification_number %}<br />{{ from.fc_settings.company_identification_number }}{% endif %}
{% if from.fc_settings.has_address? %}
<span>
{{ from.fc_settings.address }} {{ from.fc_settings.city }}, {{ from.fc_settings.state }} {{ from.fc_settings.zip }}<br />
{{ from.fc_settings.country_name }}
</span>
{% endif %}
<a href="http://{{ site.primary_domain }}">http://{{ site.primary_domain }}</a>
</h1>
</div>
Custom Code
Add the code in red to the default code shown above as follows:
<div class="details">
<h1>
{% if from.account.company %}{{ from.account.company }}{% endif %}
{% if from.fc_settings.company_identification_number %}<br />{{ from.fc_settings.company_identification_number }}{% endif %}
{% if from.fc_settings.has_address? %}
<span>
{{ from.fc_settings.address }} {{ from.fc_settings.city }}, {{ from.fc_settings.state }} {{ from.fc_settings.zip }}<br />
{{ from.fc_settings.country_name }}
</span>
{% endif %}
<a href="http://{{ site.primary_domain }}">http://{{ site.primary_domain }}</a>
<ul>
{% if order.is_priority? %}
<li><label style="color:red;">Priority Order</label></li>
{% endif %}
</ul>
</h1>
</div>
Result
Still have questions? In your DecoNetwork Admin, use the Universal Search box in the top bar to find more related help guides. Need more help? Click the icon next to the search box to open the help menu and submit a support ticket. Our Client Services team is ready to assist!
Comments
0 comments
Please sign in to leave a comment.