• Resolved gensooo

    (@gensooo)


    How do I remove the “add to cart” option on all products? And also from the recently viewed products in the footer section as widget?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @gensooo,

    Is there any reason behind removing all the “add to cart” option, do you want to be removed in product inner page as well? Please provide your site URL.

    Thanks and Regards,
    Milan.

    Thread Starter gensooo

    (@gensooo)

    Hi Milan!

    Thanks for your prompt reply.
    Currently we are also working on our inventory system so we’d like to slowly transition to a full ecommerce system. ?? for the meantime, we’d like to customize the page with prices only but without add to cart option.

    Yes, inner page as well.

    Thanks,
    Gen

    Hi @gensooo,

    Please add the following CSS:

    a.slider-btn {
        display: none;
    }
    
    .widget-collection .cart-wishlist-btn {
        display: none;
    }
    
    .hot-content-wrapper .single_add_to_wishlist {
        display: none;
    }
    
    .featured-slider li .single_add_to_wishlist {
        display: none;
    }
    
    .featured-slider li .featured-img:hover .featured-hover-wrapper {
        display: none;
    }
    
    .single-product.woocommerce-page .product .cart {
        display: none;
    }
    
    .single-product.woocommerce-page .product .yith-wcwl-add-to-wishlist {
        display: none;
    }
    
    .woocommerce-page ul.products li.product .products-img:hover .products-hover-wrapper {
        display: none;
    }

    Help link?https://docs.themegrill.com/knowledgebase/where-do-i-add-my-custom-css/

    Once you add above CSS code all the “add to cart” and “add to Wishlist” from the product will be hidden and later when you need it back you can remove the code.

    Thanks and Regards,
    Milan

    Thread Starter gensooo

    (@gensooo)

    Hi Milan,

    The code worked! Thank you so much!

    Kudos for the great customer support.

    Thanks and best regards,
    Gen

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to remove add to cart option’ is closed to new replies.