Support » Plugin: WooCommerce » Tax is showing zero in order page if user paying by coupon

  • Resolved rasel2339

    (@rasel2339)


    Hi, here is a screenshot of the checkout page and order page (https://prnt.sc/vz6hcz). as you can see that tax is calculating on the checkout page but if user place an order and paid by coupon, it’s showing zero in wp backend order page. but it’s working if the user pays by card or Paypal.

    all plugin is deactive and set to the default theme.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Missy a11n

    (@m155y5)

    Automattic Happiness Engineer

    Hi @rasel2339

    That is the expected behavior when a coupon reduces the total of a purchase to $0. In most locations, tax is only applied on the cost of the order after the coupon.

    That said, we do have a snippet in our documentation here that will change the tax to calculate based on the subtotal of the cart, so that should remedy this issue for you.

    Plugin Support Missy a11n

    (@m155y5)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please feel free to start a new thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Tax is showing zero in order page if user paying by coupon’ is closed to new replies.