wordpress - Woocommerce - Hide "add to cart" on free products -


im using woocommerce , searching way hide "add cart"-button on
single-product page if product free - i'm making big csv-import , product-prices set 0 - want hide "add cart" button on these products, these not buyable.

already asked on support page, no success

greets

i used bit of simple css hide "add cart" , stock count area below:

.post-300 .cart {

display:none !important;

}

if view source of product page , search for:

class="post-  

this should give page post number can use replace 300 in example.

your css selector might different depending on wordpress theme etc. should idea. hope helps.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -