New Shopify Certification now available: Liquid Storefronts for Theme Developers

Product Template Custom Fields

ModernAV
Shopify Partner
62 0 28

Hi All,

 

Our developer is having a little trouble adding custom fields to a product template.  Is it possible to add custom input fields to a specific product template that will only be used on about 30 out of 15,000 products?  The form fields would need to be manadary and flow through checkout.  They are both text fields, nothing special.

 

Any thoughts?

Thx!

Replies 3 (3)
gr_trading
Shopify Partner
1406 131 151

Hi @ModernAV 

 

Create a new product template and duplicate the main-product.liquid file and assign that file to newly created product template.

 

 

Put you custom fields in buy-button.liquid file.

 

And you script to make those field mandatory.

 

Hope this will help...

 

File names are according to DAWN theme, file names could be different in your case.

 

Still unable to do it, will happy to help.

 

Let me know if you are willing to hire...

For any custom development WhatsApp or connect at Email ID: gr.trading15@gmail.com for quick consultation. | YouTube Videos
To support Buy Me a Coffee
Zqdo
Shopify Partner
803 32 62

You should be able to include a check to see if a product meets a certain qualification. If it does, show the custom field. If not, do not show it.

banned
EasifyApps-Zoe
Shopify Partner
581 13 34

Hi @ModernAV,

I recommend trying out the Easify Product Options app – it's a fantastic solution for effortlessly creating custom text fields and seamlessly integrating them into your chosen product pages. This user-friendly app can be set up in just a matter of minutes. Give it a try 🤗!

 

EasifyAppsZoe_0-1695926107272.png

EasifyAppsZoe_1-1695926134647.png

EASIFY - MAKING SHOPIFY SIMPLE & SWEET!
Easify Product Options: Create custom product options 10X faster & easier!
Easify Product Attachments: Effortlessly add downloadable PDF files (or any other format) to Shopify pages!
Try for Free | 24/7 Live Chat Support