Solved

How to hide a variant option in Kalles theme?

kt_SOLEQUEST
Visitor
3 0 3

Hello, I would like to hide the "CONDITION: BRAND NEW WITH TAGS" variant option from all of my product pages - looked over some other posts and have been struggling to find a solution. Thanks in advance!

 

https://www.solequest.com/collections/new-arrivals/products/supreme-kaws-chalk-logo-5-panel-grey-hat

 

kt_SOLEQUEST_1-1708880422671.png

 

 

Accepted Solution (1)

ThePrimeWeb
Shopify Partner
2122 607 471

This is an accepted solution.

Hey @kt_SOLEQUEST,

 

This should hide it on every product page, just make sure it's not important everywhere!

 

Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.

<style>
.t4s-swatch__option.is-t4s-name__condition {
    display: none !important;
}
</style>

 

Screenshot is for reference only, the correct code to paste is the one shown above.

ThePrimeWeb_0-1708881992755.jpeg

 

Was I helpful?

Buy me a coffee

🙂

Need help with your store? contact@theprimeweb.com or check out the website
Check out our interview with Shopify!

View solution in original post

Replies 3 (3)

ThePrimeWeb
Shopify Partner
2122 607 471

This is an accepted solution.

Hey @kt_SOLEQUEST,

 

This should hide it on every product page, just make sure it's not important everywhere!

 

Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.

<style>
.t4s-swatch__option.is-t4s-name__condition {
    display: none !important;
}
</style>

 

Screenshot is for reference only, the correct code to paste is the one shown above.

ThePrimeWeb_0-1708881992755.jpeg

 

Was I helpful?

Buy me a coffee

🙂

Need help with your store? contact@theprimeweb.com or check out the website
Check out our interview with Shopify!
kt_SOLEQUEST
Visitor
3 0 3

Thank you! it's been bugging me for months!

Monkee
Visitor
2 0 3

Hi, I have a variant I want to hide from the product page but still use in bundles. Would your example above need to be altered and would it still work with BYOB? Each of my products has the variant "Weight" with 4 options underneath but there's a specific weight that I only want available as part of the bundle and not on the main product page. Example.