Re: Removing default title field

How can I disable the 'Default Title' field for products without variants?

Helpshop
Tourist
7 0 2

Trying to remove an unnecessary field for products that don't have a variant. My products with variants are fine, it's the products that don't have any variants have a required field 'Option1' populate 'title' with a dropdown value of 'Default Title'

 

I exported the products and see the fields:

Option1 Name

Option1 Value

 

I read they are mandatory fields and if I have a product without variants I should set the fields to

Option1 Name

Option1 Value

Title

Default Title

 

When I do that the 'Title' dropdown with 'Default Title' is displaying on my phone. When I adjust the text the from Title and Default Title it updates the text to whatever I typed.

 

Are there any ways to disable this field or set it to not populate for products that do not have any variants.

 

Thank you!

Replies 10 (10)

KetanKumar
Shopify Partner
37634 3670 12166

@Helpshop 

can you please send store url so i will check and let you know 

If helpful then please Like and Accept Solution. Partnership of your ️ Coffee Tips and my code can bring miracles.
Want to modify or custom changes on store Hire Me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
Helpshop
Tourist
7 0 2

Thank you, Ketan, for taking a look.
The URL is jambandmerch.com

KetanKumar
Shopify Partner
37634 3670 12166

@Helpshop 

yes, please try this code

 {% unless product.has_only_default_variant %}
add your variant code
 {% endunless %}
If helpful then please Like and Accept Solution. Partnership of your ️ Coffee Tips and my code can bring miracles.
Want to modify or custom changes on store Hire Me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
Helpshop
Tourist
7 0 2

Thank you! Do I place that code within the product.json?

Helpshop
Tourist
7 0 2

Tried adding that code and received the attached error. Any suggestions is greatly appreciated. Thanks!

GemPages
Shopify Partner
5625 1262 1287

Hi @Helpshop,

 

Could you please share your store url ( with pass if your store password is enabled ) then I can see and suggest something for you?

 

Best regards,
GemPages Support Team.

 

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center
Helpshop
Tourist
7 0 2

Thank you, GemPages, for taking a look.
The URL is jambandmerch.com

MandasaTech
Shopify Partner
797 154 166

Hello @Helpshop 

Please share your store URL.

☞ Helpful or Question answered? Please Click Like & Mark it Accepted Solution
☞ Want to modify or custom changes on store for affordable price? Click on Contact button here
☞ Email at experts@mandasa.in
☞ Whatsapp at +918989609120 | Hire us at: Website Support Page
☞ Selling Shopify Fundamentals: Verified Skill Badge
Helpshop
Tourist
7 0 2

Thank you, Shopify Community, for taking a look.
The URL is jambandmerch.com

ri31
Shopify Partner
40 2 17

For future reference for anyone else:

 

When you export products with variant information from Shopify, if you include the information on the variant options in the spreadsheet, the Option1 Name column will show "Title" and the Option1 Value column will show "Default Title" for those products that don't actually have variants. You can just ignore those in the spreadsheet. You don't need to do anything about them.

 

On the other hand, if you are in the Shopify admin and you actually see "Title" as a variant option and "Default Title" as a variant, then you will want to delete that variant from the product. You can delete variants on the product page like this:

ri31_0-1748347374988.png

 

If this post on a "dead post" helped you let me know by liking...

If my post is helpful, hit Like to help others find a solution.