Problem with presentation of Subtotal Amount without VAT

  • Posts: 86
  • Thank you received: 2
  • Hikashop Business
2 weeks 2 days ago #311778

-- HikaShop version -- : 4.2.1
-- Joomla version -- : 3.9.12
-- PHP version -- : 7.2.14

Hello, In the cart in checkout workflow there is a summarize of the client order with three values:
- Subtotal
- VAT
- Total
I would like to present Subtotal without VAT, then VAT, and then Total including VAT – in the checkout this works after setting in the Checkout Configuration option “Price with tax” as NO.

However in (a) e-mail confirmation and (b) list of orders Subtotal is still presented including VAT - obviously I would like to present this amount same as in the chceckout, without VAT.

I would like to ask you for a hint how solve this problem.

Additional question from my side is if is it possible to have unit prices in the checkout/e-mail/order list as price with VAT and then summarizing: Subtotal as amount without VAT, then VAT and then Total with VAT (setting in the Checkout Configuration option “Price with tax” as NO allows to present in checkout Subtotal as amount without VAT but also convert unit prices as prices without VAT).

Regards,
Greg

Last edit: 2 weeks 2 days ago by Greg_C.

Please Log in or Create an account to join the conversation.

  • Posts: 67199
  • Thank you received: 9963
  • MODERATOR
2 weeks 2 days ago #311780

Hi,

In the HikaShop configuration, you can find a similar “Price with tax” setting under the "Tax" section which will be used for all the emails as well as the listings and product pages on your website. So you should also turn off that setting.

Now, if you want the prices with taxes, but only display the subtotal without tax, there is no option to do that. You would have to create view overrides for each view / email where the cart / order is displayed to change that.
The modification is easy if you know PHP, but you would have to modify a dozen or so different places. To find which view files to edit for each zone, you can use the "Display view files" setting of the HikaShop configuration:
www.hikashop.com/support/documentation/1...-display.html#layout

Please Log in or Create an account to join the conversation.

  • Posts: 86
  • Thank you received: 2
  • Hikashop Business
2 weeks 1 day ago #311837

Hi Nicolas, Unfortunately I cannot use configuration > taxes > “Show taxed prices” as “No tax” – because with this setting client see on product page only net price (without VAT) instead of the gross price (with VAT) and this will be confusing for the client because the standard presentation for the client should be either the final price (with VAT) or both prices (with and without VAT). I have also tried to use configuration > taxes > “Show taxed prices” as “Display both” and with this setting information on product page is acceptable because Client see both prices with and without VAT – also presentation in checkout is correct and client see unit price without VAT and subtotal without vat - however when “Display both” is set then Unit price and Subtotal amount in e-mail and order listing contains amount with VAT. It will be confusing for the Client to see in fact Subtotal (with VAT) = Total (with VAT).
Is it possible to change presentation for e-mail and order listing in the same way as it is for checkout or at least to have possibility to present Subtotal amount without VAT when “Show taxed prices” is set as “Display both” ? If not is it possible to remove Subtotal position from e-mail and order listing ?

Regards,
Greg

Please Log in or Create an account to join the conversation.

  • Posts: 67199
  • Thank you received: 9963
  • MODERATOR
2 weeks 1 day ago #311843

Hi,

Anything is possible but it will require PHP modifications of the different areas you want to change.
However, the simplest will be to just force the prices with taxes on the product page and the listings.
For that, you can edit the file listing_price of the view product via the menu Display>Views and add such code at the top:

<?php $this->params->set('price_with_tax', 1); ?>
That way, you can keep the “Show taxed prices” setting turned off under the Taxes section of the HikaShop configuration.

The following user(s) said Thank You: Greg_C

Please Log in or Create an account to join the conversation.

  • Posts: 86
  • Thank you received: 2
  • Hikashop Business
2 weeks 7 hours ago #311880

Hi Nicolas, ok, thank you for you help !

It would be helpful if you could take into account some changes in this aspect in next versions of Hikashop

Regards,
Greg

Please Log in or Create an account to join the conversation.

Time to create page: 0.052 seconds
Powered by Kunena Forum