{"id":9983063,"date":"2018-02-16T18:27:55","date_gmt":"2018-02-16T18:27:55","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/order-total-before-applied-discounts\/"},"modified":"2018-02-16T18:27:55","modified_gmt":"2018-02-16T18:27:55","slug":"order-total-before-applied-discounts","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/order-total-before-applied-discounts\/","title":{"rendered":"Order total before applied discounts"},"content":{"rendered":"<p>This may be something simple that I&#8217;m missing, but I can&#8217;t seem to find any template shortcode to give me a pre-discount\/coupon code total on our invoices. It seems that this booster pulls in the total post-discount from Woocommerce and I can&#8217;t seem to modify it at all (without changing the code, and I wouldn&#8217;t even know where to start.) I like how simply it integrates and I&#8217;d rather not have to change plugins\/methodology to remedy something so minor, however to some customers, it&#8217;s more than minor.<\/p>\n<p>Eg. I want something like<\/p>\n<p>Total (before discount): $5555 &lt;&#8212; this is the line that pulls the post-coupon amount.<br \/>\nDiscounts: $55<br \/>\nShipping: $55<br \/>\nSubtotal: $5555<br \/>\nTaxes: $5<br \/>\nOrder Total: $5560<\/p>\n<p>Anyone got a fix for this? Thanks!<\/p>\n","protected":false},"template":"","class_list":["post-9983063","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9983063","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/9983063\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=9983063"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}