Remove Tax from bottom of checkout

  • Posts: 121
  • Thank you received: 0
12 years 10 months ago #39771

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.

  • Posts: 83041
  • Thank you received: 13405
  • MODERATOR
12 years 10 months ago #39887

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.

  • Posts: 121
  • Thank you received: 0
12 years 10 months ago #40479

Thanks Nicolas, that worked perfectly.

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

  • Posts: 34
  • Thank you received: 1
11 years 5 months ago #116081

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.

  • Posts: 83041
  • Thank you received: 13405
  • MODERATOR
11 years 5 months ago #116092

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.

  • Posts: 18
  • Thank you received: 0
5 years 6 months ago #307159

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.

  • Posts: 83041
  • Thank you received: 13405
  • MODERATOR
5 years 6 months ago #307170

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:

if(!empty($this->options['show_price']) && $taxes > 0){
to:
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.054 seconds
Powered by Kunena Forum