October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PCOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk16 min

How to Hide or Disable the WooCommerce Add to Cart Button

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Hiding or disabling the WooCommerce Add to Cart button is useful when you want to show products without allowing immediate checkout. Store owners often use this for catalogs, wholesale approval flows, out-of-stock or discontinued items, quote-based pricing, membership-only products, seasonal launches, or products that require a conversation before purchase.

The best method depends on how much control you need. A catalog mode plugin is usually the safest no-code option for sitewide changes, while theme settings may work for simple layouts. For more targeted rules, such as hiding the button for one category, one product, or certain user roles, a small PHP snippet can be cleaner and faster than adding another plugin.

As an Amazon Associate I earn from qualifying purchases.

Before changing anything, it helps to decide whether you want to fully remove the purchase option, temporarily disable it, or replace it with another action like “Request a Quote” or a contact form. Done carefully, you can control buying access without confusing customers, breaking product pages, or interrupting the rest of your WooCommerce checkout flow.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Why Hide or Disable the Add to Cart Button in WooCommerce?

Hiding or disabling the WooCommerce Add to Cart button is useful when you want customers to browse products without immediately purchasing them. This is common for stores that use WooCommerce as a catalog, sell made-to-order items, handle wholesale inquiries, or need manual approval before an order can be placed. Instead of letting every visitor add products to the cart, you can control when, where, and for whom purchasing is available.

#1 Best Overall
Sale
LISEN Retractable Car Charger, 84W Car Charger USB C Fast Charge, 4 in 1 | Cigarette Lighter Adapter, Car Accessories, for Christmas Day Gifts for Men Women Dad Mom, for iPhone 18 Pro Max 17 16 15 14
  • Never Let a Dead Battery Ruin Your Drive. The LISEN 4 in 1 Retractable Car Charger delivers reliable power for your entire journey. Compatible with standard 12V cigarette lighter sockets, it keeps phones, tablets, and devices charged during daily commutes, road trips, and long drives — the perfect practical gift for dads, truck drivers, and anyone who lives on the road.
  • Daily Driver Essential: Always Ready When You Need It. Featuring two retractable cables ( USB C & Old iPhone Charging Cable ) that extend up to 31.5 inches and dual USB ports, this charger solves cable clutter while charging up to 4 devices simultaneously. Ideal for busy fathers, commuters, and families who want a tidy car and never worry about low battery again.
  • Deliver full-speed PD fast charging for iPhone 18 Pro Max & iPhone 18 Pro Max & iPhone 18 Pro right inside your car. The built-in 45W PD USB-C port hits the peak charging speed for these latest iPhone models, juicing up your phone to 50% power in just 15 minutes while you drive.(Note: Maximum 45W PD output is available under 24V vehicle power supply. When used with standard 12V car sockets, the peak output is limited to 36W.)
  • Standard 12V Power Solution: Designed as a dedicated USB power supply for charging devices. Note: Does NOT support CarPlay, Bluetooth, or data transfer. Compatible with most phones, tablets, and small electronics. This retractable charger is a core car organization tool, keeping your vehicle tidy. Not compatible with Micro-USB devices.
  • Clutter-Free Tech Organization: Featuring dual USB ports and retractable cables, the LISEN 4 in 1 charger provides a clean car storage solution. Perfect for truck enthusiasts or as a thoughtful gift for drivers, it supports fast USB-C charging for devices like the iPhone 18Pro & iPhone 18 ProMax. Keep your vehicle organized while ensuring efficient power delivery for all your tech on the road.

One common use case is a product that requires a quote before checkout. For example, custom furniture, printed merchandise, event packages, and industrial equipment often depend on size, materials, delivery location, or quantity. In these cases, replacing the Add to Cart button with a “Request a Quote” or “Contact Us” button helps avoid inaccurate orders and gives your team a chance to confirm pricing before payment.

You may also want to hide the button while preparing a store launch, updating inventory, or pausing sales temporarily. If products should remain visible for SEO, customer reference, or marketing campaigns, removing the purchase action is usually better than unpublishing the products entirely. Visitors can still view product pages, compare options, and read specifications, but they cannot start an order until you are ready.

