Order's Subtotal price without tax

  • Posts: 1030
  • Thank you received: 11
  • Hikashop Business
2 years 1 month ago #340930

-- HikaShop version -- : 4.5.1
-- Joomla version -- : 3.10.8

Hello!

In the backend, at an order's edit page and in the invoice print page, can i change the subtotal price to be without tax?
Cause right now Subtotal and Total are the same.

Thank you in advance

Attachments:
Last edit: 2 years 1 month ago by verzevoul.

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

  • Posts: 81703
  • Thank you received: 13104
  • MODERATOR
2 years 1 month ago #340931

Hi,

In the file order / form, via the menu Display>Views, you can change the code:

echo $this->currencyHelper->format($this->order->order_subtotal,$this->order->order_currency_id);
to:
echo $this->currencyHelper->format($this->order->order_subtotal_no_vat,$this->order->order_currency_id);

The following user(s) said Thank You: verzevoul

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

  • Posts: 1030
  • Thank you received: 11
  • Hikashop Business
2 years 1 month ago #340944

Hi!

I dom't see the form file file anywhere.

Thank you

Attachments:

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

  • Posts: 81703
  • Thank you received: 13104
  • MODERATOR
2 years 1 month ago #340949

Hi,

If you look at the left side column of your screenshot, you can see that you're looking at frontend view files.
However, we're talking about modifying a backend interface, so you need to look at backend view files for your backend template and you'll see it there.

The following user(s) said Thank You: verzevoul

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

  • Posts: 1030
  • Thank you received: 11
  • Hikashop Business
2 years 1 month ago #340970

Hi

I did that but the subtotal price is still the same.

Thank you

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

  • Posts: 81703
  • Thank you received: 13104
  • MODERATOR
2 years 1 month ago #340971

Hi,

Note that you normally have two templates in the backend of Joomla 3: Hator and Isis. The normal template is Isis, so if you did the override for Hator then it's normal that you don't see any change. Please check on that.

The following user(s) said Thank You: verzevoul

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

  • Posts: 1030
  • Thank you received: 11
  • Hikashop Business
2 years 1 month ago #340994

Hi!

OK i changed the code at both view files but still nothing changed.
Could you maybe take a look?

Thank you again

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

  • Posts: 81703
  • Thank you received: 13104
  • MODERATOR
2 years 1 month ago #340996

Hi,

Sure. Please send the super admin credentials via our contact form along with the URL of this thread for reference :
www.hikashop.com/support/contact-us.html

The following user(s) said Thank You: verzevoul

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

  • Posts: 1030
  • Thank you received: 11
  • Hikashop Business
2 years 1 month ago #341006

Thank you nicolas, i just sent you the credentials.

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

  • Posts: 81703
  • Thank you received: 13104
  • MODERATOR
2 years 1 month ago #341009

Hi,

We didn't receive any credentials. Could you please resend them ?

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

  • Posts: 81703
  • Thank you received: 13104
  • MODERATOR
2 years 1 month ago #341012

We got the access. Someone else from the team was processing them while I was looking for them.
We'll look into the issue now.

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

  • Posts: 81703
  • Thank you received: 13104
  • MODERATOR
2 years 1 month ago #341016

Hi,

That's totally my bad. The view to edit was order / show_additional not order / form, the legacy view file, which isn't used anymore.
The modification is the same there. I've done it for you and it's working.

The following user(s) said Thank You: verzevoul

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

Time to create page: 0.066 seconds
Powered by Kunena Forum