x2 Questions - Tax and payment method!

  • Posts: 3
  • Thank you received: 0
13 years 4 weeks ago #28491

Hi,

1) The website I have created is for a charity and they do not charge VAT. The VAT rules in UK are that on invoices etc, if you do not/are not allowed to charge VAT then you are also not allowed to show it anywhere on your invoices and emails. Even if the figures for 'Without VAT' and 'With VAT' are the same. How do I remove VAT being shown from invoices, emails and on screen?

2) In the order creation email that is sent to the shop owner, how can I add the payment method selected by customer?
The shop owner has allowed there to be a bank trasnfer payment method. However, she currently has to log in to check the payment used. Can this put into the email she gets about the order?

Thanks in advance!

A

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

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
13 years 4 weeks ago #28515

Hi,

1.
The VAT is not displayed in the invoices unless there is tax to be applied.
It's a valid point to have the same behavior in the emails.
What you need to do for that is to change the line:
echo '<tr><td colspan="4" style="text-align:right">'.JText::sprintf('TOTAL_WITHOUT_VAT',$currencyHelper->format($data->cart->full_total->prices[0]->price_value,$data->order_currency_id)).'</td></tr>';
to:
if($data->cart->full_total->prices[0]->price_value!=$data->cart->full_total->prices[0]->price_value_with_tax) echo '<tr><td colspan="4" style="text-align:right">'.JText::sprintf('TOTAL_WITHOUT_VAT',$currencyHelper->format($data->cart->full_total->prices[0]->price_value,$data->order_currency_id)).'</td></tr>';
in the order creation and order status notification emails that you can edit via the menu System->Emails (Business edition only).
In your case, since you never want to display the VAT, you can even just remove that line so that it never displays.

For the Total with VAT text, you can use the language override system in order to change it:
www.hikashop.com/en/download/languages.html#modify

2.

For the payment information, you can it like below in the order admin notification:
<?php
$paymentClass = hikashop_get('class.payment');
$payment= $paymentClass->get($data->order_payment_id);
$payment->payment_params = unserialize($payment->payment_params);
echo 'Payment method: '.$payment->payment_name; ?>

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

Time to create page: 0.053 seconds
Powered by Kunena Forum