Common situations where disabling purchases makes sense

  • Catalog-only stores: Show products, images, prices, and descriptions without allowing online checkout.
  • Wholesale or B2B sales: Allow only approved user roles, such as wholesalers or distributors, to purchase.
  • Out-of-season products: Keep product pages live while preventing orders for unavailable items.
  • Quote-based pricing: Remove instant checkout for products that need custom pricing or approval.
  • Members-only products: Hide purchasing options from guests or non-members.
  • Regulated or restricted goods: Prevent purchases until eligibility, location, or documentation is checked.

The best approach depends on how broad the restriction needs to be. If the whole store should stop taking orders, a catalog mode plugin or storewide setting is usually easier to manage. If only certain products, categories, or user roles are affected, a targeted plugin rule or a small PHP snippet is more appropriate. For temporary changes, no-code tools are safer because they can be enabled or disabled quickly without editing theme files.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

It is also worth deciding whether you want to hide the button or disable the purchase flow. Hiding the visible button may not be enough if customers can still add products through direct URLs, AJAX requests, quick-view buttons, or cached pages. For reliable control, the cart validation should also prevent restricted products from being added. This keeps the storefront clear for customers while protecting the checkout process from accidental or unsupported orders.

Hide the Add to Cart Button Using WooCommerce Settings or Catalog Mode Plugins

The easiest way to hide the WooCommerce Add to Cart button is to use built-in product settings or a catalog mode plugin. This is usually the safest option if you do not want to edit theme files or add PHP snippets, especially on a live store. It is also the best starting point for store owners who need a temporary setup, such as showing products before launch, taking orders offline, or turning an online shop into a product catalog.

WooCommerce does not include a full catalog mode setting by default, but it does let you make simple product-level changes. For example, if you remove the price from a simple product, WooCommerce will usually stop showing the Add to Cart button on that product page. You can do this from Products > All Products, open the product, then clear the Regular price field in the Product data panel. This can work for basic catalog pages, but it is not ideal if you still want visitors to see prices without being able to buy.

For a broader setup, use a dedicated catalog mode plugin. These plugins typically let you hide prices, remove Add to Cart buttons, disable checkout, or replace purchase buttons with enquiry buttons across your store. Many also include rules for selected products, categories, logged-out users, or specific user roles such as wholesale customers, subscribers, or guests.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Common plugin-based options

  • Catalog mode plugins: Use these when you want to turn the whole store into a browse-only catalog. They can remove Add to Cart buttons from shop archives, product pages, related products, and sometimes widgets.
  • Request a quote plugins: Use these when customers should ask for pricing instead of checking out immediately. These are useful for B2B, custom manufacturing, bulk orders, and services.
  • Role-based pricing or visibility plugins: Use these when only certain users should be able to buy. For example, you might allow approved wholesale accounts to purchase while guests only see product details.
  • Coming soon or maintenance plugins: Use these when the store is not ready for orders yet, but you still want to build product pages for search engines or early visitors.

When choosing a plugin, check whether it hides the button in all required locations. Some plugins only remove the button from single product pages, while the Shop page, category archives, quick view popups, and related product sections may still show purchase controls. Test both simple and variable products, since variation selectors can behave differently from standard simple product buttons.

Theme and customizer options can also help, depending on your theme. Some WooCommerce-compatible themes include settings to hide cart buttons on product archives, disable quick add buttons, or change product card layouts. Look under Appearance > Customize, then check areas such as WooCommerce, Product Catalog, Single Product, or theme-specific shop settings. These options are convenient, but they are often presentation-only; they may hide a button visually without fully preventing products from being added to the cart through direct links or custom templates.

