Page 1 of 1

Use Tax but only Show Tax Included price in Checkout

Posted: 01 Nov 2020, 16:09
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

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

Posted: 02 Nov 2020, 13:38
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

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

Posted: 02 Nov 2020, 17:18
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

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

Posted: 02 Nov 2020, 19:36
by Jan
Ok, anyway I sent you email with some thoughts about the CSS Grid.

Jan

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

Posted: 21 Nov 2020, 09:16
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.

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

Posted: 21 Nov 2020, 17:43
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.

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

Posted: 22 Nov 2020, 11:35
by vlood
Ahoj, zial na upravu cart_checkout.php nemam programatorske znalosti. Vedel by si mi s tym pomoct?

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

Posted: 25 Nov 2020, 18:14
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. :-(

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

Posted: 07 Jan 2021, 12:38
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.

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

Posted: 09 Jan 2021, 03:08
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