Hi, can you paste a screenshot of the error? Or do you have a live site to see it?
Jan
Shipping costs and tax
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Shipping costs and tax
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,
this is the test site: ostseetraum-usedom.de
Vielen Dank
Manuel
this is the test site: ostseetraum-usedom.de
Vielen Dank
Manuel
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Shipping costs and tax
Hi, can you send me some test login to PM so I can see the message?
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Shipping costs and tax
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
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
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
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
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
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Shipping costs and tax
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
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,
Can't I do an override in the email template and adjust it there?
Viele Grüße
Manuel
Can't I do an override in the email template and adjust it there?
Viele Grüße
Manuel
- Nidzo
- Phoca Professional
- Posts: 387
- Joined: 07 Nov 2018, 14:55
Re: Shipping costs and tax
Create override of order.php
It is in components/com_phocacart/layouts
It is in components/com_phocacart/layouts
-
- Phoca Enthusiast
- Posts: 70
- Joined: 09 Jan 2012, 20:23
Re: Shipping costs and tax
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
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
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Shipping costs and tax
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:
etc.
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
}
If you find Phoca extensions useful, please support the project