vat on invoice

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
13 years 2 months ago #26186

If you ant to display the shipping without taxes on the invoice, you need to edit the file "invoice" of the view "checkout" via the menu Display->Views and change the code:

echo $this->currencyHelper->format($this->order->order_shipping_price,$this->order->order_currency_id);

by:

echo $this->currencyHelper->format($this->order->order_shipping_price-$this->order->order_shipping_tax,$this->order->order_currency_id);


For the address details, it's because you created new address fields and you don't use the normal fields.
So, you need to edit the files address_template (there are several of them) via the menu Display->Views to use tags corresponding to your new address fields

Please Log in or Create an account to join the conversation.

  • Posts: 90
  • Thank you received: 0
13 years 1 month ago #26255

all sorted thanks very much!

Please Log in or Create an account to join the conversation.

  • Posts: 90
  • Thank you received: 0
13 years 1 month ago #26436

can you also tell me how to have shipping without vat on the checkout on the customer side?

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
13 years 1 month ago #26459

For the shipping methods selection, you can edit the file shipping of the view checkout via Display->Views and remove the code:
if(bccomp($taxes,0,5)==0){
$prices_taxes = 0;
}

For the shipping fee in the cart display, you can edit the file cart of the same view and change:
if(bccomp($taxes,0,5)==0){
echo $this->currencyHelper->format(@$this->shipping->shipping_price,$this->shipping->shipping_currency_id);
}else{
echo $this->currencyHelper->format(@$this->shipping->shipping_price_with_tax,$this->shipping->shipping_currency_id);
}

to:
echo $this->currencyHelper->format(@$this->shipping->shipping_price,$this->shipping->shipping_currency_id);

Please Log in or Create an account to join the conversation.

  • Posts: 90
  • Thank you received: 0
13 years 1 month ago #26568

thanks- all sorted

Please Log in or Create an account to join the conversation.

Time to create page: 0.061 seconds
Powered by Kunena Forum