Support » Plugin: WooCommerce » How to Remove “Add to Basket”

  • LordLiverpool


    Hello WooCommerce

    Today, for the first time in about 3 years, I added a new product to my store.

    But when I go to the store page, the new product has two choices:

    • Add to basket
    • Show Details

    Whereas the older products have just one choice:

    • Select options

    See Screenshot:

    Screenshot of Shop Page

    So I have two questions:

    • How do I remove the “add to basket” option on the new product?
    • How do I make the text say “Select Options” for all the products?

    I looked at this page on your documentation:

    But it didn’t give me an answer.

    I’d appreciate any help.

    Best Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • jurasjo



    for removing Add to cart button You can try this code:

    	add_filter('woocommerce_is_purchasable', 'my_woocommerce_is_purchasable', 10, 2);
    	  function my_woocommerce_is_purchasable($is_purchasable, $product) {
            return ($product->id == 769 ? false : $is_purchasable);

    Repleace number 769 with id of Your Woocommerce product.

    For translation I would suggest to use Loco translate and to translate this string globally.

    • This reply was modified 11 months ago by  jurasjo.
    • This reply was modified 11 months ago by  jurasjo.



    Thanks for replying.

    I tried your code (With the the correct WooCommerce Product ID)
    but it didn’t work.



    I also read this blog post:

    So I tried turning off Stock Management i.e.

    WooCommerce > Settings > Products > Inventory as follows:


    But it didn’t work either.

    Look like my code work on the version 2.6.14. It is deprecated for version 3 and above. Also this is only for single product page not shop page.


    Thanks for replying.

    I found some CSS that removes all the buttons from the products on the store page.

    But I think the CSS is specific to my WordPress Theme “EnFold”.

    So there’s little point my posting it here.

    If someone else has a solution that works for all instances of WordPress/WooCommerce. I’d be most grateful.


Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to Remove “Add to Basket”’ is closed to new replies.