Hallo,
It doesn't work, I'm always doing something wrong. Is there a reason why the shipping costs have to be displayed twice (including and excluding VAT)? I would like to add up the results in the last column and have the correct sum at the bottom.
Viele Grüße
Manuel
Shipping costs and tax
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Shipping costs and tax
Hi, what exactly do you want to achieve? When you have shipping costs without VAT, then just disable VAT for shipping in options.
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 70
- Joined: 09 Jan 2012, 20:23
Re: Shipping costs and tax
Hallo Jan,
Please excuse me for annoying you with my requested changes.
I just want to remove the line with the gross shipping costs. (screenshot)
https://imgur.com/a/eNUUtiX
This irritates customers and there are constant questions to the shop operator.
Vielen Dank und viele Grüße
Manuel
Please excuse me for annoying you with my requested changes.
I just want to remove the line with the gross shipping costs. (screenshot)
https://imgur.com/a/eNUUtiX
This irritates customers and there are constant questions to the shop operator.
Vielen Dank und viele Grüße
Manuel
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Shipping costs and tax
Hi, but if you use VAT, this is very important row - this is standard display - without VAT, VAT, with VAT.
As written previously - in web, you can hide it easily per CSS, but in documents, unfortunately, the only way is to not render its html. But these are documents e.g. for accounting, so removing one important part of calculation is maybe not good idea
Jan
As written previously - in web, you can hide it easily per CSS, but in documents, unfortunately, the only way is to not render its html. But these are documents e.g. for accounting, so removing one important part of calculation is maybe not good idea
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 70
- Joined: 09 Jan 2012, 20:23
Re: Shipping costs and tax
Hallo,
There are many ways to write an invoice. The only important thing for the tax office is that the VAT is shown. I don't care, but my customer is difficult. With virtuemart and Joomla 3 this is solved in columns. (screenshot) One column for VAT and one for the gross price, each with a total. But if there is no other way to show the shipping costs twice, I will have to wait and see what my customer says. I would like to use Phoca Cart.
https://imgur.com/a/aVT9udT
Viele Grüße
Manuel
There are many ways to write an invoice. The only important thing for the tax office is that the VAT is shown. I don't care, but my customer is difficult. With virtuemart and Joomla 3 this is solved in columns. (screenshot) One column for VAT and one for the gross price, each with a total. But if there is no other way to show the shipping costs twice, I will have to wait and see what my customer says. I would like to use Phoca Cart.
https://imgur.com/a/aVT9udT
Viele Grüße
Manuel
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Shipping costs and tax
It's maybe a different way of looking at things. If I look at the screenshot,
I see netto (36,97) of products, tax (7,03) and brutto (44,00) but I don't see the same for another product - delivery (in fact, delivery is just another product offered in this order):
netto (???), tax (1,28), brutto (8) ... really no idea why products have netto and another product (delivery) not. I really don't understand why somebody can be upset when the netto (in this case 6,72) for delivery product is displayed. I would understand, somebody can be upset when this important information is missing.
But it's everybody's business. That's why Joomla has a great system of overrides and they can be simply overridden (overrides are a better solution than parameters - see another discussion where systems are overwhelmed by parameters and parameters are in conflict eacht to other, etc.)
So the option is to make override and customize the output of checkout in documents per your needs in order.php - viewtopic.php?p=177319#p177319
e.g. Shipping Netto:
FROM:
TO:
Jan
I see netto (36,97) of products, tax (7,03) and brutto (44,00) but I don't see the same for another product - delivery (in fact, delivery is just another product offered in this order):
netto (???), tax (1,28), brutto (8) ... really no idea why products have netto and another product (delivery) not. I really don't understand why somebody can be upset when the netto (in this case 6,72) for delivery product is displayed. I would understand, somebody can be upset when this important information is missing.
But it's everybody's business. That's why Joomla has a great system of overrides and they can be simply overridden (overrides are a better solution than parameters - see another discussion where systems are overwhelmed by parameters and parameters are in conflict eacht to other, etc.)
So the option is to make override and customize the output of checkout in documents per your needs in order.php - viewtopic.php?p=177319#p177319
e.g. Shipping Netto:
Code: Select all
else if ($v->type == 'snetto' && $d['format'] == 'pdf') {
// do not display anything for shipping brutto amount
}
TO:
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 70
- Joined: 09 Jan 2012, 20:23
Re: Shipping costs and tax
Hallo,
Maybe we misunderstand each other. Of course I want the netto total of the products and the total of the VAT on the products. And below that, like now, netto shipping and shipping VAT. I don't want to display the brutto shipping costs (11,90 € in your example).
I have created an override file: order.php. Under the path template/html/layouts/com_phocacart. A test input with echo "Hello" was displayed in the email. But my php knowledge is a bit rusty and the output is very complex. What do I have to change to produce the desired output in email and PDF?
Vielen Dank für Deine Geduld!
Viele Grüße
Manuel
Maybe we misunderstand each other. Of course I want the netto total of the products and the total of the VAT on the products. And below that, like now, netto shipping and shipping VAT. I don't want to display the brutto shipping costs (11,90 € in your example).
I have created an override file: order.php. Under the path template/html/layouts/com_phocacart. A test input with echo "Hello" was displayed in the email. But my php knowledge is a bit rusty and the output is very complex. What do I have to change to produce the desired output in email and PDF?
Vielen Dank für Deine Geduld!
Viele Grüße
Manuel
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Shipping costs and tax
Hi, the example was for PDF:
$d['format'] == 'pdf'
so you just add it for mail and too:
&& ($d['format'] == 'pdf' || $d['format'] == 'mail')
You can see such parts of code in the order.php file. If you want to hide brutto and not netto, then it will be sbrutto:
Jan
$d['format'] == 'pdf'
so you just add it for mail and too:
&& ($d['format'] == 'pdf' || $d['format'] == 'mail')
You can see such parts of code in the order.php file. If you want to hide brutto and not netto, then it will be sbrutto:
Code: Select all
else if ($v->type == 'sbrutto' && ($d['format'] == 'pdf' || $d['format'] == 'mail')) {
// do not display anything for shipping brutto amount
}
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 70
- Joined: 09 Jan 2012, 20:23
Re: Shipping costs and tax
Hallo,
I'm doing something wrong. Where exactly do I have to enter the code in the order.php? I would also like to donate something for your efforts.
Viele Grüße
Manuel
I'm doing something wrong. Where exactly do I have to enter the code in the order.php? I would also like to donate something for your efforts.
Viele Grüße
Manuel