How to hide Default Variant in Brooklyn theme

I have some products without variants. I don’t want to see the Default option. For now, I have to select Default even though there is nothing to choose from since it’s a single product. I followed a couple tutorials but it’s not working for me. I was able to hide all the variants but I just want to hide products with one variant.

Thanks for your help.

Hello @artifulboutique ,

Please share:

  • your store URL;
  • page URL with the issue you mention;
  • storefront password (if your store has one).

If the store is not online yet, please follow this quick tutorial to learn how to safely and temporarily share an offline/unpublished theme URL.

Kind regards,
Diego

www.artifulboutique.com

Example: https://www.artifulboutique.com/products/capable-rotatable-stapler

@artifulboutique ,

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. In your theme.liquid file, find the (press CTRL + F or command + F on Mac)
  3. paste this code right above the tag:

Please let me know whether it works.

Kind regards,
Diego

Yes, it worked! Thank you so much!