Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We sell guitar parts that come in a variety of colors and finishes, which are set up as variants. One of the variants (only on some products) is "aged finish" we want to make a collection called "fan favorites" that shows just the one variant, the aged finish. When the person clicks the products from fan favorites, we want only the aged finished variant to show, no variant picker. Please don't respond by telling me to make a new product that doesn't have a parent product. I am hoping to easily do this using metafields or metaobjects but so far that hasn't worked. When the collection was made, the products still showed the other variants.
@michelleallpart Shopifys product model and thus the theme ecosystem don't support this out of the box.
If your unwilling to use duplicate products the alternative is to make the target variant the first/feature variant of all such products in tandem with an alternate template that has the variant-picker disabled IF that is even an option for your specific theme. Or use custom css to hide the variant-picker elements for that template.
And that doesn't necessarily account for ensuring the variant is selected on the product page for some themes.
https://help.shopify.com/en/manual/online-store/themes/theme-structure/extend/add-css
Otherwise the theme requires an advanced theme customization to an alternate template for the collection and it's product grid related code to surface the wanted variants in the product loop and disable the variant picker .
If you need this customization then contact me for services, or (sloooower) if you have access private message by clicking here .
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.
Good Luck.
Contact [email protected] for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
So, I found this article which explains how to do it, but it says to add some code into the {%schema%}. I don't know what they mean by that. They didn't specify which template they are talking about.
It's a generic tutorial that doesn't even directly address this use case.
And it's for the product page not a collection pages.
Further for any such tutorial you have to know and infer how to adapt it for a specific theme.
Good Luck.
Contact [email protected] for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024