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%
Increase average cart value with Cross-Sell – Splendid Sales Booster for WooCommerce
Check out the Splendid Sales Booster plugin, with which you can create cross-selling promotions in WooCommerce. Increase the shopping value of the cart in the store! The plugin allows you to select products promoted in the cross-selling section. That is, recommending complementary goods to it at a convenient point in the purchase process. In the section, we can specify any number of complementary products. 🎮 Try the demo Want to see how the plugin works before installing it? Try the free version demo Try the PRO version demo The demo lets you quickly check how the cross-selling section works on the product page and in the slide-out drawer. 🎁 We have included a small discount code there for demo visitors. How to set up cross-selling for products? You can set up cross-sells for products in the Splendid Sales Booster section on the specific product page. Choosing where to display cross-sell products You can display the cross-selling section in two modes: in a slide-out drawer or statically on the product page. The location selection is located in the WooCommerce > Settings > Products > Splendid Sales Booster > Display cross-sells section menu. Main settings The plugin configuration is located in the WooCommerce > Settings > Products > Splendid Sales Booster menu. A link to this page is also on the list of installed plugins. Need more cross-selling options? Upgrade to PRO The free version gives you the core cross-selling functionality. If you need more flexibility, the PRO version unlocks additional features for scaling your setup and increasing conversions. 🚀 PRO features Bulk setup panel for applying cross-sells to all products, selected categories, or selected tags Percentage or fixed discounts for products displayed in the cross-selling section Display cross-sells in both modes at once: on the product page and in the slide-out drawer Want to see it in action? Try the PRO version demo Visit splendidplugins.com to explore PRO pricing, features, and details. Displaying the Splendid Sales Booster cross-sells section The place where the Splendid Sales Booster cross-sells section will be displayed. “In a drawer” – On any page, in the form of a slide-out drawer as a confirmation of adding a product to the cart. “On the product page” – On the product page, just above the Add to Cart button. In the drawer, after adding a product to the cart The Splendid Sales Booster cross-sells section is displayed on any subpage in the form of a slide-out drawer immediately after adding the product to the cart. The module appears as a notification about adding a product to the cart. Therefore, it will be displayed on any subpage, e.g., on the homepage, product page, store page, cart page, post page. If no products are configured in the Splendid Sales Booster cross-sells section for the added product to the cart, the drawer will display only a notification of adding this product to the cart, without recommending additional products. The REST API module must be enabled for the module to work correctly, which is enabled by default in WooCommerce. On the product page, before adding to the cart The Splendid Sales Booster cross-sells section is displayed on the product page, just above the Add to Cart button. Default title of the Splendid Sales Booster cross-sells section The function allows you to set a common title for the section for all products in which the Splendid Sales Booster cross-sells section is active. Moreover, from each of the products, you can choose an individual title, overwriting this default value. If you leave this field blank, the section title will not be displayed on any product (unless specified for a specific product). Product images Depending on the needs and layout of elements on the page, we can enable or disable the visibility of product images in the Splendid Sales Booster section. This option will be applied globally, for all products. Cross-selling settings on the product editing page Selecting promoted products To add a complementary product to the Splendid Sales Booster cross-sells section, go to the settings for that product. The Splendid Sales Booster cross-sells section configuration on the product page is located in the Product data panel, in the Linked Products tab. We start the configuration by clicking the Add product button. The Product field is configured as a search engine. You must enter at least three characters of the searched product. Note! Only simple products, variable products, specific variable product variations, subscriptions or specific variable subscription variations can be selected for the section. Managing the order of displayed products We can manage the order of products by changing their position using the Drag & Drop method. To do this, hover over the product title bar, then click and drag the product card up or down. The order selected on the product edit page reflects the order in which they are displayed, which the customer sees on the product page. In addition, when hovering over the product title bar, a button to remove that product from the Splendid Sales Booster cross-sells section is displayed. Product Call-to-Action – subtitle for a product added to the Splendid Sales Booster cross-sells section For each of the attached products, an additional title – call-to-action – can be set. This helps to strengthen the marketing message or explain why it is worth buying this product as well. For example, a store selling contact lenses also proposes to add lens solution to the order. Above the solution, the CTA title e.g. “67% of customers choose lens solution when purchasing contact lenses” will appear. Supported product types The Splendid Sales Booster cross-sells section can only be added to products of the following types: Simple, Variable, Subscription, Variable Subscription. In the Splendid Sales Booster cross-sells section, only the following products can be promoted: Simple, Variable, Specific Variation of the Variable Product, Subscription, Specific Variation of the Variable Subscription