• Resolved janbrokes

    (@janbrokes)


    Hello is there any way how to change name STANDARD tax to some other name?
    Thanks for any help

Viewing 6 replies - 1 through 6 (of 6 total)
  • I’m not sure if this works because I haven’t tested in local. Try this.

    add_filter( 'woocommerce_rate_label', 'custom_tax_rate_label', 10, 2 );
    function custom_tax_rate_label( 'Custom Name' ){
        return '';
    }
    Thread Starter janbrokes

    (@janbrokes)

    Hi, iam not sure if I am doing it right, but it causes critical erros
    My defaults taxes names and slugs are

    Standard (standard)
    Sní?ená sazba (snizena-sazba)

    and i need to rename it to:
    high and low

    have you any idea how todo it?
    thanks

    Make sure you’re adding this to your function.php file inside your theme.

    Thread Starter janbrokes

    (@janbrokes)

    I did it, but here is error message
    syntax error, unexpected ”low” (T_CONSTANT_ENCAPSED_STRING), expecting variable (T_VARIABLE)

    Where in your functions did you place it? Can you provide a screenshot?

    Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    Hi @janbrokes

    We haven’t heard from you in a while so I am marking this thread as resolved. Feel free to open a new thread if you still have questions.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘tax class name’ is closed to new replies.