Struggling adding a text box to product page

Solved

Struggling adding a text box to product page

SlideBy
Tourist
3 0 1

attempting to add a required text box where purchasers can enter the name they want on the back of their jersey. I would think this would be very common and I have found several mentions, but when I try to enter the code I can not get it to save. Many links refer to main-product.liquid,  I can't locate that and when I try to add it under product.json I can't get it to save. Struggling

Accepted Solution (1)

Easify-Jolie
Shopify Partner
194 7 15

This is an accepted solution.

Hi @SlideBy 

It seems like you're trying to add a required text box for customers to enter their name on their jersey. You can try Easify Product Options—it keeps all adjustments tied to the product instead of creating separate items. It's very easy to use and here's how it works:

  • This is the result: 

EasifyJolie_1-1741160819333.png

  • This is the order:

EasifyJolie_3-1741161067707.png

 

  • This is the app setting:

EasifyJolie_2-1741161006311.png

 

This app is straightforward, and I believe it will work well for you. Reach out to Easify if you need any assistance! 🤗

Easify Product Options: Any product options app can help you create custom options, but Easify turns those options into sales and conversions!
Easify Inventory Sync: Automate inventory syncing for Bundles, Duplicates, and Raw Materials. Say goodbye to manual tracking headaches.
Easify Product Attachments: Enrich your store with downloadable content. Easily add PDFs and other files to product or any page.
>>> Try Apps for Free | 24/7 Live Chat Support

View solution in original post

Replies 8 (8)

Promer-Alena
Shopify Partner
250 25 86

Instead of editing code, try using Shopify’s native custom fields (metafields) for text input. Go to Settings > Custom Data > Products, add a metafield (e.g., "Jersey Name"), then use your theme editor to place it on product pages. Apps like Bold Custom Product Options simplify this without coding. If coding, ensure your theme uses Online Store 2.0 (look for “Add block” under product sections).

SlideBy
Tourist
3 0 1

www.slidebyteamgear.com

 

password bewlez

DaisyVo
Shopify Partner
4275 467 560

Hi @SlideBy 

 

Could you please share the store link with me?

Also, regarding the code you found and tried to add but couldn’t save, could you:

 

Share the exact code snippet you used?
Let me know where you added it?
Take a screenshot of the issue?


This will help me understand the problem better and provide the right solution. Looking forward to your response!

 

Best,

Daisy

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution

Easify-Jolie
Shopify Partner
194 7 15

This is an accepted solution.

Hi @SlideBy 

It seems like you're trying to add a required text box for customers to enter their name on their jersey. You can try Easify Product Options—it keeps all adjustments tied to the product instead of creating separate items. It's very easy to use and here's how it works:

  • This is the result: 

EasifyJolie_1-1741160819333.png

  • This is the order:

EasifyJolie_3-1741161067707.png

 

  • This is the app setting:

EasifyJolie_2-1741161006311.png

 

This app is straightforward, and I believe it will work well for you. Reach out to Easify if you need any assistance! 🤗

Easify Product Options: Any product options app can help you create custom options, but Easify turns those options into sales and conversions!
Easify Inventory Sync: Automate inventory syncing for Bundles, Duplicates, and Raw Materials. Say goodbye to manual tracking headaches.
Easify Product Attachments: Enrich your store with downloadable content. Easily add PDFs and other files to product or any page.
>>> Try Apps for Free | 24/7 Live Chat Support
SlideBy
Tourist
3 0 1

Update, used Easify app to create my text boxes. Works OK (I still can't get info to show up on my confirmation emails or exported info) but I have hit a dead end trying to get the information to flow thru on bundles. Easily chat help not real helpful.

Zel_Minimate
Shopify Partner
55 0 4

Hi @SlideBy ,

As an alternative to code and to make this easier, you might want to consider using an app designed specifically for adding custom fields without any coding. Our app, Mini: Custom Fields Personalize, makes it simple to add required text boxes (like player names, numbers, messages, etc.) directly to your product pages — no need to edit your theme files manually.

Here’s what it can help you with:

  • Add required text fields to any product
  • Works with Online Store 2.0 themes
  • Zero coding needed — setup in minutes

If you’d like, I’d be happy to guide you through getting it set up!


Hope this helps, and feel free to ask if you have any questions.

Best Regards,
Zel 

MINIMATE APPS - CUSTOMIZATION & SCARCITY MADE SIMPLE!
Mini Customization Fields: Effortlessly create and manage custom product fields for a personalized product options.
Mini: Coming Soon | Waitlist : Maximize revenue through waitlists and pre-orders.
Hey! Scarcity Low Stock Counter: Boost sales by displaying low stock message to create a sense of urgency.
Explore Our Apps for Free | 24/7 Dedicated Support for Shopify merchants

Made4uo-Ribe
Shopify Partner
10036 2385 3012

Hi @SlideBy 

Check this one. 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

ParseLab_Viyana
Shopify Partner
33 0 1

Hello @SlideBy,

Some themes use a main-product.liquid file while others might integrate the product form within a product.json template or a section file. Ensure that the input field code is placed within the proper form container so that it saves correctly. If the code-based approach remains challenging or your theme structure isn’t clear, you might consider using a third-party app to handle this customization. One app I can recommend is Inkybay - Product Personalizer. Using Inkybay’s product options feature, you can add text boxes on the product page. Additionally, its product customization feature will allow your customers to go to a design lab where they can add text to the product with real-time previews. With a 21-day free trial, you can test all the features of Inkybay to determine if it meets your needs.

inkybay - text.png

 

Emmy_Viyana | PARSELAB
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- Checkout our app:Inkybay