Hi Mollie, Any news on this as we are facing the exact same issue …
Hi,
Thanks but no, unfortunately it doesn’t work.
FYI: I also did a test based on category but doesn’t work either.
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;
}
Website + Webshop aren’t live yet