Shipping costs and tax

Phoca Cart - complex e-commerce extension
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Shipping costs and tax

Post by Jan »

Hi, can you paste a screenshot of the error? Or do you have a live site to see it?

Jan
If you find Phoca extensions useful, please support the project
bambino
Phoca Enthusiast
Phoca Enthusiast
Posts: 70
Joined: 09 Jan 2012, 20:23

Re: Shipping costs and tax

Post by bambino »

Hallo Jan,
this is the test site: ostseetraum-usedom.de

Vielen Dank
Manuel
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Shipping costs and tax

Post by Jan »

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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Shipping costs and tax

Post 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:

Image
(Based on Customer Billing Address (if empty then Shipping Address)

Jan
If you find Phoca extensions useful, please support the project
bambino
Phoca Enthusiast
Phoca Enthusiast
Posts: 70
Joined: 09 Jan 2012, 20:23

Re: Shipping costs and tax

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Shipping costs and tax

Post 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 :idea: - e.g. only for shipping.

Jan
If you find Phoca extensions useful, please support the project
bambino
Phoca Enthusiast
Phoca Enthusiast
Posts: 70
Joined: 09 Jan 2012, 20:23

Re: Shipping costs and tax

Post by bambino »

Hallo,
Can't I do an override in the email template and adjust it there?

Viele Grüße
Manuel
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 387
Joined: 07 Nov 2018, 14:55

Re: Shipping costs and tax

Post by Nidzo »

Create override of order.php
It is in components/com_phocacart/layouts
bambino
Phoca Enthusiast
Phoca Enthusiast
Posts: 70
Joined: 09 Jan 2012, 20:23

Re: Shipping costs and tax

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Shipping costs and tax

Post 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.
If you find Phoca extensions useful, please support the project
Post Reply