Tax on back-end invoice and front-end checkout

  • Posts: 12
  • Thank you received: 0
12 years 9 months ago #45241

Hi HikaShop.

First of all i must thank you for this great store solution for joomla :)

I've sorted out most of the small problems i ran in to, but i have one left unsolved.

What do i have to do to show prices with vat on the front-end checkout and the back-end invoice?
I'm not good att coding so i would appreciate a really easy guide :unsure:

Best regards
Peter

Attachments:

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

  • Posts: 12
  • Thank you received: 0
12 years 9 months ago #45316

Thanx gxHL i will take a look at those links but I'm not sure if they will solve my problems.

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

  • Posts: 52
  • Thank you received: 5
12 years 9 months ago #45358

Try reading them information is always good ;) Anyhow to display detailed taxes go to Components>Hikashop>Configuration>Display(tab)> find "Show taxed prices" change it to "Display Both" and "Detailed tax display" to Yes.
Hope i helped ;)

Last edit: 12 years 9 months ago by gxHL.

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

  • Posts: 12
  • Thank you received: 0
12 years 9 months ago #45359

Hi gxHL.

Sorry, doesn't work. :S
I think i must change the code in cart.php and invoice.php.

All works great in shop when listing products and so on, but when I'm on checkout page the problem appear.
Suddenly all products shows without tax, it's just in the total at the bottom of the page the taxes shows up.

Second problem appears when I'm klicking on the generate "invoice-button".

/Peter

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

  • Posts: 52
  • Thank you received: 5
12 years 9 months ago #45360

Hmm you should probably replace the edited files with the original ones and give it a try... Else wait for answer from Nicolas i cant help you out here.

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

  • Posts: 12
  • Thank you received: 0
12 years 9 months ago #45367

Hi gxHL.

I found answer to one of my questions here --> www.hikashop.com/en/forum/4-how-to/43728...-includes-taxes.html

This code did the trick for my checkout page "
Regarding the total price with taxes on the checkout, you will have to edit the file "cart" of the view "checkout" via the menu Display->Views in order to add the line:
$this->params->set('price_with_tax',1);

before the line:
$this->row=$this->total;"

But the code for invoice did not work, don't know why.

I'll hope Nicolas can help me out :)

Thanx for helping.

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

  • Posts: 83103
  • Thank you received: 13418
  • MODERATOR
12 years 9 months ago #45434

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

  • Posts: 12
  • Thank you received: 0
12 years 9 months ago #45454

THANX Nicolas!

Only one more thing, same problem as peetree21 has.

The sub total when generating invoice in backend does not show tax.

I believe it is this line <?php echo $this->currencyHelper->format($this->order->order_subtotal_no_vat,$this->order->order_currency_id); ?> i have to change.

/Peter

Attachments:

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

  • Posts: 83103
  • Thank you received: 13418
  • MODERATOR
12 years 9 months ago #45775

Yes. You can just use that line instead:

<?php echo $this->currencyHelper->format($this->order->order_subtotal,$this->order->order_currency_id); ?>

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

  • Posts: 12
  • Thank you received: 0
12 years 9 months ago #45789

Thanx for your great support Nicolas :)

/Peter

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

Time to create page: 0.087 seconds
Powered by Kunena Forum