Skip to main content

Order's Subtotal price without tax

More
4 years 5 months ago - 4 years 5 months ago #340930 by verzevoul
-- 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
Last edit: 4 years 5 months ago by verzevoul.

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

More
4 years 5 months ago #340931 by nicolas
Hi,

In the file order / form, via the menu Display>Views, you can change the code:
Code:
echo $this->currencyHelper->format($this->order->order_subtotal,$this->order->order_currency_id);
to:
Code:
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.

More
4 years 5 months ago #340944 by verzevoul
Hi!

I dom't see the form file file anywhere.

Thank you

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

More
4 years 5 months ago #340949 by nicolas
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.

More
4 years 5 months ago #340970 by verzevoul
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.

More
4 years 5 months ago #340971 by nicolas
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.

More
4 years 5 months ago #340994 by verzevoul
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.

More
4 years 5 months ago #340996 by nicolas
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.

More
4 years 5 months ago #341006 by verzevoul
Thank you nicolas, i just sent you the credentials.

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

More
4 years 5 months ago #341009 by nicolas
Hi,

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

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

More
4 years 5 months ago #341012 by nicolas
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.

More
4 years 5 months ago #341016 by nicolas
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.280 seconds
Powered by Kunena Forum