Page 1 of 1

How to change price display in cart?

Posted: 02 Mar 2024, 17:04
by Rusty
Hi!

In my entire store I have set the system to "incl. VAT (gross)". But in the shopping cart, the price without tax is displayed first. At the end of the shopping cart, the correct price (incl. VAT) is then displayed. However, this is not suitable for me (for all German private customer stores). ALL prices must be displayed including VAT (if configured). Also in the shopping cart! The individual prices including VAT must also be displayed there. Only at the end of the shopping cart should it say: "contains XY% VAT".

Perhaps I have overlooked the appropriate setting. Can this be configured somewhere?

Re: How to change price display in cart?

Posted: 06 Mar 2024, 01:14
by Jan
Hi, can you paste a screenshot of what do you exactly mean?

Usually, the price displaying in cart is the same like in checkout. When there is taxable good, then including the tax:

Image

Or do you mean tax for the product itself?

Jan

Re: How to change price display in cart?

Posted: 06 Mar 2024, 02:21
by Jan
Hi, since version 5.0.0 Beta37:
https://github.com/PhocaCz/PhocaCart/re ... Beta37.zip
https://github.com/PhocaCz/PhocaCart/re ... Beta37.zip

it will be possible in Cart module to display tax information for each item:

Image


Disabled:
Image

Enabled:
Image


Jan

Re: How to change price display in cart?

Posted: 06 Mar 2024, 12:38
by Rusty
Hi Jan!
Jan wrote: 06 Mar 2024, 01:14 Hi, can you paste a screenshot of what do you exactly mean?
I manipulated your screenshot. Look at the new red colored values!
Image

Re: How to change price display in cart?

Posted: 09 Mar 2024, 10:54
by lpatrick
Hey Rusty

Wouldn't a template overwrite help you?

https://www.phoca.cz/documentation/115- ... -overrides

Re: How to change price display in cart?

Posted: 12 Mar 2024, 17:09
by Rusty
lpatrick wrote: 09 Mar 2024, 10:54 Hey Rusty

Wouldn't a template overwrite help you?

https://www.phoca.cz/documentation/115- ... -overrides
Uh ... thanks for your tip. But I guess that's not sooo easy. Will try it...

Re: How to change price display in cart?

Posted: 12 Mar 2024, 17:55
by Jan
Or just display all the three values and hide both of them with CSS.

Jan

Re: How to change price display in cart?

Posted: 12 Mar 2024, 21:13
by Rusty
Jan wrote: 12 Mar 2024, 17:55 Or just display all the three values and hide both of them with CSS.
Problem is the invoice and the order mails - there are the same issues.

Re: How to change price display in cart?

Posted: 13 Mar 2024, 00:45
by Jan
Hi, both can be overriden too - they are in layout folder. But in invoice or order, there is standard checkout displaying, not the same like in small cart.

Jan