Rank #2
SINGARO Car Cup Holder Coaster, Silicone Cup Holder Insert, Universal Non-Slip Cup Holders, Car Accessories Interior for Women and Man Interior Sets 4 Pack Black
  • High Quality Material: The coaster is made of environmentally friendly silicone, safe, non-toxic and odorless. Soft with toughness, easily embedded in the cup holder. Very durable, wear-resistant, long service life. High temperature resistance, can withstand 100 ℃ high temperature water cups.
  • Wide Compatibility: The coaster has a diameter of 3.15 inches and a height of 1.18 inches, which is widely used in most vehicles, such as SUV, sedan, MPV, etc., as long as the size fits your car cup holder.
  • Protection Function: Our car cup holder coaster has a carry handle design and a stand-up ring edge on its edge to effectively prevent food crumbs, drinks and water from leaking out and preventing the car cup holder from getting dirty.Meanwhile,Thickened design effectively prevents the cup holder from being scratched by the cup when driving on bumpy roads and eliminates the annoying thumping sound, making your journey more enjoyable.
  • Easy to Use and Clean: With embedded installation, you just need to put it flat on the car cupholder. It is also very quick to remove, there is a small bump on the coaster, pinch it and you can easily remove the coaster. It is very easy to clean, rinse with water or wipe with a wet towel (be careful not to clean with sharp tools).
  • 100% Satisfaction: Our products have quality assurance, if you have questions or are not satisfied after receiving the product, don't worry, please contact us as soon as possible, we provide after-sales service.

Use settings or plugins when you need a maintainable solution that non-developers can manage from the WordPress dashboard. Before applying changes sitewide, test them on a staging site or during a low-traffic period. Clear any page cache, object cache, and CDN cache after saving catalog mode settings so customers do not see old Add to Cart buttons on cached product pages.

Remove the Add to Cart Button with Custom PHP Snippets

If you are comfortable editing WordPress code, PHP snippets give you precise control over where the WooCommerce Add to Cart button appears. This approach is useful when you do not need a full catalog mode plugin, or when you want a lightweight change for a custom theme or a small set of products. Add snippets through a child theme’s functions.php file or, more safely, with a snippet manager plugin so the changes remain separate from theme updates.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To remove the Add to Cart button from single product pages across the entire store, unhook WooCommerce’s default button output from the product

add_action( 'wp', function() {
remove_action(
'woocommerce_single_product_',
'woocommerce_template_single_add_to_cart',
30
);
} );

To remove Add to Cart buttons from shop, category, tag, and other product archive pages, remove the loop button instead:

add_action( 'wp', function() {
remove_action(
'woocommerce_after_shop_loop_item',
'woocommerce_template_loop_add_to_cart',
10
);
} );

If you want to hide the button everywhere, combine both removals in one snippet:

add_action( 'wp', function() {
remove_action(
'woocommerce_single_product_',
'woocommerce_template_single_add_to_cart',
30
);

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

remove_action(
'woocommerce_after_shop_loop_item',
'woocommerce_template_loop_add_to_cart',
10
);
} );

Make products unpurchasable instead of only hiding the button

Removing the visible button does not always stop purchasing by itself. Customers, bots, cached pages, or custom links may still attempt to add a product to the cart directly by URL. If you need to fully block purchases, use the woocommerce_is_purchasable filter. This tells WooCommerce that products cannot be bought, which helps protect the cart flow beyond the front-end template.

add_filter( 'woocommerce_is_purchasable', function( $purchasable, $product ) {
return false;
}, 10, 2 );

For a softer approach, you can block purchases only when a product is out of stock, marked as draft, or assigned to a specific setup handled elsewhere in your store. The example below disables purchasing for products in a category with the slug quote-only:

