Skip to main content

Show Prices in the back purchases including taxes

More
12 years 5 months ago #151021 by alison
-- HikaShop version -- : 2.2.2
-- Joomla version -- : 2.5.7
-- PHP version -- : 5.4.25

Hello,
In the front of the site is configured to display the price including tax and this properly. But in the back as shown in the attached image appear without taxes.
In the Price column appears without taxes.
As can be configured to display the list prices with taxes included?

Thank you,

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

More
12 years 5 months ago #151048 by nicolas
Hi,

There is no option for that. That would require to modify the code of the file "listing" of the view "cart" of your backend via the menu Display>Views

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

More
12 years 5 months ago #151217 by alison
Hello,
Ok, that part of the code I need to change? I could provide the code that have changed.

thanks

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

More
12 years 5 months ago #151228 by nicolas
Hi,

You'll want to change that line:
Code:
echo $this->currencyHelper->format($cart->price,$cart->currency);
So if you always have a 20% tax on all your products, you could simply do like that:
Code:
echo $this->currencyHelper->format($cart->price*1.2,$cart->currency);

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

More
12 years 5 months ago #151407 by alison
ok, taxes are 21% as I put it?
Thank you,

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

More
12 years 5 months ago #151509 by Xavier
Hi,

In the example given by Nicolas the taxes are 20%.
To have 21% you have to multiply by "1.21".

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

Time to create page: 0.185 seconds
Powered by Kunena Forum