Hide Add to cart ajax button on all products

edited January 2021 in WooCommerce

Hello,

I want to remove add to cart ajax button/option on all products. Either these products are simple or variable

I tried this CSS code but it only hide the button on Simple products. But all other products which have Size variable still shows this LINK icon on hover. Link icon can be shown on all products, its alright. But I just want to take out the ADD TO CART FUNCTIONALITY from the user.

CSS CODE USED

.if-overlay .image_frame .image_wrapper .image_links.double {

  display: none;

}

This link has simple products.

henna4uleicester.co.uk/product-category/bridal/

This link has variable products.

henna4uleicester.co.uk/product-category/premium-cones/


Second Issue

Single product page shows a message on top when product is added to cart. Screenshot attached.

But on ajax button this message does not show up. How to get this message on ajax add to cart?

If this happens then I dont need the above solution at all (i will not remove the add to cart button)

nipboard.io/rJ9sau.jpg

Comments

Sign In or Register to comment.