Hi
Thanks! It works for changing the add to cart label in general but it doens’t work for product with below specified tag ‘preorder’
add_filter( 'yith_wcwl_add_to_cart_label', 'woo_custom_wishlist_button_text' ); // 2.1 +
function woo_custom_wishlist_button_text() {
global $product;
if ( has_term( 'Preorder', 'product_tag', $product->ID ) ) :
return __( 'Pre order Now !', 'woocommerce' );
else:
return __( 'Test In Winkelmand', 'woocommerce' );
endif;
}