How to change price display in cart?

Phoca Cart - complex e-commerce extension
Rusty
Phoca Member
Phoca Member
Posts: 20
Joined: 03 May 2023, 19:31

How to change price display in cart?

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

Re: How to change price display in cart?

Post 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
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48361
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to change price display in cart?

Post 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
If you find Phoca extensions useful, please support the project
Rusty
Phoca Member
Phoca Member
Posts: 20
Joined: 03 May 2023, 19:31

Re: How to change price display in cart?

Post 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
lpatrick
Phoca Enthusiast
Phoca Enthusiast
Posts: 94
Joined: 13 Feb 2024, 17:00

Re: How to change price display in cart?

Post by lpatrick »

Hey Rusty

Wouldn't a template overwrite help you?

https://www.phoca.cz/documentation/115- ... -overrides
Rusty
Phoca Member
Phoca Member
Posts: 20
Joined: 03 May 2023, 19:31

Re: How to change price display in cart?

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

Re: How to change price display in cart?

Post by Jan »

Or just display all the three values and hide both of them with CSS.

Jan
If you find Phoca extensions useful, please support the project
Rusty
Phoca Member
Phoca Member
Posts: 20
Joined: 03 May 2023, 19:31

Re: How to change price display in cart?

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

Re: How to change price display in cart?

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