add_filter( 'woocommerce_is_purchasable', function( $purchasable, $product ) {
if ( has_term( 'quote-only', 'product_cat', $product->get_id() ) ) {
return false;
}

Rank #3
Kaistyle for Magsafe Car Mount【Strong Magnet】 Magnetic Phone Holder for Car Phone Holder Mount Dash Mounted Holders Phone Holders for Your Car Accessories for Women Men for iPhone 18 Pro Max 17 16 15
  • ✅【Designed for Magsafe】 - The most fashionable iphone car mount in 2026 Magsafe is designed for iPhone 18 Pro Max/17/16/15/14/13/12 Pro Max Mini and official Magsafe cases and other magnetic phone cases and can be fixed directly to these phones without the need to affix metal plates. All Android Phones Will Work: Metal rings are provided; they fit cases and other phones without magsafe. Based on Unique Grandmaster Design (Protected by US Design Patent No. US D1,112,194 S)
  • ✅【STRONG MAGNETIC MagSafe Car Mount】 - This powerful magnetic phone holder can create a powerful attraction that firmly supports your device while allowing you to drive without distraction. it easily and securely holds your phone through bumps, sharp turns or even sudden stops, no worrying of dropping your phone.
  • ✅【SUPER STICK FORCE】 - VHB Dash Mounted Holders adhesive provides strong stick force between the dashboard and the car phone holder, which can firmly stick to any plane in the car, fix your device, adapt to a variety of road conditions such as sudden braking, speed bump, and rugged mountain road.
  • ✅【SAFE DRIVING VIEW】 - Mini-size, not taking up space, it is placed in the dashboard without blocking the view at all, and does not need to look down at the device to ensure your safe driving. Cell Phone Car Mount is suitable for most cars, pickups, SUV, taxi; It is the best assistant for Uber and Lyft drivers
  • ✅【360° FREE ROTATION】 - With an adjustable swivel ball joint, you can rotate your smartphone or device at your own will, providing the best viewing angle. Quickly pick and place with one hand, free your hands and make calls and GPS navigation more convenient

return $purchasable;
}, 10, 2 );

  • Use removal hooks when you only want to hide the button from specific templates.
  • Use woocommerce_is_purchasable when you want WooCommerce to prevent checkout for affected products.
  • Use a snippet plugin if you do not maintain a child theme or version-controlled theme files.
  • Avoid editing WooCommerce plugin files, since updates will overwrite those changes.

After adding any snippet, check a single product page, the main shop page, product category pages, the cart, and checkout. If your store uses a page builder, quick-view popup, sticky Add to Cart bar, or custom product table, those features may output their own buttons and require separate settings or hooks.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Disable Add to Cart for Specific Products, Categories, or User Roles

If you only need to block purchases in certain situations, avoid removing the Add to Cart button globally. WooCommerce gives you enough hooks and conditions to target individual products, whole product categories, or specific logged-in users. This is useful for wholesale catalogs, members-only products, discontinued items, region-restricted goods, quote-only products, or products that should stay visible for SEO but not be purchasable.

Disable Add to Cart for selected products

The safest product-level method is to make the product non-purchasable with the woocommerce_is_purchasable filter. This keeps the product page available but prevents WooCommerce from treating the item as something that can be bought. Add the snippet through a child theme’s functions.php file or a snippets plugin, and replace the product IDs with your own:

add_filter( 'woocommerce_is_purchasable', function( $purchasable, $product ) {
  $blocked_products = array( 123, 456 );
  if ( in_array( $product->get_id(), $blocked_products, true ) ) {
    return false;
  }
  return $purchasable;
}, 10, 2 );

Disable Add to Cart for product categories

For category-based rules, check whether the current product belongs to a specific product category. This approach works well for “Coming Soon,” “Catalog Only,” “Discontinued,” or “Quote Required” categories. Use the category slug rather than the display name, since slugs are more stable:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

add_filter( 'woocommerce_is_purchasable', function( $purchasable, $product ) {
  if ( has_term( array( 'catalog-only', 'quote-required' ), 'product_cat', $product->get_id() ) ) {
    return false;
  }
  return $purchasable;
}, 10, 2 );

Disable Add to Cart by user role

User-role rules are helpful when you want guests to browse but not buy, restrict purchases to wholesale customers, or hide ordering from subscribers while keeping it available to administrators and approved buyers. The example below disables purchasing for visitors who are not logged in:

