I want to make variants for my products so i can use them for filters in the shop page.
But in the product page i want to have only the weight variant. Is there a way to modify this with code so i can hide the other 2? (remove flavor and type)
Hello @3pppz .
Our team is ready to help you.
Please share your website address and access password (if necessary) so that we can check and assist you.
Hello @3pppz
would you like to share your store URL and password if any please.
so i can check and provide you possible solution for your question.
https://philsgranola.myshopify.com/
pass : phils
https://philsgranola.myshopify.com/
pass: phils
.product-form__input:not(:first-child) {
display: none !important;
}
You can add code by following these steps
Go to Online Store → Theme → Edit code.
Open your theme.liquid file
Paste the below code before on theme.liquid
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Hello, this code does not work on a listing that has a drop down for variants, such as at the link below. Any solutions here? Thanks so much!