Skip to main content

Remove Tax from bottom of checkout

More
14 years 7 months ago #39771 by bluetonguedesigns
How do I stop the "Tax total" after shipping on the checkout page? I just don't want to have that line displayed at all.

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

More
14 years 7 months ago #39887 by nicolas
Go in the menu Display->Views and edit the file "cart" of the view "checkout" and change the line:
if(bccomp($taxes,0,5)){

to:
if(false){


and that will do that.
The following user(s) said Thank You: ximbo

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

More
14 years 7 months ago #40479 by bluetonguedesigns
Thanks Nicolas, that worked perfectly.

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

More
13 years 2 months ago #116081 by ximbo
I've just done this - but wondering, is there now an option in the configuration somewhere, so that it can be set on/off from there?

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

More
13 years 2 months ago #116092 by nicolas
No. Unfortunately, we can't add an option for every possible change someone would like to do. As you can see, we already have a lot of options, so for such small modifications, we try to avoid creating yet another option.

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

More
7 years 4 months ago #307159 by mxcom
I did that but it doesnt work.
I have the version Business 4.0.0

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

More
7 years 3 months ago #307170 by nicolas
Hi,

The checkout/cart.php view file is used by the legacy checkout. If you're using the new checkout of HikaShop 3+ (you have the "checkout legacy" setting turned off in the HikaShop configuration), then it's the view file checkout/show_block_cart.php that you need to edit.
And in that case, you want to change the line:
Code:
if(!empty($this->options['show_price']) && $taxes > 0){
to:
Code:
if(false){
Note that if you want to check which view file is used where, you can temporarily activate the "Display view files" setting of the HikaShop configuration.

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

Time to create page: 0.169 seconds
Powered by Kunena Forum