Hidding ‘Add to the card’ button in WooCommerce

There are plenty of ways of hiding ‘Add to the card’ button in WooCommerce. You can edit functions.php file adding filter or action removing or hiding part of WooCommerce template. But in my opinion easiest way of do it is just change you css in wp-admin panel.

.add_to_cart_button{
	display:none;
}

You can do it adding this code at Appearance/Customize/Additional CSS and paste this code. And voila button has disappeared. Some Wp-developers would say that it isn’t propre way. But it is easy and affective. So write this two lines of code and solve the problem.

Similar Posts

Leave a Reply

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