Hi, I am trying to display on confirmation emails and invoices the total shipment price without taxes, because currently it is showing price with taxes.
I've found responsible code in \components\com_virtuemart\views\invoice\tmpl\invoice_items.php
<?php echo $this->currency->priceDisplay($this->orderDetails['details']['BT']->order_shipment + $this->orderDetails['details']['BT']->order_shipment_tax, $this->currency); ?>
I've checked the correct variable under http://xref.vmitalia.net/vm20/nav.html?_variables/index.html
but I've only found "order_shipment", which doesn't seem to produce the correct result, the price is shown without tax but maybe multiplied for number of products in cart...
Does anyone know how to display the shipment without taxes?
thanks in advance
wouldn't be
<?php echo $this->currency->priceDisplay($this->orderDetails['details']['BT']->order_shipment, $this->currency); ?>
Thank you very much, it was so simple and I couldn't figure it out.
Let's hope it can be useful for someone else.
:)