• Resolved Ben Rothman

    (@brothman01)


    On the cart page there is a nice little table that shows the item price, the shipping, the tax and then the total. The Tax value shows the value of the tax in dollars, but I want to also show the percentage that it was. I want to use a filter to do this rather than a template override because I do not want to have to redo this every time I upgrade the templates.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Fernando a11n

    (@fhaps)

    Automattic Happiness Engineer

    @brothman01 I can’t help with code that would achieve this programmatically. However, a simpler solution that I’ve seen work well for other users, is to add the percentage as part of the tax name.

    So, in your tax rate table it would be configured like this:

    And then on the front-end it would look like this on the cart page:

    Thread Starter Ben Rothman

    (@brothman01)

    oh that is a great way around the need for code, I did not realize the name would be displayed. Thanks.

    Plugin Support Fernando a11n

    (@fhaps)

    Automattic Happiness Engineer

    @brothman01 I’m glad that was helpful! I’ll mark this thread as resolved, then.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Display Tax % next to Tax Amount on cart page’ is closed to new replies.