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 to manually edit your theme code to create a Hide Element rule. You can configure the rule directly from Wholesale Lock Manager.
How to hide the "Add To Cart" button for Products
- 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 Customer Tags, for ex, "VIP", "Tier1", etc. or Customer Email (check image below):
Option 3: Specific countries: Hide the Add To Cart button from visitors in selected countries based on their geolocation.
For detailed instructions on country targeting, see How to Hide Prices and Add To Cart Buttons by Country.
-
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.
If you select All products and you want to exclude the specific products to hide the add-to-cart button for, you can exclude them by clicking on the Browse button as shown here:
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.
Option 3: Selected Collection: If you select this setting, you can choose to hide Add To Cart button for specific collections on your store. - Click Save to save your Hide Add To Cart rule.
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.