- Posts: 92
- Thank you received: 0
don't display taxes in invoice and shipping invoic
-- Joomla version -- : 2.5
-- PHP version -- : 5.3.13
Hi friends,
in my shop unit prices, prices, subtotal and shipping display without taxes (and this is what I want) in cart and checkout. But invoices and shipping invoices display all prices with taxes.
I think I have to change "invoice" view in administrator template, but I have no idea of php and I'd like you say to me what I have to change to display invoice as cart
thanks
Please Log in or Create an account to join the conversation.
Normally there is nothing to do if you have the latest version as the invoice automatically uses the "show taxed prices" option of the configuration to decide whether the prices should be displayed with or without taxes.
I would thus recommend to try an upgrade.
Please make sure you do a backup before updating (or even better test on a copy of your website) as you are several versions behind and might get into trouble updating.
You can also just update the file administrator/components/com_hikashop/views/order/tmpl/invoice.php with the file back/views/order/tmpl/invoice.php of the install package of our website in order to get these modifications without everything else.
Please Log in or Create an account to join the conversation.
I updated without any problem to version 2.2.1 (after to do a backup).
On screen prices are all right. The problem is when I print invoice, all prices shown are only with taxes.
In my configuration products display both prices (without and with taxes), cart and checkout display only prices without taxes for unit price, total price, subtotal and shipping, and final total with taxes.
I want to print invoice with both prices (without and with taxes) or just without taxes (as cart and chekout)
What can I do?
thanks.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I just checked the code of the view invoice, and there is not the option to display the price with and without taxes.
So it will require the edition of the code. Thanks to edit the view "order / invoice" via the menu Display > Views.
Please Log in or Create an account to join the conversation.
I don't understand so well what you want to say with "Thanks to edit the view "order / invoice" via the menu Display > Views"
I did not edit this view at all.
About the problem: what have I to edit in the code to display prices as in checkout?
thanks for your help
Please Log in or Create an account to join the conversation.
Like Xavier said, there is no option to display the prices with and without taxes in the same time in the invoice.
If you want to display both, it will just display with but not without.
So if you want to display both, you have to customize the invoice in order to display both.
If you just want to display it with OR without, the invoice is working good, using the option in the configuration.
Or we have a little problem of comprehension.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
I said to you: "I want to print invoice with both prices (without and with taxes) or just without taxes (as cart and chekout)"
If is not possible to display both prices, can I display prices without taxes only in invoice, but whitout changing the option in configuration (I'd like to continue displaying both prices in products)?
Many thanks and sorry for extra work
Please Log in or Create an account to join the conversation.
You can add the following code at the top of the file:
Please Log in or Create an account to join the conversation.
This code works fine
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Several things were talked about here and what was proposed by Xavier is not a fix, but a modification that the user could add to have the view look like he wanted, not something that should be by default in HikaShop.
What do you want to do exactly ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.