Use Tax but only Show Tax Included price in Checkout

Phoca Cart - complex e-commerce extension
User avatar
dmlwebal
Phoca Professional
Phoca Professional
Posts: 238
Joined: 18 Sep 2019, 12:49

Use Tax but only Show Tax Included price in Checkout

Post by dmlwebal »

Hi Jan

I run a store with UK VAT at 20% so all products have the tax rate applied. This works great in Phoca Cart.

But, perhaps I miss something. In the UK it is more common to show the total price inclusive of VAT in the checkout. It is a little confusing for UK customers to see EX VAT prices unless they have a business that requires a VAT invoice. Regular online store customer see price inclusive of VAT, and that is all.

Every other area in Phoca Cart works fine, category and Item view, even discounts work perfectly showing prices with Price inclusive of VAT.

But, in the checkout the prices revert back to display without TAX, so here is where perhaps I miss something.

here is a product with a Sale Discount applied showing prices inclusive of TAX - perfect

https://ibb.co/Z6tQSvZ

Here is an image of the checkout in the way that the store is setup

https://ibb.co/g9fCjQj

Is it possible to show the columns in checkout to include the TAX in the way that I have set up the store? If so is it some combination on this page

https://ibb.co/k60psTg

Regards
David
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Use Tax but only Show Tax Included price in Checkout

Post by Jan »

Hi, see:

Image

The Y way is used to display checkout and tax prices.
So the only way is to make override with X method :idea: Or another way could be hiding the price excl. column with CSS :idea:

Instead of minus discount price, you can display the price after discount too. The problem is, there can be more ways to write this calculation and you always get the situation where the sums will be not correct ( on product line as X or Y way, or in calculation summarization) :-(

Jan
If you find Phoca extensions useful, please support the project
User avatar
dmlwebal
Phoca Professional
Phoca Professional
Posts: 238
Joined: 18 Sep 2019, 12:49

Re: Use Tax but only Show Tax Included price in Checkout

Post by dmlwebal »

Hi,
Yes, I see. I did suspect it was something like this. It is not a huge issue.

example X is actually how many UK receipts are displayed - logically incorrect but regionally more familiar!

Ok, I will try to make override for UK store, if only to familiarise myself more with Phoca Cart. I will find the variables and try to create the layout and apply CSS to hide certain columns. This way the calculation will not be altered but visual effect will be achieved.
Regards
David
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Use Tax but only Show Tax Included price in Checkout

Post by Jan »

Ok, anyway I sent you email with some thoughts about the CSS Grid.

Jan
If you find Phoca extensions useful, please support the project
vlood
Phoca Member
Phoca Member
Posts: 38
Joined: 28 Aug 2011, 09:59

Re: Use Tax but only Show Tax Included price in Checkout

Post by vlood »

Ahoj Jan,
v eshope mam nastavene zobrazovanie cien s DPH, ceny v kosiku sa zobrazuju podla schemy Y. Chcel by som - hlavne kvoli zakaznikom aby sa zobrazovali podla schemy X.

Ak by to bolo jednoduchsie, tak by sa v kosiku nemusela zobrazovat ani cena bez DPH ani dan. Tak ako je to pri zobrazeni ak mam v administracii - Nastavenia - Kalkulacia - Vypocet DPH : Cena bez DPH.

Dakujem.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Use Tax but only Show Tax Included price in Checkout

Post by Jan »

Ahoj, pokud jde o skrytí nějakých částí, to se jednoduše dá udělat přes CSS. Pokud jde změnit schém z Y na X, na to už je potřeba přepis - template override.

V tomto případě by to byl soubor:
components\com_phocacart\layouts\cart_checkout.php

Soubor je layout, tedy dá se přepsat pomocí šablony a není pak přepsán při updatu.
If you find Phoca extensions useful, please support the project
vlood
Phoca Member
Phoca Member
Posts: 38
Joined: 28 Aug 2011, 09:59

Re: Use Tax but only Show Tax Included price in Checkout

Post by vlood »

Ahoj, zial na upravu cart_checkout.php nemam programatorske znalosti. Vedel by si mi s tym pomoct?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Use Tax but only Show Tax Included price in Checkout

Post by Jan »

Ahoj, já momentálně vůbec nejsem z časových důvodů schopen se na to podívat. Rád bych řekl ano, jenže bych vůbec nebyl schopen říct nějakej termín, kdy bych se na to mohl podívat. :-(
If you find Phoca extensions useful, please support the project
jpeters
Phoca Professional
Phoca Professional
Posts: 225
Joined: 31 Dec 2020, 09:46

Re: Use Tax but only Show Tax Included price in Checkout

Post by jpeters »

Hello Jan,

for me personally i would like to have the checkout page like the X.. currently the only way i found is Y or disable tax completly.

for B2C is it logical price incl. Tax
for B2B its' logical the want the price excl. tax..

so.. combination of those 2 would be like screen X..
or , even better. depending on customer groups..
B2C group price incl. tax
B2B group price excl. tax.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Use Tax but only Show Tax Included price in Checkout

Post by Jan »

Hi, the checkout has own layout, so you can override it in your template, maybe this could be the way:

components\com_phocacart\layouts\cart_checkout.php

Jan
If you find Phoca extensions useful, please support the project
Post Reply