- Posts: 39
- Thank you received: 1
Show Prices in the back purchases including taxes
12 years 5 months ago #151021
by alison
Show Prices in the back purchases including taxes was created 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,
-- 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.
12 years 5 months ago #151048
by nicolas
Replied by nicolas on topic Show Prices in the back purchases including taxes
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
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.
12 years 5 months ago #151217
by alison
Replied by alison on topic Show Prices in the back purchases including taxes
Hello,
Ok, that part of the code I need to change? I could provide the code that have changed.
thanks
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.
12 years 5 months ago #151228
by nicolas
Replied by nicolas on topic Show Prices in the back purchases including taxes
Hi,
You'll want to change that line:
So if you always have a 20% tax on all your products, you could simply do like that:
You'll want to change that line:
Code:
echo $this->currencyHelper->format($cart->price,$cart->currency);
Code:
echo $this->currencyHelper->format($cart->price*1.2,$cart->currency);
Please Log in or Create an account to join the conversation.
12 years 5 months ago #151407
by alison
Replied by alison on topic Show Prices in the back purchases including taxes
ok, taxes are 21% as I put it?
Thank you,
Thank you,
Please Log in or Create an account to join the conversation.
12 years 5 months ago #151509
by Xavier
Replied by Xavier on topic Show Prices in the back purchases including taxes
Hi,
In the example given by Nicolas the taxes are 20%.
To have 21% you have to multiply by "1.21".
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