Use Tax but only Show Tax Included price in Checkout

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

Use Tax but only Show Tax Included price in Checkout

Post by dmlwebal » 01 Nov 2020, 16:09

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: 43171
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan » 02 Nov 2020, 13:38

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: 116
Joined: 18 Sep 2019, 12:49

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

Post by dmlwebal » 02 Nov 2020, 17:18

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: 43171
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan » 02 Nov 2020, 19:36

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 Newbie
Phoca Newbie
Posts: 8
Joined: 28 Aug 2011, 09:59

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

Post by vlood » 21 Nov 2020, 09:16

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: 43171
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan » 21 Nov 2020, 17:43

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 Newbie
Phoca Newbie
Posts: 8
Joined: 28 Aug 2011, 09:59

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

Post by vlood » 22 Nov 2020, 11:35

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: 43171
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan » 25 Nov 2020, 18:14

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

Post Reply