Hey guys, I’m looking to get help on a code to hide sold out variants from product with multiple variants on the new Dawn 10 Theme, can someone please help out?!
Topic summary
Hiding sold-out product variants in Shopify’s Dawn 10 theme. The requester wants sold-out variants to fully disappear rather than show the default strikethrough and “sold out” message; they are not seeking an installment message replacement.
Guidance shared: Newer Dawn versions include built-in logic that visually marks sold-out variants, making complete removal more complex. A prior forum thread with updated customization approaches was linked, and contacting Shopify Support for design-time assistance was suggested.
Developments: Another participant asked if a solution was found. A third-party app (“Stamp – Variants on Collection”) was promoted to show/hide or filter variants and separate them by options on collection and home pages, with a demo video provided.
Key terms: Dawn 10 is Shopify’s default theme; variants are product options like size or color. The theme’s default behavior is to strike through and label out-of-stock options.
Status: No code or confirmed method to hide sold-out variants on the product page was shared. The thread remains open, with feasibility in Dawn 10 still uncertain without custom code or apps.
Hi Relixo,
For Dawn V10, a sold out variant appears with a strikethrough, and a sold out message. You’d like to remove the variant completely, or would you like to replace “sold out” with an installment message?
I would like to completely make the variant disappear!
So with the more recent versions of Dawn, the ability to hide sold out variants has become a bit more complex, as the theme natively has logic for changing the visual display of sold out variants (with that strike through). There was some discussion in the forums here on how a previous customisation could be updated to achieve the same effect.
You could also contact Shopify support directly and see if this customisation is possible with design time you might have access to?
Hope this helps!
hey, did you find a solution for this?
Third-party apps make it easy to separate variants I own the Stamp ‑ Variants on Collection and we help merchants display variants separately on the collection page and home page. You can customize the settings per collection to show or hide specific variants, filter variants, or separate them by specific options. For example, you can create a “Gold” collection and display only gold-related variants.
https://youtu.be/Pdk4JmfJjqQ