Page 2 of 3
Re: Shipping costs and tax
Posted: 16 Sep 2023, 00:25
by Jan
Hi, can you paste a screenshot of the error? Or do you have a live site to see it?
Jan
Re: Shipping costs and tax
Posted: 16 Sep 2023, 07:30
by bambino
Hallo Jan,
this is the test site: ostseetraum-usedom.de
Vielen Dank
Manuel
Re: Shipping costs and tax
Posted: 16 Sep 2023, 15:29
by Jan
Hi, can you send me some test login to PM so I can see the message?
Re: Shipping costs and tax
Posted: 16 Sep 2023, 16:34
by Jan
Hi,
in your options, there is set that the country rule will be based on shipping address. But when the user orders (there is selected billing address and no shipping addres) then there is no country selected for the user and the order cannot be accepted.
So you can set that the rule will be applied or billing address in Options. Then the order will be accepted.
Maybe the best solution is to select third for fourth option:
(Based on Customer Billing Address (if empty then Shipping Address)
Jan
Re: Shipping costs and tax
Posted: 16 Sep 2023, 16:58
by bambino
Vielen Dank für die schnelle Antwort!
Could you please tell me how I can hide the line: "Standard Versand DHL - Versandkosten (inkl. Steuer)" in the email? I don't want a duplicate display here either. I just want to show the net price and tax. I hidden this online using CSS.
Viele Grüße
Manuel
Re: Shipping costs and tax
Posted: 18 Sep 2023, 15:49
by Jan
Hi, in email there is no such option, so if you are not using taxes, just disable taxes generally in Phoca Cart options
- e.g. only for shipping.
Jan
Re: Shipping costs and tax
Posted: 18 Sep 2023, 15:55
by bambino
Hallo,
Can't I do an override in the email template and adjust it there?
Viele Grüße
Manuel
Re: Shipping costs and tax
Posted: 18 Sep 2023, 19:29
by Nidzo
Create override of order.php
It is in components/com_phocacart/layouts
Re: Shipping costs and tax
Posted: 19 Sep 2023, 08:40
by bambino
Thank you.
I would like to comment out the line with the "Shipping costs (including tax)" in the order. Unfortunately, I cannot find this line in the order.php
Viele Grüße
Manuel
Re: Shipping costs and tax
Posted: 19 Sep 2023, 22:54
by Jan
Hi,
components/com_phocacart/layouts/order.php
line cca 828, there are different items in foreach, so you need to debug which item is brutto for shipping.
These are:
snetto
stax
sbrutto
so you will do new condition for e.g. sbrutto and mail:
Code: Select all
} else if ($v->type == 'sbrutto' && $d['format'] == 'mail') {
// do not display anything for shipping brutto amount
}
etc.