Solved

Remove a drop down when there's nothing else to select (Crave theme)

grindlery
Excursionist
36 0 5

On my product pages, I have a product variant that I want to hide. The reason it exists is for categorising the different products according to this particular variant. I don't need it on my product page. 

The dropdown I want to hide on all my product pages is titled 'proceso' (See screenshot). Can someone help me hide it?

Check example on my site: https://kawa.mx/products/copy-of-futuro-chiapas

 

Screenshot 2022-11-10 at 17.30.33.png

Accepted Solution (1)
GemPages
Shopify Partner
5588 1261 1206

This is an accepted solution.

Hello @grindlery 

I'm really sorry it didn't work for you. However when I check the link you shared above I don't see the code I sent. Did you delete it already? You can replace the code I sent with the code below and check the result. 

 

<style>
     .template-product .product-form__input--dropdown:nth-child(3){
          display: none;
     }
</style>

 

Hope my recommendation can works and support for you!

Kind & Best regards!
GemPages

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center

View solution in original post

Replies 3 (3)

GemPages
Shopify Partner
5588 1261 1206

Hello @grindlery 

I would like to give you some recommendations to support you
Please help me by add this code to your theme.liquid above the </body> tag

<style>
     .template-product .product-form__input--dropdown:last-child{
          display: none;
     }
</style>

Hope my recommendation can works and support for you!
Kind & Best regards!
GemPages

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center
grindlery
Excursionist
36 0 5

Hi. Unfortunately it doesn’t work. 

GemPages
Shopify Partner
5588 1261 1206

This is an accepted solution.

Hello @grindlery 

I'm really sorry it didn't work for you. However when I check the link you shared above I don't see the code I sent. Did you delete it already? You can replace the code I sent with the code below and check the result. 

 

<style>
     .template-product .product-form__input--dropdown:nth-child(3){
          display: none;
     }
</style>

 

Hope my recommendation can works and support for you!

Kind & Best regards!
GemPages

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center