Shopify B2B - Add PO to Orders

This is a Free low level solution, if you need a more scalable and robust solution without breaking the bank, please contact me.

Let customers add a PO to their order. This works on any Shopify plan.

Watch the full video below.

				
					{% if template == 'cart' %} 
<div class="field field--show-floating-label" style="margin-top: 2rem;"> 
<div class="field__input-wrapper">
     <input id="po_number" type="text" name="attributes[PO Number]" placeholder=" " class="field__input" />
     <label class="field__label" for="po_number">PO Number (optional)</label> 
    </div> </div> 
{% endif %}