All things Shopify and commerce
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!
can you please send store url so i will check and let you know
Thank you, Ketan, for taking a look.
The URL is jambandmerch.com
yes, please try this code
{% unless product.has_only_default_variant %}
add your variant code
{% endunless %}
Thank you! Do I place that code within the product.json?
Tried adding that code and received the attached error. Any suggestions is greatly appreciated. Thanks!
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.
Thank you, GemPages, for taking a look.
The URL is jambandmerch.com
Hello @Helpshop
Please share your store URL.
Thank you, Shopify Community, for taking a look.
The URL is jambandmerch.com
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:
If this post on a "dead post" helped you let me know by liking...
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025