Viewing 1 replies (of 1 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi! You can do this with the following code snippet:

    
    add_filter( 'wpmenucart_menu_item_a_content', 'wpmenucart_remove_currency', 10, 4 );
    function wpmenucart_remove_currency( $menu_item_a_content, $menu_item_icon, $cart_contents, $item_data ) {
    	return str_replace(get_woocommerce_currency_symbol(), '', $menu_item_a_content);
    }
    

    If you haven’t worked with code snippets (actions/filters) or functions.php before, read this guide: How to use filters

    Hope that helps!

Viewing 1 replies (of 1 total)
  • The topic ‘Remove Currency’ is closed to new replies.