add_filter( 'woocommerce_is_purchasable', function( $purchasable, $product ) {
  if ( ! is_user_logged_in() ) {
    return false;
  }
  return $purchasable;
}, 10, 2 );

To target a specific role, check the current user’s assigned roles before returning false. For example, you might block the default subscriber role while allowing customer, wholesale_customer, and administrator roles to purchase:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

add_filter( 'woocommerce_is_purchasable', function( $purchasable, $product ) {
  $user = wp_get_current_user();
  if ( in_array( 'subscriber', (array) $user->roles, true ) ) {
    return false;
  }
  return $purchasable;
}, 10, 2 );

Rank #4
YGDMD 2PCS Car Seat Gap Filler Organizer,2 in 1 Car Gap Filler (Black)
  • Buyer's Guide: The seat guard for car seat between seat & console measures 15.75*2.7*1.53", suitable for gaps of 1.43-1.53" in width, please double-check carefully the distance between your seat and the center console before placing an order
  • Storage and Filling in One: Differ from traditional single-function gap fillers, gap filler for car incorporates storage function, offers you the convenience of storing phones and various other items, so that you can access them at any time while driving
  • Avoid Items Slipping: With the bumps and vibrations of the car, phones, keys may fall into the seat crevices, which is difficult to pick up, and distracts the driver's attention. Car gap seat filler fills gaps seamlessly to create an effective barrier
  • Easy to Install: Car side seat gap filler is easy to install, simply insert it into the gap between the seat and the center console, gap seat filler for car can fit tightly without affecting the normal adjustment of the seat and the use of the seat belt
  • Premium Material: Crafted from premium EVA material, our car seat side gap filler boasts a combination of wear-resistant, softness&durability. Maintenance is effortless, simply rinse and wipe to quickly clean the dust and debris in corners and crevices

For more complex stores, combine conditions carefully instead of stacking many separate snippets. Decide whether the restriction should apply to single product pages, shop archive buttons, AJAX add-to-cart links, cart validation, or all of them. If customers can still add restricted products from a cached shop page, also add server-side cart validation so WooCommerce blocks the item even if the button appears somewhere unexpectedly.

  • Use product IDs for a small number of hand-picked products.
  • Use category slugs for groups that change over time, such as seasonal or quote-only products.
  • Use user roles for membership, wholesale, B2B, or logged-in-only purchasing rules.
  • Use a plugin if non-developers need to manage restrictions from the WordPress dashboard.

Replace the Add to Cart Button with Custom Text or a Contact Form

Instead of simply removing the WooCommerce Add to Cart button, you can replace it with a clearer next step such as “Request a Quote,” “Call for Pricing,” “Join the Waitlist,” or “Contact Us to Order.” This is often a better choice for B2B products, made-to-order items, services, wholesale catalogs, restricted products, or items with variable pricing. The product page still gives visitors useful information, but the buying action is redirected to a sales conversation, quote workflow, or lead capture form.

The safest no-code option is to use a catalog mode, request-a-quote, or product enquiry plugin that supports button replacement. These plugins usually let you hide the default Add to Cart button and show a custom button, popup form, enquiry tab, or embedded contact form on selected products or categories. This approach is ideal if store managers need to control the text and visibility rules without editing theme files. Look for settings that let you target individual products, product categories, stock status, user roles, or guest users, and confirm that the plugin supports your product type, especially variable products and grouped products.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Common replacement options

  • Custom text button: Use wording such as “Request a Quote,” “Contact Sales,” or “Pre-order Enquiry” and link it to a contact page, quote form, or phone number.
  • Inline contact form: Embed a form directly below the product summary so customers can send the product name, SKU, quantity, and requirements without leaving the page.
  • Popup enquiry form: Open a modal form when the replacement button is clicked. This keeps the customer on the product page while collecting lead details.
  • Waitlist or back-in-stock form: Replace purchasing with an email signup when products are unavailable, discontinued, or not yet released.

