Order's Subtotal price without tax

  • Posts: 1027
  • Thank you received: 11
  • Hikashop Business
2 years 5 days 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 4 days ago by verzevoul.

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

  • Posts: 81509
  • Thank you received: 13064
  • MODERATOR
2 years 4 days 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: 1027
  • Thank you received: 11
  • Hikashop Business
2 years 2 days 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: 81509
  • Thank you received: 13064
  • MODERATOR
2 years 1 day 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: 1027
  • Thank you received: 11
  • Hikashop Business
2 years 1 day 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: 81509
  • Thank you received: 13064
  • MODERATOR
2 years 21 hours 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: 1027
  • Thank you received: 11
  • Hikashop Business
2 years 5 hours 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: 81509
  • Thank you received: 13064
  • MODERATOR
2 years 2 hours 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: 1027
  • Thank you received: 11
  • Hikashop Business
2 years 2 hours ago #341006

Thank you nicolas, i just sent you the credentials.

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

  • Posts: 81509
  • Thank you received: 13064
  • MODERATOR
2 years 4 minutes 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: 81509
  • Thank you received: 13064
  • MODERATOR
1 year 11 months 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: 81509
  • Thank you received: 13064
  • MODERATOR
1 year 11 months 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.075 seconds
Powered by Kunena Forum