How can I selectively hide product variants on my website?

Hi,

  • I’m trying to hide product variants. Is there a way to hide?
  • We only want to hide 1 or 2 variants; not all variants. As seen in the example image, we want to hide only the marked one.
  • We want to hide some variants that we don’t want customers to see on the product detail page.
  • We do not want to have problems while adding variants to the product.
  • The variant will appear in the xml and product feeds, but the customer cannot see this variant the entire site.

Thank you,

Hi @Efzen ,

Here are two ways to hide selective product variants:

1. Use a third-party app
There are third-party applications that provide you with the opportunity to hide some products that are longer in stock. Use this application to do the hard work for you.

2. Using a hack

Go to the backend of your store and follow the undermentioned steps:

  1. Open the variant edit page
  2. Select “Track Quantity” in the Inventory Section
  3. Uncheck the “Continue selling when out of stock” tab
  4. Set “Available” to 0 under QUANTITY (appears after Tracking quantity)

We hope this is helpful to you!

Hi @AvadaCommerce ,

Thank you for answering my question.

I did step 2 but it didn’t work.

Is there any other way to remove it from options?

Hi @Efzen ,

Thanks for getting back!
To clarify, do you want to remove or just hide it from options? Please reply back as soon as possible so that we can continue on.

Hi @AvadaCommerce ,

I want to hide option on product details page.

Hi @Jason ,

Can you help me?

Hi @PaulNewton

Can you help me?

@Efzen

Please share your site URL,
I will check out the issue and provide you a solution here.

Thank You!

Hi @infoatcodelab7

https://fifthsenseshop.com/

Thank you for your help,

Same here, there was any working solutiton for that? I need to hide the vavriant too! Thanks

I also need this solution too

Hi @Efzen @AndyKnz

If I’m not too late and you are still trying to hide “Specific” variants regardless of inventory quantity, you are welcome to try our app Camouflage which does exactly the same. As far as I know, there is no other readymade solution available.

To build your own solution, you can create a metafield on variants to mark the variant sold out/unavailable and read that metafield into the theme to hide them. You’ll need Javascript to handle all these in the frontend.

Please let me know if you’ve any further questions :slightly_smiling_face:

All the best!!