If you prefer a lightweight code-based approach, you can remove the button for selected products and print your own call to action in the same product area. Add snippets through a child theme or a code snippets plugin, not directly in a parent theme file. For example, after removing the standard single-product button, output a linked button that includes the current product title in the enquiry URL. This makes it easier for your contact form page to identify which product the customer is asking about.

When using a contact form, pass product details automatically where possible. Many form plugins support hidden fields, URL parameters, dynamic values, or shortcodes. A typical setup sends the product name, product ID, SKU, customer name, email address, message, and desired quantity to the store owner. For higher-value products, add fields for company name, budget, delivery location, and required date. Keep the form short enough to complete quickly, but structured enough that your team can respond without asking for the same basic information again.

Make sure the replacement action matches the product status and customer expectation. If the product has a visible price but no checkout option, use wording that explains the next step, such as “Request availability before ordering” or “Contact us for bulk pricing.” If prices are hidden, avoid vague labels and use direct language like “Request trade pricing.” Also check archive pages, related products, quick-view popups, and mobile layouts, because WooCommerce themes often display Add to Cart buttons in more than one place. A polished replacement should appear consistently wherever customers would normally expect to buy.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Test Your Changes and Avoid Common WooCommerce Issues

After hiding, disabling, or replacing the WooCommerce Add to Cart button, test the store as a shopper before making the change permanent. A small snippet or plugin setting can affect product archives, single product pages, AJAX cart fragments, mini-cart behavior, checkout redirects, and caching. The safest approach is to test on a staging site first, then repeat the main checks on the live site after deployment.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Check the full customer journey

Do not only look at the product page where the button was removed. Visit the shop page, category pages, search results, related products, upsells, cross-sells, and any landing pages that display WooCommerce products. If the button is hidden for a specific category, product, or user role, confirm that the rule applies only where intended. For example, a wholesale-only restriction should not block retail customers from unrelated products, and a catalog-mode setting should not leave active cart links in the site header.

  • Single product pages: Confirm the Add to Cart button, quantity field, variation selector, stock message, and replacement content appear as expected.
  • Product archives: Check shop, category, tag, search, and shortcode-based product grids for leftover buttons or broken spacing.
  • Cart and checkout: If customers should not be able to buy, make sure direct cart URLs, previously saved carts, and checkout access do not bypass the restriction.
  • User roles: Test while logged out, as a customer, as an administrator, and as any custom role affected by the rule.
  • Devices: Review desktop and mobile layouts, especially if buttons were hidden with CSS or replaced by forms.

Watch for caching and theme conflicts

If the Add to Cart button still appears after you remove it, clear every relevant cache: page cache, object cache, CDN cache, browser cache, and any WooCommerce optimization plugin cache. Some themes also include custom product templates that override WooCommerce defaults. In that case, a snippet that works with a standard theme may not affect the theme’s custom button markup. Check whether your theme has WooCommerce settings, product card options, or template overrides in Appearance > Theme File Editor or in the theme documentation.

Best Value
Stacool Upgraded Car Center Console Cover,Microfiber Leather Car Armrest Cover Cushion with 2 Storage Bags,Universal Car Armrest Storage Box (Black)
  • 🔰 UPGRADED SIDE STORAGE DESIGN - Our console cover is thinner than the old one, universal for all seasons. There is an 8.66*5.12 inch storage pocket design on each left and right side, expanding the storage space, convenient and practical. Meet the storage needs of the main passenger seat, you can store your cell phone, keys, tissues, ID and some other small daily items.
  • 🔰 PREMIUM MICROFIBER LEATHER MATERIAL - This car center console cover is made of quality microfiber leather material, soft and skin-friendly touch. Exquisite and fashionable diamond shaped stitching, every detail is in place. Inside the car center console cover is made of thickened memory foam, even after squeezing, it can slowly recover to its original shape.
  • 🔰 RELIEVE DRIVING FATIGUE - The arm rest cover for car adopts ergonomic design, giving just the right amount of arm support, effectively dispersing elbow pressure and relieving driving fatigue. Protect your car's center console from getting dirty or scratched. Especially suitable for long time driving or long distance traveling, bringing you a new experience of relaxation and comfort!
  • 🔰 NON-DESTRUCTIVE INSTALLATION - This car console cover is designed with an elastic band for a firm fit and not easy to shake. And the back side is full of protruding dots, which can effectively avoid the armrest cover from slipping and shifting. All you need to do is to open the center console cover, put the elastic band directly into the cover and then close it.
  • 🔰 BUYER'S GUIDE - You will receive a car armrest storage box with the size of 12.13*7.80 inch, please measure the size of your car's armrest storage box before you buy. We have prepared five simple and beautiful colors for you, you can choose according to your own preferences. Suitable for most of the vehicles on the market, such as car, truck, SUV, RV, van, etc.

