Change/delete the icon wowallet2019-05-30T03:30:45+05:30

Home Forums Core Change/delete the icon wowallet

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • test1949
    Participant
    Post count: 3

    Help Please
    1. How to change/remove wowalet icon in sidebar “My account” ?
    2. How to change/remove wowalet icon “My account/console” ?

    Subrata Mal
    Keymaster
    Post count: 199

    You can use CSS Class woo-wallet-icon-wallet and change the icon content.

    stewart
    Participant
    Post count: 1

    Hi I’m looking for the same thing however where do I edit this code I’m looking to remove the icon from the My account page of woocommerce thanks

    testtopro
    Participant
    Post count: 2

    use this and use [woo-mini-wallet] as a shortcode to show balance without an icon.

    function woo_mini_wallet_callback() {
    if (!function_exists(‘woo_wallet’) || !is_user_logged_in()) {
    return ”;
    }
    ob_start();
    $title = __(‘Current wallet balance’, ‘woo-wallet’);
    $mini_wallet = ‘‘;
    $mini_wallet .= woo_wallet()->wallet->get_wallet_balance(get_current_user_id());
    $mini_wallet .= ‘
    ‘;
    echo $mini_wallet;
    return ob_get_clean();
    }
    add_shortcode(‘woo-mini-wallet’, ‘woo_mini_wallet_callback’);

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
WhatsApp