Articles on: 'Notify me' button

How to Show or Hide 'Notify Me' Button on Specific Products Using Tags

STOQ allows you to control which products display the 'Notify me' button by using product tags. This feature gives you precise control over your back-in-stock alert strategy, letting you show the button only on specific products or hide it from certain items that shouldn't collect customer registrations.


Accessing the Product Tag Settings


To configure which products display the 'Notify me' button, you'll need to navigate to the button customization settings in your STOQ app.


  1. Open the STOQ app from your Shopify admin
  2. Click Back in stock alerts from the left navigation menu
  3. Under the Signup Widget section, click Customize button
  4. Select the Button tab at the top of the page
  5. Click Products from the options menu



Understanding the Two Display Options


STOQ provides two main options for controlling button visibility across your store. Each option serves different use cases depending on your inventory management strategy.


Show Button on All Out of Stock Products


This is the default setting that displays the 'Notify me' button automatically on any product that runs out of stock. When this option is selected, the button appears site-wide without requiring any manual configuration or product tagging.


  • Best for stores that want alerts on all products
  • No product tagging required
  • Button appears automatically when inventory reaches zero
  • Simplest setup with minimal maintenance


Show Button on Specific Products


This option gives you granular control by using product tags to determine which items should display the button. When you enable this setting, you'll need to add specific tags to your products in Shopify to control button visibility.


  • Ideal for selective back-in-stock alerts
  • Requires adding tags to products in Shopify admin
  • Gives precise control over which products collect registrations
  • Useful for excluding discontinued or non-restockable items



Configuring Product Tags


Once you select "Show button on specific products," you'll see additional configuration options that let you define which tags control button visibility.


Setting Up Your Product Tags


  1. In the Product tags field, enter one or more tags separated by commas
  2. Use tags that make sense for your workflow (examples: hide-button, rocket-hide, no-restock, notify-enabled)
  3. You can use multiple tags to give yourself flexibility (e.g., hide-button,no-alerts,discontinued)


Tip: Choose tag names that are clear and won't conflict with existing tags in your store. Consider using a prefix like stoq- or notify- to keep them organized.


Choosing the Tag Behavior


After defining your tags, you need to tell STOQ what to do when it finds these tags on a product. You have two options:


Hide 'Notify me' button
  • When STOQ finds any of your specified tags on a product, it will hide the button
  • Use this when you want the button to appear on most products except those with the tag
  • Example: Tag discontinued products with no-restock to prevent customer registrations


Show 'Notify me' button
  • When STOQ finds any of your specified tags on a product, it will show the button
  • Use this when you want the button to appear only on tagged products
  • Example: Tag high-demand products with notify-enabled to limit alerts to specific items



Saving Your Configuration


After configuring your tags and behavior, click the Save button at the bottom of the page to apply your changes. The settings will take effect immediately on your storefront.


Adding Tags to Products in Shopify


Once you've configured your tag settings in STOQ, you'll need to add the corresponding tags to your products in the Shopify admin. This is where you control which specific products will show or hide the button based on your configuration.


Steps to Add Tags in Shopify Admin


  1. Log in to your Shopify admin panel
  2. Navigate to Products from the left sidebar
  3. Click on the product you want to tag
  4. Scroll down to the Tags section on the right side of the product page
  5. Type the tag name exactly as you entered it in STOQ (e.g., hide-button or rocket-hide)
  6. Press Enter or comma to add the tag
  7. Click Save at the top right to apply the changes



Important: Tag names are case-sensitive and must match exactly what you entered in STOQ. If you configured hide-button in STOQ, using Hide-Button or hidebutton in Shopify won't work.


Bulk Adding Tags to Multiple Products


If you need to add tags to many products at once, Shopify provides a bulk editing feature that can save you significant time.


  1. Go to Products in your Shopify admin
  2. Select the checkboxes next to the products you want to tag
  3. Click Bulk edit at the top of the product list
  4. Select Add tags from the dropdown menu
  5. Enter your tag name and click Add tags
  6. Click Save to apply the tags to all selected products



For detailed instructions on managing product tags in Shopify, refer to Shopify's official documentation on product tags.


Common Use Cases


Understanding when to use product tags for button visibility can help you optimize your back-in-stock alert strategy. Here are some practical scenarios where this feature proves valuable.


Hiding the Button on Discontinued Products


If you're phasing out certain products and won't be restocking them, you can prevent customers from signing up for alerts by hiding the button on those items. Simply tag discontinued products with your configured tag (e.g., no-restock) and set the behavior to "Hide 'Notify me' button."


