Get separate Order's tax totals amounts with tax class
问题 I'm making personal a PDF invoice plugin for woocommerce. Some of our products has tax with Reduced rate (%8) or Standart rate (%18). For example, Product A = Reduced rate (%8), Product B = Standart rate (%18). I can get total of tax amount easily but I want to print with sperate tax total amounts with tax class . How to get total Reduced rate tax amount of an order? Also Standart rate. How can I echo them separately? 回答1: The Tax class is not registered anywhere in the order data… It's