Conditional Add to Cart for WooCommerce
Conditionally hide, disable, customize, or replace the WooCommerce Add to Cart button — no code required. Conditional Add to Cart lets you create rules that automatically control the “Add to Cart” button based on conditions you define. Hide the button for guests, disable it until a minimum order is met, replace it with a quote form for wholesale customers, or restrict purchases by country or user role. Perfect for wholesale stores, B2B shops, membership sites, and any WooCommerce store with special purchasing requirements. Common Use Cases Wholesale & B2B Stores – Hide Add to Cart for guests, require login to see pricing – Show “Request Quote” button for wholesale user roles – Different buttons for different customer roles Minimum Order Requirements – Disable Add to Cart until cart reaches a minimum subtotal – Show “Minimum $50 Required” message until threshold is met – Custom messages for minimum order rules Restrict Purchase by User Role – Show products only to specific WordPress user roles – “Members Only” access for logged-in users – Different Add to Cart behavior per role Geographic Restrictions – Hide Add to Cart for customers in specific countries – “Not Available in Your Region” messages – Country-specific purchasing rules Pre-Orders & Coming Soon – “Pre-Order – Ships March 15” custom buttons – “Coming Soon – Notify Me” for unreleased products – Custom launch date messaging Key Features Multiple Rules System Create multiple rules. Each rule can have different conditions, target different products, and perform different actions. Powerful Conditions Product Conditions: Product Price – Target items within a price range Product Stock Status – Target items with a defined stock status Product Tag – Target items by product tag Product Attribute (Pro) – Target items by any product attribute value (color, size, material, etc.) Product on Sale (Pro) – Target items with active sale prices Cart Conditions: Cart Contains Product – Check if specific products are in cart Cart Quantity – Total number of items in cart Cart Subtotal – Cart value before tax/shipping Cart Total – Final cart value including tax/shipping Cart Contains Category (Pro) – Check if category products are in cart User Conditions: User Role – Target by WordPress user role (Customer, Wholesale, Subscriber, etc.) User Login Status – Logged in or guest User Country – Geographic targeting (multiple countries supported) Time Conditions (Pro): Time – Daily recurring time windows (business hours, flash sales) Date/Time – Specific dates and times (product launches, deadlines) Day of Week – Target specific days (weekdays, weekends, etc.) 5 Powerful Actions Disable Purchase – Disable the Add to Cart button completely with optional custom message Customize Button – Change button text, colors, and add a redirect URL Replace Button – Show custom HTML, shortcodes, or alternative content Request Quote (Pro) – Display a quote form with email notifications and custom fields Hide Price (Pro) — Any rule can optionally hide the product price. Replace it with custom text like “Login to see price” with an optional link. Combines with any action — hide price + show quote button, hide price + disable purchase, etc. Flexible Product Targeting All Products – Apply rule to entire store Specific Products – Select individual products from searchable dropdown Product Categories – Target entire categories (includes subcategories) All Except Products (Pro) – Exclude specific products from rule Specific Variations (Pro) – Target individual product variations Smart Condition Logic AND/OR logic for complex rules Multiple condition groups Rule priority ordering — drag & drop (Pro) Free vs Pro Free Version Includes One rule 10 conditions: product price, stock status, product tag, cart contains product, cart quantity, cart subtotal, cart total, user role, user login status, user country Disable, Customize Button, and Replace Button actions Product and category targeting AND/OR condition logic Pro Version Adds Multi-rules system Rule enable/disable toggles Drag & drop rule priority ordering 6 additional conditions: Product on Sale, Product Attribute, Cart Contains Category, Time, Date/Time, Day of Week Hide Price toggle — hide or replace the price with custom text and optional link (combinable with any action) Request Quote action with email notifications Redirect URLs for Customize Button action “All Except Products” targeting Product variation targeting Custom “not available” messages for Disable action Priority email support Upgrade to Pro → How It Works Step 1: Create a Rule Give your rule a descriptive name like “Disable for Guests” or “Wholesale Quote Request”. Step 2: Target Products (Apply to) Select which products the rule affects: all products, specific products, or product categories. Step 3: Set Conditions (When) Choose when the rule should apply: user role, cart total, login status, country, and more. Step 4: Choose Action (Then) Decide what happens to the Add to Cart button: hide it, customize text and colors, replace with custom HTML, or show a quote form (Pro). Step 5: Save & Test Enable the rule and test it on your store. Toggle it off anytime without deleting. Example Rules Example 1: Minimum Order Amount When: Cart total less than $50 What: All products Then: Customize button text to “Minimum $50 Required” Example 2: Members Only Products When: User is not logged in What: Category “Premium” Then: Replace button with “Login to Purchase” link Example 3: Country Restrictions When: User country is “Canada” or “Mexico” What: Specific products Then: Disable Add to Cart with message “Not available in your region” Example 4: Wholesale User Role When: User role is “Wholesale Customer” What: All products Then: Replace Add to Cart with a Request Quote form Theme Compatibility Works with all WooCommerce-compatible themes including Storefront, Astra, Divi, Flatsome, OceanWP, Avada, GeneratePress, Kadence, and more. Page Builder Compatibility Elementor, WPBakery, Beaver Builder, Gutenberg, Oxygen. Privacy Policy This plugin does not collect, store, or share any personal data. All rules and conditions are stored locally in your WordPress database. The Pro version’s Request Quote feature collects form submissions (name, email, message) which are sent to the store admin email. This data is not stored by the plugin or sent to external services.
Top keywords
- cart30×3.16%
- product22×2.32%
- products19×2.00%
- user17×1.79%
- button15×1.58%
- pro14×1.47%
- rule13×1.37%
- add12×1.26%
- add to cart11×1.16%
- conditions11×1.16%
- disable11×1.16%
- hide11×1.16%
Whols – Wholesale Prices and B2B Store Solution for WooCommerce
Whols is the complete wholesale solution for WooCommerce — set role-based pricing, manage wholesaler registration, and automate your B2B order rules, all from your existing store. 🔥 Trusted by 2,000+ businesses worldwide. Add a complete wholesale layer to your existing WooCommerce store without building a second site. Set role-based pricing, create a custom wholesaler registration form, control who sees which products, and automate order rules with smart dynamic conditions. 🖥️ Try Free Demo | 🚀 Try Pro Demo 🌐 Website | 💰 Purchase Pro | 📖 Documentation | 💬 Contact & Support 🗺️ Overview Whols turns any WooCommerce store into a fully functioning B2B or hybrid B2B+B2C store — without creating a second site or duplicating your product catalog: Set wholesale pricing — globally, per product, per variation, or per category Manage wholesale customers — with a registration form, approval workflow, and unlimited user roles Control visibility — show or hide products and prices based on customer role or login status Automate order rules — apply discounts, fees, BOGO offers, and shipping conditions dynamically Run B2B, B2C, or both — one dashboard, one product catalog, zero duplication 👥 Who Is Whols For? B2B store owners who want to sell exclusively to approved wholesale customers Hybrid store owners who serve both retail and wholesale customers from one site Agencies and developers building wholesale stores for clients 📺 Watch the Plugin Overview Prefer video over text? This short overview covers everything Whols can do — watch it before diving into the details below: 🆓 Free Features Wholesale Pricing Set wholesale prices on simple and variable products (per variation supported) Apply flat or percentage discounts globally across the store Set a minimum product quantity to buy Update wholesale prices via quick edit and bulk edit Show wholesale pricing on shop and product detail pages Display the amount customers save after purchase Registration & Roles Assign a wholesaler registration form to any page Use the registration form shortcode [whols_registration_form] on any page or post Customize registration form fields visually — no coding required Add custom or additional fields via filter hook Customers can request to become wholesalers Approve requests manually Assign the wholesale role to existing customers Customize the registration success message Email notification on every new registration Visibility & Access Show or hide retailer price from wholesale customers Hide wholesale prices from guests (login to see price) Hide “Wholesale Only” products from regular customers Hide general products from wholesalers Wholesale prices visible only to users with the Wholesaler role Checkout, Shipping & Tax Allow free shipping for wholesalers Disable coupon codes for wholesale customers Exclude tax for wholesale users Save Order List for quick repeat purchases Request a quote for products (wholesalers can request quotes directly) Customization & Compatibility Customize frontend labels (Retailer Price, Wholesaler Price, Save Amount) Redirect to a specific page after registration or login Design customization options for wholesale price display Custom Thank You page message for wholesale orders Reset all settings to default with one click Compatible with WPML, Polylang, and CURCY Multi Currency Easy-to-use dashboard — no coding required 💎 Premium Features Advanced Pricing & Roles ✓ Create and manage unlimited wholesale user roles ✓ Set different prices for different wholesaler roles ✓ Set different prices for individual users ✓ Category-wise product pricing (flat or percentage) ✓ Category-wise pricing for different roles ✓ Tiered pricing based on quantity (with quick edit and bulk edit support) Registration & Forms ✓ Visual registration fields manager and editor ✓ Add custom fields without coding ✓ Use WooCommerce billing fields in the registration form ✓ Add file upload fields to the registration form ✓ Google reCAPTCHA v3 spam protection ✓ Approve or reject wholesalers directly via email ✓ Set a default wholesaler role for new registrations ✓ Auto-approve new wholesaler registrations Store Access & Control ✓ Restrict wholesale store access ✓ Restrict access to the entire website or only the Shop page ✓ Allow access to logged-in users or only wholesale-role users ✓ Role-based payment method control ✓ Role-based free shipping Dynamic Rules ✓ Create smart checkout rules based on cart value, item count, product, user role, or promo code ✓ Apply cart-wide discounts automatically ✓ Add extra fees (e.g., customs charges or documentation fees) ✓ Enable Buy One Get One (BOGO) offers ✓ Grant free shipping based on conditions ✓ Schedule rules to run during specific date ranges ✓ Inspect all active rules with the built-in Rules Inspector tool Sales & Order Tools ✓ Bulk Order Form for fast, high-volume purchasing ✓ Admin can place wholesale orders on behalf of any customer ✓ Pay using digital Wallet ✓ Unlimited saved order lists per customer (Free version supports one list) ✓ Advanced WooCommerce sales reports (by customer, by role, by product) Communication ✓ Conversation feature — message customers directly from the admin ✓ Email notifications for registration, approval, and rejection Purchase Whols Pro → 🔌 Integrations WooCommerce Packing Slips — Auto-attach PDF invoices and packing slips to order emails FiboSearch — Advanced AJAX product search for wholesale stores WPML — Build a multilingual wholesale store Polylang — Additional multilingual support CURCY Multi Currency — Sell in multiple currencies 🎬 Video Tutorials How to install Whols and complete the basic setup How to add a wholesaler registration form and approve wholesale roles How to set wholesale prices for individual products or variations How to set wholesale prices for different categories How to add tiered pricing for wholesalers in WooCommerce How to create wholesaler roles and assign to existing customers How to set different prices for different wholesale customers How to hide wholesale prices from guests or retail customers How to hide wholesale products from guests or retail customers How to enable free shipping for wholesale customers How to apply cart discounts using Dynamic Rules How to add extra fees to cart using Dynamic Rules How to control payment methods — step-by-step guide Community Tutorial — Full Whols walkthrough 💬 What Our Users Say Perfect for Wholesalers & B2B I had tried several other Wholesaler plugins and found either drawbacks or issues with all of them. The Whols plugin works perfectly for my needs with plenty of options going forward. Its excellent. — @mark666 The BEST Wholesale plugin! I absolutely love this Wholesale plugin, it’s easy to setup and has everything you need in order to create a good wholesale website. I am deeply grateful for the exceptional support provided. — @nicola-tweed Amazing Support The service of the Whols Team was one of the best so far. They were very patient, but efficient and solved all the issues very professionally. I love this plugin and appreciated the kind support a lot! — @cedricbaguilar AWESOME PLUGIN!! Really thank you! I wasted so many hours trying to find a suitable solution for my site. It’s easy to setup and has everything you need. — @bobbymenas See All Reviews 🔥 Other Popular Plugins by HasThemes ShopLentor (formerly WooLentor) – WooCommerce page builder plugin with 120+ free Elementor widgets, 110+ WooCommerce templates, and Gutenberg Blocks. SupportGenix – Customer support ticket plugin for WordPress. Manage support tickets, assign agents, and resolve issues efficiently from your dashboard. HT Mega For Elementor – Elementor Addons with 135+ professional widgets, AI-powered content writer, theme builder, and 790+ ready-made blocks. HashBar – WordPress notification bar plugin to display announcements, promotions, and CTAs at the top or bottom of your site. WP Plugin Manager – Disable certain plugins on specific pages or posts for better performance. Activate or deactivate plugins on a per-page basis. Swatchly – WooCommerce product variation swatches with color, label, and image swatch types. Pixelavo – Facebook Pixel integration for WordPress and WooCommerce. Track events, optimize ads, and build custom audiences with ease. HT Easy GA4 – Connect Google Analytics 4 to your WordPress site without coding. Track pageviews, events, and eCommerce data effortlessly. Wanna see the pro version? Check it out now!