I've used line item property fields before so customers can enter their names on my items (bottom part of code) . This has been working fine.
I'd like to use a different line item property field to show if an item is out of stock / made to order. This is not currently showing up on the checkout page like the other property field.
Is it possible to use the hidden property on them as in the top part of my code? Or perhaps there is a better way of doing it...
<p class="line-item-property__field"> <input type="hidden" id="made-to-order" type="text" name="Made To Order" value="Handmade to order"> </p> <p class="line-item-property__field"> <label for="name-on-pottery">Name on Pottery</label> <input id="name-on-pottery" type="text" name="properties[Name on pottery]"> </p>
Solved! Go to the solution