@akash000ahammed
Please use below code in theme function.php file.
add_filter('woo_wallet_cashback_notice_text', 'woo_wallet_cashback_notice_text_callback', 10, 2);
if(!function_exists('woo_wallet_cashback_notice_text_callback')){
function woo_wallet_cashback_notice_text_callback($text, $cashback_amount){
if(!is_user_logged_in()){
$text = sprintf(__('Your Order has ( %s ) in eligible health credit, please register for a membership to claim credits. Already a member, <a href="%s">login</a> to claim credits on this order.', 'woo-wallet'), wc_price($cashback_amount, woo_wallet_wc_price_args()), esc_url(get_permalink(get_option('woocommerce_myaccount_page_id'))));
}
return $text;
}
}
Could you please do me a BIG favour and give it a 5-star rating on WordPress to help us spread the word and boost our motivation?
Thanks