Hi, can someone please help me with some code?
I have added this code on my site, which gives you a button to add the product into your cart from the shop page.
add_action( ‘woocommerce_after_shop_loop_item’, ‘woocommerce_template_loop_add_to_cart’, 20 );
But I don’t want this button to show on products (on shop page or category page) that don’t have a price (there I use a quote button on shop page).
I need help to add a function or filter to the code.