Custom Input Field

Custom Input Field

PackQuest
New Member
4 0 0

Hello Shopify Community,

I’m trying to add a custom input field under my product pages, similar to the one in the screenshot below (marked in red). It includes:

A text input field for customers to add a custom message or their TikTok username.

It should be linked to the product and show up in the order details for my reference.

How can I implement this? Is there a built-in Shopify feature or an app that can help me achieve this? Alternatively, can I customize my theme (Dawn, for example) to include this functionality?

I’d appreciate detailed steps or any recommendations for apps/code snippets to get started!

Thank you in advance!

Screenshot 2024-11-23 163032.png

Replies 6 (6)

BrewBrains
Shopify Partner
158 26 33

Hi @PackQuest ,

You can use line item property for your requirements. Line item properties are used to collect customization information for an item added to the cart. This information can be collected from the buyer on the product page. Here is the link from where you can generate the code and also there is instruction how to use the code. 

https://ui-elements-generator.myshopify.com/pages/line-item-property 

 

If you need any help you can let me know. 

 

Was my reply helpful? Click Like to let me know!

Was your question answered? Mark it as an Accepted Solution and click like. 

Was I helpful?

Buy me a coffee


Sandesh Paudyal |

| Shopify Developer


Need help with your store?

 sandeshpaudyal99@gmail.com

For quick response - Message Me : +9779851353732

PackQuest
New Member
4 0 0

Hi BrewBrains,

Thank you for your quick response and the information about line item properties. I checked, but it seems that in my case, there is no product.liquid file available. Could you clarify if there’s an alternative method or file where I can implement this?

I appreciate your support and look forward to your guidance.

BrewBrains
Shopify Partner
158 26 33

Hi @PackQuest ,

 

Since we need to write custom code, Access to your store is required to implement this on your store. 

 

If you need any further assistance or have any queries, feel free to contact me. 

 

Was I helpful?

Buy me a coffee


Sandesh Paudyal |

| Shopify Developer


Need help with your store?

 sandeshpaudyal99@gmail.com

For quick response - Message Me : +9779851353732

Asad-Mahmood
Trailblazer
198 36 42

Hi @PackQuest ,
you can achieve this by editing the product form without using any app.
Follow below tutorial on this link https://www.youtube.com/watch?v=UtJ77gcWqaU

If my solution has been helpful, you can consider supporting me via Buy Me a Coffee.
Hire me: asadmahmood8470@gmail.com
WhatsApp





PackQuest
New Member
4 0 0

Hi Asad-Mahmood,

Thank you for sharing the tutorial link! I watched the video and followed the steps carefully. However, when I reached the part where I had to implement "test," it wouldn’t show, even after trying the fixes suggested in the video.

Could you provide additional guidance or let me know if there might be something specific in my setup causing this issue?

Thanks in advance for your help!

Asad-Mahmood
Trailblazer
198 36 42

Hi @PackQuest ,
To review the issue in detail i would need to have a look at your theme code.

If my solution has been helpful, you can consider supporting me via Buy Me a Coffee.
Hire me: asadmahmood8470@gmail.com
WhatsApp