Want to hide the Add To Cart button for guest visitors (not logged in) or for specific customers (by tag)? You can do this using Hide elements in Wholesale Lock Manager.
What this feature does
- Hide Add To Cart button on your products
- Target by guest users (non-logged in) or specific customers (customer tags)
- Apply rules to all products or selected products
What’s new: You can now create multiple Hide Element rules to tailor visibility for different customer segments and different products.
Before you start
You don't need a theme code. You no longer need to add code in your store’s currency formatting settings manually. If you added the older code previously, it will continue to work—no changes needed
How to hide Add To Cart button
- Go to Shopify admin → Apps → Wholesale Lock Manager.
- Open Hide elements from the left menu.
- Click Create hide element.
- Enter a Name for the rule.
- Under Hide elements, enable Hide 'add to cart' button.
-
Under Who does this apply to?, choose one:
Option 1: Guest users (not logged in): This setting will allow you to hide the Add To Cart button from visitors who are not logged into your store
Option 2: Specific customers (customers with the required customer tag(s)): This setting will allow you to hide your Add To Cart button from specific customers you already have in your store and are tagged with the specific tag(s), for ex, "VIP", "Tier1", etc. (check image below)
-
Under Which products should be selected, choose one:
Option 1: All products: This setting allows you to hide the Add To Cart button for all the products you have in your store.Option 2: Selected products only (pick the products): If you select this setting, you can choose to hide the Add To Cart button for specific products on your store from your 'specific customers' in the above step.
- Hit Save to save your Hide prices setting.
Pro tip: Text, links, and CSS are global. That means the most recently created/updated Hide Element will overwrite these settings and apply them to all active Hide Element rules.
End Result Example
Visitors/customers will see the product without the Add to Cart button when they try to access it:
Support and Assistance
For further assistance or help regarding hiding the add-to-cart button, feel free to reach out to our dedicated support team:
Email us - themes@wholesalehelper.io
Chat with us - You can also initiate a support chat conversation through your WLM app.