Hide the Back in Stock button for certain products
Yes! The easiest way to hide the button for a product is to add a tag bis-hidden to the product using the Shopify admin.
If you're not sure how to add a tag to a product take a look at Add tags to products in the Shopify manual.
Using a custom tag
For some stores the bis-hidden tag may not be suitable. For example, you may already have tagged products that won't be restocked with 'clearance' and would prefer to use that tag.
You can specify which tag will hide the Back in Stock button from your Back in Stock dashboard:
- From your dashboard choose Settings, your details
- Scroll down to the 'Tags to hide store front widget' option.
- Change the field Hide when tagged to the tag name you wish to use. You can only set one tag and tag names cannot contain comma (,) characters.
- Hit Save button settings
This tag will work with buttons added via the Back in Stock storefront widget. It won't hide custom buttons or forms added to the product template. For an example on how to hide a custom button or form in your template see our developer section.
Hiding for a product variant
Shopify tags can be applied to a product but not to individual variants in a product so this method will hide Back in Stock for all variants on a product. It isn’t possible to use a tag to hide Back in Stock for selected variants.
Instead consider using a custom button in the theme template that triggers the Back in Stock signup form when clicked. A custom button coded into a theme template can be fully controlled by the theme developer and can be hidden for product variants as needed.