You can use the shipping_method_names variable to show the name of the shipping method used to deliver a purchase order in the Purchase Order Template.
Here is an example of how you can modify the default Purchase Order Template to show the name of the shipping method used:
Default Code
<div id="in_customer">
<div class="shipping">
<h3>Deliver To</h3>
<span>
{{ purchase_order.delivery_address_html }}
</span>
</div>
Custom Code
Add the code in red to the default code shown above as follows:
<div id="in_customer">
<div class="shipping">
<h3>Deliver To</h3>
<span>
{{ purchase_order.delivery_address_html }}
</span>
<br />
<div class="shipping">
<span><label>Shipping Method</label></span><span>{{ shipping_method_names }}</span>
</div>
</div>
Comments
0 comments
Please sign in to leave a comment.