we have to send order total to one of affiliate along with other bits like order ID etc. we have managed everything but the problem is we can not fetch the order total exclude VAT. we have used code "
?php echo number_format($order->getGrandTotal(),2);"
"php echo $grandTotal;"
and we have tried to remove Grand from above but it does not work.
the affiliate link is something like this
can some one tell us how we can get the amount exclude VAT or php code to just reduce the total price by 20%. because we only deal inside uk and all orders include 20% VAT so if we can just reduce that, it would give us same result.
all help is appreciated.