You can use the production_days variable to include the number of production days in the Order Template.
Here is an example of how you can modify the default Order Template to show the number of days an order takes to be completed in production:
Default Code
<li><label>Shipping</label><span>{{ order.shipping_method_name }}</span></li>
{% if order.shipping_days %}
<li><label>Maximum Delivery Days</label><span>{{ order.shipping_days }}</span></li>
{% endif %}
Custom Code
Add the code in red to the default code shown above as follows:
<li><label>Shipping</label><span>{{ order.shipping_method_name }}</span></li>
{% if order.production_days %}
<li><label>Production Days</label><span>{{ order.production_days }}</span></li>
{% endif %}
{% if order.shipping_days %}
<li><label>Maximum Delivery Days</label><span>{{ order.shipping_days }}</span></li>
{% endif %}
Comments
0 comments
Please sign in to leave a comment.