Conditional Add to Cart for WooCommerce
Conditionally hide, disable, 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 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.) 4 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 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, cart contains product, cart quantity, cart subtotal, cart total, user role, user login status, user country, day of week Disable, Customize Button, and Replace Button actions Product and category targeting AND/OR condition logic Pro Version Adds Multi-rules system with unlimited rules Rule enable/disable toggles Drag & drop rule priority ordering 5 additional conditions: Product on Sale, Cart Contains Category, Time, Date/Time, Day of Week 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.44%
- products19×2.18%
- user17×1.95%
- product15×1.72%
- button14×1.60%
- add12×1.37%
- pro12×1.37%
- rule12×1.37%
- add to cart11×1.26%
- conditions11×1.26%
- disable10×1.15%
- specific10×1.15%
Wholesale Customers For WooCommerce
Wholesale Customers For WooCommerce gives you everything you need to run a wholesale operation alongside your regular WooCommerce store — without a complicated setup or a bloated plugin. Assign customers as wholesale buyers, set a global percentage discount or per-product wholesale prices, enforce a minimum order value, and control exactly what your customers see at every step of the buying journey. Whether you’re selling direct to retailers, running a B2B-only store, or offering trade pricing to select customers alongside your retail catalogue, this plugin handles it cleanly and efficiently. Pricing Global percentage discount — set a single store-wide discount that applies automatically to every product for wholesale customers. Per-product wholesale price — set an exact price on any simple product or variation. Always overrides the global discount when set. Apply discount to sale prices — choose whether the global discount stacks on top of a sale price or applies to the regular price only. Discount tax base — for stores that enter prices inclusive of tax, apply the discount to the tax-exclusive price instead of the stored price. Wholesale price column in the Products list — see every product’s wholesale price at a glance. Quick Edit support — set or clear the wholesale price without opening each product individually. Bulk Edit support — update wholesale prices across multiple products at once. Product CSV import/export — wholesale_price is included in WooCommerce’s built-in importer and exporter with automatic column mapping. Customer Management Wholesale Customers admin page — a dedicated screen listing every wholesale user with their name, email, order count, and the date they were assigned wholesale status. Supports search, column sorting, and bulk removal. One-click assignment — enable wholesale status from the user’s Edit Profile page with a single checkbox. Wholesale since date — the date a customer was first granted wholesale status is recorded and shown on their profile. “Wholesale” column on the Users list — instantly identify wholesale accounts with a dedicated filter view. Wholesale customer filter on the Orders screen — filter the order list to show only wholesale orders (works with both classic and HPOS order storage). Order flagging — wholesale orders are tagged at checkout so they remain identifiable in reports even if a customer’s status later changes. A “Wholesale Order” badge appears on the admin order screen. WooCommerce REST API support — read and set wholesale_customer status via the /wc/v3/customers endpoint. Customer Experience Wholesale price on the product page — logged-in wholesale customers see their price on every product page (simple and variable). “You save” display — shows the exact savings amount and percentage on the product page. Variable products show the maximum savings percentage across all variations. Hide retail price — optionally show wholesale customers only their discounted price, removing the regular price from display. Wholesale badge in cart & checkout — line items show a “Wholesale” label when a wholesale discount is applied. Wholesale savings total — cart and checkout display a “Wholesale savings” row showing the total saved on the order. Wholesale savings in order emails — order confirmation emails include how much the customer saved. My Account wholesale status panel — customers see a “Wholesale Account” section on their dashboard confirming their status and the date it was granted. “Log in for wholesale pricing” notice — shown on product pages to guests and non-wholesale customers. Text and link URL are configurable in settings. “No wholesale pricing available” message — a configurable fallback shown to wholesale customers viewing products with no specific pricing set up. Customisable wholesale price label — change “Your wholesale price:” to any text you like. [wcs_wholesale_notice] shortcode — place the wholesale call-to-action notice anywhere on your site. Supports login_text, apply_text, active_text, and url attributes. Store Controls Minimum cart total — block wholesale customers from checking out below a set order value. Disable coupons for wholesale customers — prevent coupon codes from stacking on top of wholesale pricing. Catalog / private store mode — hide prices and the Add to Cart button from guests only, or from all non-wholesale visitors, turning your store into a B2B-only catalogue. Developer Tools Built with extensibility in mind. All core behaviour is exposed through filters and actions so Pro features and third-party integrations work without modifying plugin files. Key hooks: wcs_is_wholesale_customer, wcs_wholesale_price, wcs_minimum_cart_amount, wcs_wholesale_customer_enabled, wcs_wholesale_customer_disabled, wcs_after_settings_saved, wcs_pro_upgrade_url. Wholesale Customers For Woo Pro Wholesale Customers For Woo Pro extends this plugin into a full B2B sales platform. Groups & Pricing Wholesale groups — create multiple customer tiers (Gold, Silver, Bronze, etc.), each with its own discount rate, minimum cart total, and settings. Tiered / quantity-break pricing — set volume price tiers per product (e.g. 1–9 units at $18, 10–49 at $15, 50+ at $12). Tier table shown on the product page. Per-category pricing — apply a flat or percentage discount to an entire product category, per group. Registration & Approvals Wholesale registration form — a dedicated sign-up page via [wcsp_registration_form] shortcode with one-click page creation in settings. Admin approval workflow — applicants sit in a pending queue; approve or reject with one click from the Registrations admin page. Custom registration fields — add text, textarea, select, checkbox, and file-upload fields to the registration form. Automated email notifications — customers are notified on approval or rejection; admins receive alerts on new applications. Product Controls Product visibility — hide products from non-wholesale visitors, globally or per-product. Quantity rules — enforce minimum and maximum order quantities per product. Quantity steps — require ordering in multiples (e.g. packs of 6) per product. Bulk Order Form — a searchable, filterable order table via [wcsp_order_form] shortcode for fast large-quantity ordering. Payments & Finance Net Terms / Pay by Invoice — a “Pay by Invoice” WooCommerce payment gateway for approved customers. Configurable net days (Net 7/15/30/60/90), per-user and per-group credit limits, overdue tracking, and due dates in admin and emails. Store Credit / Wallet — issue credit to customers, let them apply it at checkout, and track the full transaction history in My Account. Auto-refunds on order refund. Purchase Order Number — collect a PO number at checkout (optional or required), stored on the order and shown in emails. Tax Exemption — mark customers or groups as tax-exempt. WooCommerce skips tax calculation automatically. Payment & shipping restrictions — limit which gateways and shipping methods are available to each wholesale group. Commerce Quote Requests — “Request a Quote” button on product pages. Admins review, adjust prices, and convert approved quotes to real orders with one click. WordPress Role Management — auto-assign a custom wcsp_wholesale_customer role on approval and remove it on revocation, for use with role-aware plugins. Reporting Wholesale Reports dashboard — revenue, orders, average order value, top customers by revenue, and revenue by group — filterable by 7 days, 30 days, 90 days, or year. Get Wholesale Customers For Woo Pro → Translation Ready Translate Wholesale Customers For WooCommerce