Be careful with CSS-only hiding. It can be useful for minor visual changes, but it does not stop users, bots, or bookmarked links from adding products to the cart if the purchase action is still available in the background. For true purchase prevention, combine the visual change with server-side validation. That means using WooCommerce hooks to prevent add-to-cart actions for restricted products, categories, or roles, not just setting display: none; on the button.

Common issues to fix before launch

  • Variable products still show selectors: If variations cannot be purchased, hide or replace the variation form as well as the button.
  • Outdated mini-cart data: Clear WooCommerce cart fragments and test in a private browser window.
  • Broken product grid layout: Replace the button area with consistent text or spacing instead of removing the element entirely.
  • Restricted products still purchasable by URL: Add validation to block direct add-to-cart links such as ?add-to-cart=123.
  • Admins cannot test normal behavior: Use a separate customer account because administrator roles are often excluded from restrictions.

Once everything works, document what changed and where it was configured. Record the plugin name, customizer setting, child theme file, or snippet manager entry used for the change. This makes future WooCommerce, theme, and plugin updates easier to troubleshoot and reduces the risk of accidentally restoring or removing the purchase flow later.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Frequently Asked Questions

Can I hide the Add to Cart button for only one WooCommerce product?

Yes. The safest no-code option is to use a catalog mode, product visibility, or request-a-quote plugin that lets you target individual products. If you use code, target the specific product ID and remove the add-to-cart action only for that item, then test both the product page and shop/archive pages.

How do I remove Add to Cart buttons from an entire WooCommerce category?

You can do this with a plugin that supports category-based rules, which is usually best for non-developers. A custom PHP snippet can also check the product’s category and remove the button on single product pages and product loops. Make sure variable products, related products, and category archive pages are included in your testing.

Can I hide the Add to Cart button for logged-out users only?

Yes. Many role-based pricing, wholesale, membership, or catalog mode plugins can hide purchasing options until a user logs in. With custom code, you can check whether the visitor is logged in and remove the button for guests while showing a login link or “Sign in to purchase” message.

Is it better to hide the button with CSS or remove it with PHP?

CSS only visually hides the button, so the add-to-cart function may still be accessible through direct links, scripts, or other parts of the theme. PHP or a well-built plugin is usually safer because it removes or disables the purchasing action at the WooCommerce level. CSS is only suitable for minor visual changes, not for restricting purchases.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How can I replace the Add to Cart button with a contact form or custom message?

You can use a request-a-quote or catalog mode plugin to replace the button with text, a link, or an inquiry form. If you prefer custom code, remove the default button and hook in your own HTML, shortcode, or form output in the same location. Keep the replacement clear, such as “Contact us for pricing” or “Request a quote,” so customers know the next step.

Bottom Line

Hiding or disabling the WooCommerce Add to Cart button is useful when you need a catalog-only store, quote-based sales, restricted products, role-based purchasing, or temporary product unavailability. For most stores, a plugin or built-in theme setting is the safest route; for precise rules by product, category, or user role, use well-tested snippets in a child theme or custom functionality plugin.

Choose the simplest method that matches your goal, test it on a staging site, and make sure customers still understand what to do next—whether that is logging in, requesting a quote, contacting sales, or browsing other products. Before going live, check product pages, shop archives, cart behavior, and mobile views so the buying flow stays clear and error-free.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.