Showing the Button Only on High-Demand Items


For stores with large catalogs, you might want to focus back-in-stock alerts on your best-selling or high-margin products. Tag these priority items with something like notify-enabled and configure STOQ to show the button only when this tag is present.


Excluding Seasonal or Limited Edition Products


Seasonal items that won't return until next year, or limited edition products that won't be restocked, are good candidates for hiding the button. This prevents customer disappointment and reduces unnecessary email collection.


Managing Pre-Order Products Separately


If you use STOQ's pre-order feature for some products, you might want to hide the back-in-stock button on those items to avoid confusion. Tag pre-order products accordingly and configure the button to hide on tagged items.


Advanced Tips


Once you're comfortable with basic tag configuration, these advanced techniques can help you manage button visibility more efficiently across your store.


Using Multiple Tags for Flexibility


STOQ allows you to enter multiple tags separated by commas. This gives you flexibility to use different tagging conventions across your store. For example, you might configure hide-button,no-restock,discontinued,seasonal-out so that any of these tags will trigger the same behavior.


Combining with Other STOQ Settings


The product tag feature works alongside other STOQ settings like "Show 'Notify me' button on preorder products" and "Show 'Notify me' button if any variant is out of stock." Make sure these settings align with your tagging strategy to avoid conflicts.


Testing Your Configuration


After setting up your tags, test the configuration by visiting your storefront and checking products with and without the tags. Use an incognito browser window to see the customer experience without cache interference.


Known Limitations


While the product tag feature is powerful, there are some constraints to be aware of when planning your implementation.


  • Tag matching is case-sensitive and requires exact matches between STOQ configuration and Shopify product tags
  • Changes to tags in Shopify may take a few minutes to reflect on your storefront due to caching
  • The feature applies at the product level, not the variant level, so all variants of a tagged product will have the same button visibility
  • If you use both "Show button on specific products" and other visibility settings, the tag configuration takes precedence


Troubleshooting


If you're experiencing issues with product tags not working as expected, these common solutions can help resolve most problems.


Symptom

Likely Cause

Fix

Button still appears on tagged products

Tag name mismatch or wrong behavior selected

Verify tag spelling matches exactly (case-sensitive) and check if behavior is set to "Hide" instead of "Show"

Button doesn't appear on any products

"Show button on specific products" enabled but no products tagged

Add your configured tag to products in Shopify admin, or switch back to "Show button on all out of stock products"

Changes not reflecting on storefront

Browser or CDN caching

Clear your browser cache and wait 5-10 minutes for CDN cache to expire, then check again

Button appears on in-stock products

"Show button if any variant is out of stock" setting enabled

Check other STOQ settings under Products to ensure they align with your tagging strategy


FAQs


Q: Can I use existing product tags or do I need to create new ones?

A: You can use any existing tags you already have on your products. Just enter those tag names in the STOQ configuration. However, using dedicated tags like "hide-button" or "stoq-notify" can make management easier and prevent conflicts.


Q: How long does it take for tag changes to appear on my storefront?

A: Tag changes typically take effect within a few minutes, but browser caching and CDN caching can delay visibility. Clear your browser cache and wait up to 10 minutes for changes to fully propagate.


Q: Can I hide the button on specific variants instead of the entire product?

A: No, the product tag feature works at the product level, not the variant level. All variants of a tagged product will have the same button visibility. If you need variant-level control, consider using STOQ's custom CSS or JavaScript options.


Q: What happens if a product has multiple tags and only one matches my configuration?

A: If any of the tags on a product match any of the tags in your STOQ configuration, the behavior you selected (hide or show) will apply. Only one matching tag is needed to trigger the behavior.


Q: Can I use this feature alongside the collection-level button visibility settings?

A: Yes, product tags work independently of collection settings. However, if both are configured, the product tag setting takes precedence for products that have matching tags.


Q: Do I need to save changes in both STOQ and Shopify?

A: Yes, you need to save in both places. First, configure and save your tag settings in STOQ. Then, add the actual tags to your products in Shopify admin and save those changes as well.


Q: Will this affect my existing customer registrations?

A: No, hiding the button on a product doesn't delete or affect existing customer registrations for that product. Customers who already signed up will still receive notifications when the product restocks.


Q: Can I see which products have the notify button enabled or disabled?

A: You can check which products have your configured tags by going to Products in Shopify admin and using the tag filter. STOQ doesn't currently provide a report of button visibility by product.

Updated on: 25/02/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!