All things Shopify and commerce
Hi there - for my store www.peridotfinejewelry.com when a product doesn't have variants it auto-fills with this "default title" option. Screenshot shown below:
I can't find in the code where it is auto-filling this information and would prefer that the variant just goes away instead of filling in with this title. Any suggestions?
What theme are you using?
Shopify's themes normally handle this by default. For example, if you're using the Dawn theme and go to the product-variant-picker.liquid file, they have a line that checks if there's only the default variant.
Since it seems like your theme might be missing that, you can try to find where the variant picker is being rendered and wrap it with
{%- unless product.has_only_default_variant -%}
....
{%- endunless -%}
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