I need to add custom textbox field on shopify product pages.
My requirement is to add textbox field on product page and when customer add product in cart than that textbox field value also display on cart page and also on checkout page.
I also need to reflect that textbox field value on admin custom order page.
Is this possible?
For adding custom textbox field on shopify product page please follow below step :
Login to your shopify admin and ope product detail page template code
Copy and paste the code below into your product detail page template file between the and tags. The form textbox field will appear wherever you place the code.
<p class="line-item-property__field"> <label for="custom-field">Your custom field</label> <input id="custom-field" type="text" name="properties[Your custom field]"> </p>
After adding above code custom textbox field will be appear on your product detail page.
You can also use this link as reference for adding different type of custom field on product detail page : Shopify line item properties
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With