How to simplify the display of TAXES?

Phoca Cart - complex e-commerce extension
morphinestyle
Phoca Professional
Phoca Professional
Posts: 118
Joined: 19 Jan 2022, 19:55

How to simplify the display of TAXES?

Post by morphinestyle »

Hello,
I've been going crazy for days with the tax settings :D

The functioning of some of the items related to TAXES in the control panel is not very clear in the Italian translation. I tried to understand them better by disabling the Italian translation, but the doubts remain.
But most importantly, I am not able to simplify the display of taxes (for standard users and for companies purchasing from a different country than the store, both on the product and checkout side).



This is the display I'm trying to achieve for the PRODUCTS VIEW, a "classic" display like most e-commerce sites, without unnecessary confusion:
(no VAT displayed for standard private buyers, while for companies outside the country, no VAT and no visible discounted price --the same and repeated in this case--)

Image



This is the display I'm trying to achieve in the checkout:
(no display of prices without VAT and no display of VAT for standard private buyers, but I'm wondering what that "price" is for companies)

Image



And also in the shipping section of CHECKOUT:

Image



I have spent days trying to understand exactly what the highlighted items are for, and unfortunately, the Italian translations did not help me much because they are somewhat approximate and confusing. If I could understand exactly what these items do, I could translate the wordings more exhaustively and accurately for the Italian version of Phoca Cart.

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

Re: How to simplify the display of TAXES?

Post by Jan »

Hi, you can remove some parts by parameters and some by CSS. The problematic part is for CSS, where changes apply to all customers.

Shipping amount rule is a specific shipping rule. Shipping methods can be displayed based on total amount. So here you decide if the amount should be with tax or without tax

Tax calculation (payment). If the payment method costs some money, you can set if such costs are with or without tax

Payment amount rule is a specific payment rule. Payments methods can be displayed based on total amount. So here you decide if the amount should be with tax or without tax

Tax Recapitulations, in some countries you need to have tax recapitulation on invoice:

Image


Phoca Cart is standard Joomla extension and such includes layouts - such layouts can be overriden by template. So in case there is no option in parameter or there is no option to use CSS, the output (e.g. of product page) should be overriden by template to fit your needs.

But I think, you can use the tax options - set two different taxes (one for standard customers, one for VAT customers) and there you can set that such VAT will be not displayed in specific view:

Image

Jan
If you find Phoca extensions useful, please support the project
morphinestyle
Phoca Professional
Phoca Professional
Posts: 118
Joined: 19 Jan 2022, 19:55

Re: How to simplify the display of TAXES?

Post by morphinestyle »

Thank you for your explanation Jan!

So the setting to show/hide TAXES does not have any effect on the PRODUCT+DISCOUNT view?

Image


Same question for the SHIPPING section in the CHECKOUT?

Image

If it's not possible, I'll create some rules in my custom CSS to hide this data .


Another question: is there a guide on how to create a layout for Phoca? So far, I have been using overrides (I'm not sure if they are the same thing), but with each update, if I confirm the override update, I lose my modifications.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to simplify the display of TAXES?

Post by Jan »

Hi, overrides are Joomla feature, so the same rules are valid for Phoca Cart

https://www.phoca.cz/documentation/115- ... -overrides

BTW - there is a rule to hide tax for checkout, I am now implementing the same for shipping and payment in checkout, so in next version it will be possible to hide it even for shipping:

Image

Image

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to simplify the display of TAXES?

Post by Jan »

It will work even for discounts:

Image

Image

Image
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to simplify the display of TAXES?

Post by Jan »

Hi, try to test version 4.0.8 Beta7, It should be implemented there:

https://github.com/PhocaCz/PhocaCart/re ... 8Beta7.zip

It is possible that there will be problems in database as there is change between Beta version, in such case, run these SQL commands:

Code: Select all

ALTER TABLE `#__phocacart_attribute_values` ADD COLUMN `published` int(1) NOT NULL DEFAULT '1' AFTER `alias`;
ALTER TABLE `#__phocacart_attributes` CHANGE `published` `published` int(1) NOT NULL DEFAULT '1';
UPDATE `#__phocacart_attributes` SET `published` = 1;
change #__ to your db prefix

Jan
If you find Phoca extensions useful, please support the project
morphinestyle
Phoca Professional
Phoca Professional
Posts: 118
Joined: 19 Jan 2022, 19:55

Re: How to simplify the display of TAXES?

Post by morphinestyle »

Hi Jan,
the beta version works great hiding prices from PRODUCT VIEW!

I see also selectors to hide SHIPPING and PAYMENT, but currently are not working both.

I noticed yesterday that clicking on any product generates a 404 error. Could this be caused by the installation of the beta version? (Currently, I patched it by taking and reinstalling from a previous backup to proceed with the development of the e-commerce. At the moment, I haven't executed the command from phpMyAdmin as you indicated.)

How can I help you by correcting the Italian translations (actually, incorrect) of those few tax-related terms so that they are not ambiguous?
morphinestyle
Phoca Professional
Phoca Professional
Posts: 118
Joined: 19 Jan 2022, 19:55

Re: How to simplify the display of TAXES?

Post by morphinestyle »

In Italian TAXES voices should be:
Prezzi con IVA
Prezzi senza IVA
Prezzi non soggetti a IVA

And also I can improve descriptions.
morphinestyle
Phoca Professional
Phoca Professional
Posts: 118
Joined: 19 Jan 2022, 19:55

Re: How to simplify the display of TAXES?

Post by morphinestyle »

UPDATE: I have an update regarding the 404 error when clicking on products.

It has reappeared: I was able to reproduce the error again on the new backup copy that I had just restored precisely because of this 404 error.
I believe it was caused when I assigned the LANGUAGE to the menu item that displays PRODUCT VIEWS (PRODUCT LIST LAYOUT).


I will perform further tests by restoring from a fresh backup and open a thread on the forum.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to simplify the display of TAXES?

Post by Jan »

Hi, the best way to correct the language is just downloading it, opening in text editor, changing the wrong strings, save and send me back corrected.

BTW: the beta does not have any feature that somehow changes the SEF :idea:

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