{"id":5541,"date":"2021-08-22T06:23:06","date_gmt":"2021-08-22T06:23:06","guid":{"rendered":"https:\/\/shopthemedetector.com\/blog\/?p=5541"},"modified":"2026-03-30T09:21:34","modified_gmt":"2026-03-30T09:21:34","slug":"how-to-hide-variant-images-in-shopify","status":"publish","type":"post","link":"https:\/\/shopthemedetector.com\/blog\/how-to-hide-variant-images-in-shopify\/","title":{"rendered":"How to Hide Variant Images in Shopify"},"content":{"rendered":"<h3>Hide a Variant Option From the Dropdown (but still keep the variant active)<\/h3>\n<p>Shopify does not offer a built-in toggle to \u201chide\u201d specific variants. But here\u2019s how you can hide them using custom code (e.g., hide the \u201cXXL\u201d option):<\/p>\n<h4>Steps:<\/h4>\n<ol>\n<li>Go to Online Store > Themes > Edit Code<\/li>\n<li>Open <code>product-form.liquid<\/code> or <code>main-product.liquid<\/code> (depends on your theme)<\/li>\n<li>Find this section:\n<div>\n<div>liquid<\/div>\n<div><\/div>\n<div><code>{% for value in option.values %}<br \/>\n<\/code><\/div>\n<\/div>\n<\/li>\n<li>Add a conditional:\n<div>\n<div>liquid<\/div>\n<div><\/div>\n<div><code>{% unless value == 'XXL' %}<br \/>\n<!-- Keep rendering --><br \/>\n{% endunless %}<br \/>\n<\/code><\/div>\n<\/div>\n<\/li>\n<\/ol>\n<p>That will hide XXL from being shown in the dropdown, while keeping it live in your backend.<\/p>\n<h3>2. Hide Sold-Out Variants Automatically<\/h3>\n<p>Some themes (like Dawn) already do this. But if yours doesn\u2019t:<\/p>\n<h4>In the theme code:<\/h4>\n<div>\n<div>liquid<\/div>\n<div><\/div>\n<div><code>{% if variant.available %}<br \/>\n<option>{{ variant.title }}<\/option><br \/>\n{% endif %}<br \/>\n<\/code><\/div>\n<\/div>\n<p>This skips variants that are out of stock.<\/p>\n<h3>3. Use an App to Hide Variant Options by Rules<\/h3>\n<p>If you\u2019re trying to hide variants based on logic (like \u201cif color is red, hide size L\u201d), then you need:<\/p>\n<ul>\n<li>Variant Option Product Options<\/li>\n<li>Globo Product Options<\/li>\n<li>Shopify Functions (for custom storefronts)<\/li>\n<\/ul>\n<p>These apps let you control visibility rules without editing code.<\/p>\n<h3>Quick Warnings:<\/h3>\n<ul>\n<li>Don\u2019t <em>delete<\/em> variants unless you want to lose order history and inventory links.<\/li>\n<li>Hiding variants can confuse Google if URLs exist but are no longer linked from the product page.<\/li>\n<\/ul>\n<div class=\"key-takeaways\"><div class=\"takeaways-title h2\">Key Takeaways<\/div><div class=\"takeaway-item\"><div class=\"takeaway-number\">1<\/div><div class=\"takeaway-text\">Consider your theme first and access Shopify admin to manage product images. Use theme customization in Shopify options to hide variant images from the store. Implement code changes for advanced customization then hide variant images in Shopify with the Variant Image Automator.<\/div><\/div><\/div>\n<h2 id=\"row1\">How to Hide Variant Images in Shopify<\/h2>\n<p>It is actually very easy for any Shopify store owner to hide the variant images from the store to show only the best images on your website. The first thing is to consider your theme. Most Shopify themes can be adjusted, so this change is made for you. Speak to the Shopify Basic plan support team and see what they can offer you.<\/p>\n<p>If you\u2019re using a third-party theme, then you might need to contact your theme\u2019s developer. They can often help with actions like this and then make it available for everyone. However, not everyone can do this, so you might need to take additional steps.<\/p>\n<p>One option is to hire a Shopify developer expert to help you change the coding of your theme and add this to your website. A Shopify developer expert can be very expensive, but it can be worth the investment.<\/p>\n<p>Or you can add the code to your product page yourself. However, most people who are reading this article won\u2019t have the experience to complete this task and risk damaging their Shopify website, which would cost more to fix.<\/p>\n<h2 id=\"row2\">Hiding Variants with an App<\/h2>\n<p>The final option to hide variant images in Shopify is to use an app. The Variant Image Automator allows you to organize your product page and displays only the images that you would like to showcase on your product page.<\/p>\n<p>This can allow you to remove all variant images on your product pages or show multiple product images for a variant to improve the user\u2019s experience and the conversion rate. We also recommend that you explore what you can do with <a href=\"https:\/\/shopthemedetector.com\/blog\/shopify-product-set-up\/\">products on Shopify<\/a>.<\/p>\n<p>The Variant Image Automator app has been tested across all themes and works with product pages on every store. There are no manual changes that have to be made to your website\u2019s theme files. The app will just auto-assign images to certain products. The app is also compatible with many different third-party apps like color swatches, product image zoom and more.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hide a Variant Option From the Dropdown (but still keep the variant active) Shopify does not offer a built-in toggle to \u201chide\u201d specific variants. But here\u2019s how you can hide\u2026<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_yoast_wpseo_title":"%%title%% %%page%% [year]","_yoast_wpseo_metadesc":"Master how to hide variant images in Shopify for a sleeker product display. Find out the tips and tricks to...","_yoast_wpseo_metatitle":"","footnotes":""},"categories":[13],"tags":[],"class_list":{"0":"post-5541","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-shopify-store-set-up"},"acf":{"breadcrumbs":[{"postpage":[46918]}],"conclusion":"<h2>Conclusion: How to Hide Variant Images in Shopify<\/h2>\r\nWhen it comes to variants, there are ways to hide the images for the variant for your Shopify store. Use one of the options above, and you can ensure a better experience for your website.\r\n\r\nAdditionally, Shopify offers advanced customization options, such as drawing on an image or uploading a photo from another website. These features can help you create unique and engaging product images that stand out from the competition. By taking advantage of these tools, you can create a more visually appealing website that encourages visitors to make a purchase.","repeater":null,"filter":false,"attach_to_post":[3102],"author_bio":false,"custom_author_bio":false,"author_bio_name":"","author_bio_info":"","_meta_excerpt_title":"","meta_excerpt":"","trust_signals":{"expert_reviewed":true,"items_tested":""},"key_statistics":null,"key_takeaways":{"takeaways_items":null},"required_subtopics":null,"context_block":{"context_heading":"","context_excerpt":"","context_content":""},"methodology":{"methodology_heading":"","methodology_content":""},"comparison_table":"","mid_content_cta":{"cta_text":"","cta_button_text":"","cta_link":""}},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Hide Variant Images in Shopify 2026<\/title>\n<meta name=\"description\" content=\"Master how to hide variant images in Shopify for a sleeker product display. Find out the tips and tricks to...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/shopthemedetector.com\/blog\/how-to-hide-variant-images-in-shopify\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Hide Variant Images in Shopify 2026\" \/>\n<meta property=\"og:description\" content=\"Master how to hide variant images in Shopify for a sleeker product display. Find out the tips and tricks to...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/shopthemedetector.com\/blog\/how-to-hide-variant-images-in-shopify\/\" \/>\n<meta property=\"og:site_name\" content=\"Shopify Theme Detector\" \/>\n<meta property=\"article:published_time\" content=\"2021-08-22T06:23:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-30T09:21:34+00:00\" \/>\n<meta name=\"author\" content=\"Avi Klein\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/shopthemedetector.com\/blog\/how-to-hide-variant-images-in-shopify\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/shopthemedetector.com\/blog\/how-to-hide-variant-images-in-shopify\/\"},\"author\":{\"name\":\"Avi Klein\",\"@id\":\"https:\/\/shopthemedetector.com\/blog\/#\/schema\/person\/92ad6961d93dc3870969e8cc0219d607\"},\"headline\":\"How to Hide Variant Images in Shopify\",\"datePublished\":\"2021-08-22T06:23:06+00:00\",\"dateModified\":\"2026-03-30T09:21:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/shopthemedetector.com\/blog\/how-to-hide-variant-images-in-shopify\/\"},\"wordCount\":599,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/shopthemedetector.com\/blog\/#organization\"},\"articleSection\":[\"Shopify Store Set Up\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/shopthemedetector.com\/blog\/how-to-hide-variant-images-in-shopify\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/shopthemedetector.com\/blog\/how-to-hide-variant-images-in-shopify\/\",\"url\":\"https:\/\/shopthemedetector.com\/blog\/how-to-hide-variant-images-in-shopify\/\",\"name\":\"How to Hide Variant Images in Shopify 2026\",\"isPartOf\":{\"@id\":\"https:\/\/shopthemedetector.com\/blog\/#website\"},\"datePublished\":\"2021-08-22T06:23:06+00:00\",\"dateModified\":\"2026-03-30T09:21:34+00:00\",\"description\":\"Master how to hide variant images in Shopify for a sleeker product display. Find out the tips and tricks to...\",\"breadcrumb\":{\"@id\":\"https:\/\/shopthemedetector.com\/blog\/how-to-hide-variant-images-in-shopify\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/shopthemedetector.com\/blog\/how-to-hide-variant-images-in-shopify\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/shopthemedetector.com\/blog\/how-to-hide-variant-images-in-shopify\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Shopify Theme Detector\",\"item\":\"https:\/\/shopthemedetector.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to set up a Shopify store in 2026?\",\"item\":\"https:\/\/shopthemedetector.com\/blog\/how-to-set-up-a-shopify-store\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Shopify Product Set Up\",\"item\":\"https:\/\/shopthemedetector.com\/blog\/shopify-product-set-up\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"How to Hide Variant Images in Shopify\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/shopthemedetector.com\/blog\/#website\",\"url\":\"https:\/\/shopthemedetector.com\/blog\/\",\"name\":\"Shopify Theme Detector\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/shopthemedetector.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/shopthemedetector.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/shopthemedetector.com\/#organization\",\"name\":\"Shopify Theme Detector\",\"alternateName\":\"Shopify Theme Detector\",\"url\":\"https:\/\/shopthemedetector.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/shopthemedetector.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/shopthemedetector.com\/blog\/wp-content\/uploads\/2025\/12\/logo-9.png\",\"contentUrl\":\"https:\/\/shopthemedetector.com\/blog\/wp-content\/uploads\/2025\/12\/logo-9.png\",\"width\":50,\"height\":48,\"caption\":\"Shopify Theme Detector\"},\"image\":{\"@id\":\"https:\/\/shopthemedetector.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/shopthemedetector.com\/about\/#avi-klein\",\"name\":\"Avi Klein\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/1c3fb33cedacbce95ef5bf60552b567ae05acabeed214f17b5e77f7d301aae57?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1c3fb33cedacbce95ef5bf60552b567ae05acabeed214f17b5e77f7d301aae57?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1c3fb33cedacbce95ef5bf60552b567ae05acabeed214f17b5e77f7d301aae57?s=96&d=mm&r=g\",\"caption\":\"Avi Klein\"},\"description\":\"Vast experience in the online world. Shopify Expert, SEO expert, Web developer and consultant to several online companies. 2 time Shopify top affiliate award (2022 + 2024). Read more about our approach to reviewing themes and apps.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/kleinavi\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Hide Variant Images in Shopify 2026","description":"Master how to hide variant images in Shopify for a sleeker product display. Find out the tips and tricks to...","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/shopthemedetector.com\/blog\/how-to-hide-variant-images-in-shopify\/","og_locale":"en_US","og_type":"article","og_title":"How to Hide Variant Images in Shopify 2026","og_description":"Master how to hide variant images in Shopify for a sleeker product display. Find out the tips and tricks to...","og_url":"https:\/\/shopthemedetector.com\/blog\/how-to-hide-variant-images-in-shopify\/","og_site_name":"Shopify Theme Detector","article_published_time":"2021-08-22T06:23:06+00:00","article_modified_time":"2026-03-30T09:21:34+00:00","author":"Avi Klein","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/shopthemedetector.com\/blog\/how-to-hide-variant-images-in-shopify\/#article","isPartOf":{"@id":"https:\/\/shopthemedetector.com\/blog\/how-to-hide-variant-images-in-shopify\/"},"author":{"name":"Avi Klein","@id":"https:\/\/shopthemedetector.com\/blog\/#\/schema\/person\/92ad6961d93dc3870969e8cc0219d607"},"headline":"How to Hide Variant Images in Shopify","datePublished":"2021-08-22T06:23:06+00:00","dateModified":"2026-03-30T09:21:34+00:00","mainEntityOfPage":{"@id":"https:\/\/shopthemedetector.com\/blog\/how-to-hide-variant-images-in-shopify\/"},"wordCount":599,"commentCount":0,"publisher":{"@id":"https:\/\/shopthemedetector.com\/blog\/#organization"},"articleSection":["Shopify Store Set Up"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/shopthemedetector.com\/blog\/how-to-hide-variant-images-in-shopify\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/shopthemedetector.com\/blog\/how-to-hide-variant-images-in-shopify\/","url":"https:\/\/shopthemedetector.com\/blog\/how-to-hide-variant-images-in-shopify\/","name":"How to Hide Variant Images in Shopify 2026","isPartOf":{"@id":"https:\/\/shopthemedetector.com\/blog\/#website"},"datePublished":"2021-08-22T06:23:06+00:00","dateModified":"2026-03-30T09:21:34+00:00","description":"Master how to hide variant images in Shopify for a sleeker product display. Find out the tips and tricks to...","breadcrumb":{"@id":"https:\/\/shopthemedetector.com\/blog\/how-to-hide-variant-images-in-shopify\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/shopthemedetector.com\/blog\/how-to-hide-variant-images-in-shopify\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/shopthemedetector.com\/blog\/how-to-hide-variant-images-in-shopify\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Shopify Theme Detector","item":"https:\/\/shopthemedetector.com"},{"@type":"ListItem","position":2,"name":"How to set up a Shopify store in 2026?","item":"https:\/\/shopthemedetector.com\/blog\/how-to-set-up-a-shopify-store\/"},{"@type":"ListItem","position":3,"name":"Shopify Product Set Up","item":"https:\/\/shopthemedetector.com\/blog\/shopify-product-set-up\/"},{"@type":"ListItem","position":4,"name":"How to Hide Variant Images in Shopify"}]},{"@type":"WebSite","@id":"https:\/\/shopthemedetector.com\/blog\/#website","url":"https:\/\/shopthemedetector.com\/blog\/","name":"Shopify Theme Detector","description":"","publisher":{"@id":"https:\/\/shopthemedetector.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/shopthemedetector.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/shopthemedetector.com\/#organization","name":"Shopify Theme Detector","alternateName":"Shopify Theme Detector","url":"https:\/\/shopthemedetector.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/shopthemedetector.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/shopthemedetector.com\/blog\/wp-content\/uploads\/2025\/12\/logo-9.png","contentUrl":"https:\/\/shopthemedetector.com\/blog\/wp-content\/uploads\/2025\/12\/logo-9.png","width":50,"height":48,"caption":"Shopify Theme Detector"},"image":{"@id":"https:\/\/shopthemedetector.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/shopthemedetector.com\/about\/#avi-klein","name":"Avi Klein","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1c3fb33cedacbce95ef5bf60552b567ae05acabeed214f17b5e77f7d301aae57?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1c3fb33cedacbce95ef5bf60552b567ae05acabeed214f17b5e77f7d301aae57?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1c3fb33cedacbce95ef5bf60552b567ae05acabeed214f17b5e77f7d301aae57?s=96&d=mm&r=g","caption":"Avi Klein"},"description":"Vast experience in the online world. Shopify Expert, SEO expert, Web developer and consultant to several online companies. 2 time Shopify top affiliate award (2022 + 2024). Read more about our approach to reviewing themes and apps.","sameAs":["https:\/\/www.linkedin.com\/in\/kleinavi\/"]}]}},"_links":{"self":[{"href":"https:\/\/shopthemedetector.com\/blog\/wp-json\/wp\/v2\/posts\/5541","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shopthemedetector.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shopthemedetector.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shopthemedetector.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/shopthemedetector.com\/blog\/wp-json\/wp\/v2\/comments?post=5541"}],"version-history":[{"count":14,"href":"https:\/\/shopthemedetector.com\/blog\/wp-json\/wp\/v2\/posts\/5541\/revisions"}],"predecessor-version":[{"id":47271,"href":"https:\/\/shopthemedetector.com\/blog\/wp-json\/wp\/v2\/posts\/5541\/revisions\/47271"}],"acf:post":[{"embeddable":true,"href":"https:\/\/shopthemedetector.com\/blog\/wp-json\/wp\/v2\/posts\/3102"}],"wp:attachment":[{"href":"https:\/\/shopthemedetector.com\/blog\/wp-json\/wp\/v2\/media?parent=5541"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shopthemedetector.com\/blog\/wp-json\/wp\/v2\/categories?post=5541"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shopthemedetector.com\/blog\/wp-json\/wp\/v2\/tags?post=5541"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}