[solved] hide shipping tax in chechout
13 years 6 months ago - 13 years 5 months ago #104845
by Ruzza
[solved] hide shipping tax in chechout was created by Ruzza
Last edit: 13 years 5 months ago by Ruzza.
Please Log in or Create an account to join the conversation.
13 years 6 months ago #104874
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic hide shipping tax in chechout
Hi,
There are several solutions, for most of them, they use a view override.
You have to override the view "checkout | cart" and edit the part which display the taxes.
In your case, you have the option "detailed_tax_display" activated.
You can add a little check just after in order to skip specific taxes like:
At this moment, the tax with the namekey "4" will be skip (so, not display in the page).
Regards,
There are several solutions, for most of them, they use a view override.
You have to override the view "checkout | cart" and edit the part which display the taxes.
In your case, you have the option "detailed_tax_display" activated.
Code:
if(bccomp($taxes,0,5)){
if($this->config->get('detailed_tax_display') && isset($this->full_total->prices[0]->taxes)){
foreach($this->full_total->prices[0]->taxes as $tax){
Code:
if(bccomp($taxes,0,5)){
if($this->config->get('detailed_tax_display') && isset($this->full_total->prices[0]->taxes)){
foreach($this->full_total->prices[0]->taxes as $tax){
if($tax->tax_namekey == '4') continue;
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
13 years 6 months ago - 13 years 6 months ago #105135
by Ruzza
Replied by Ruzza on topic hide shipping tax in chechout
hi. in this way I hide only the voice, while in the total is also added shipping fee. I modified so to show me on the shipping line the shipping price + shipping fee.
I wish that on the taxes line, the shipping VAT is not counted because it already added in the shipping line.
sorry for my bad english
I wish that on the taxes line, the shipping VAT is not counted because it already added in the shipping line.
sorry for my bad english
Last edit: 13 years 6 months ago by Ruzza.
Please Log in or Create an account to join the conversation.
13 years 6 months ago #105141
by nicolas
Replied by nicolas on topic hide shipping tax in chechout
I doubt that you want to do that. you're supposed to display the full tax on the cart.
Instead I would recommend to display the shipping line without the tax by changing the line:
echo $this->currencyHelper->format(@$this->shipping->shipping_price_with_tax,$this->shipping->shipping_currency_id);
to:
echo $this->currencyHelper->format(@$this->shipping->shipping_price,$this->shipping->shipping_currency_id);
in that same file.
Instead I would recommend to display the shipping line without the tax by changing the line:
echo $this->currencyHelper->format(@$this->shipping->shipping_price_with_tax,$this->shipping->shipping_currency_id);
to:
echo $this->currencyHelper->format(@$this->shipping->shipping_price,$this->shipping->shipping_currency_id);
in that same file.
The following user(s) said Thank You: Ruzza
Please Log in or Create an account to join the conversation.
13 years 6 months ago - 13 years 6 months ago #105332
by Ruzza
Replied by Ruzza on topic hide shipping tax in chechout
Thank you. but in the end, I left as default.
can i ask two other things?
1) I have enabled the option to display the weight on the product page, but it is at the bottom. I can not find a way to move it as shown in figure:
2)on many pages there's the shopping cart, which refers to checkout as a default. but the problem is that:
if I go from my-account I get this address:
if I access it from the store I get this address, where I also have the left menu:
can i ask two other things?
1) I have enabled the option to display the weight on the product page, but it is at the bottom. I can not find a way to move it as shown in figure:
2)on many pages there's the shopping cart, which refers to checkout as a default. but the problem is that:
if I go from my-account I get this address:
if I access it from the store I get this address, where I also have the left menu:
Last edit: 13 years 6 months ago by Ruzza.
Please Log in or Create an account to join the conversation.
13 years 5 months ago #105384
by nicolas
Replied by nicolas on topic hide shipping tax in chechout
Hi,
1. Can you please give a link to that product page so that we can see that ?
2. If you want to avoid that, you can set the menu that you want in the URL with the "force a menu on checkout" option of the configuration.
1. Can you please give a link to that product page so that we can see that ?
2. If you want to avoid that, you can set the menu that you want in the URL with the "force a menu on checkout" option of the configuration.
The following user(s) said Thank You: Ruzza
Please Log in or Create an account to join the conversation.
13 years 5 months ago - 13 years 5 months ago #105422
by Ruzza
Replied by Ruzza on topic hide shipping tax in chechout
1)
www.italianfoodfans.com/en/store/product...heri-with-wheat-germ
temporany login: removed
2) thank's
www.italianfoodfans.com/en/store/product...heri-with-wheat-germ
temporany login: removed
2) thank's
Last edit: 13 years 5 months ago by Ruzza.
Please Log in or Create an account to join the conversation.
13 years 5 months ago #105423
by Xavier
Replied by Xavier on topic hide shipping tax in chechout
Hi,
You can edit the view "product / show_tabular" and move the code:
After:
You can edit the view "product / show_tabular" and move the code:
Code:
<div id="specification">
<?php
//LAYOUT show_block_dimensions
$this->setLayout('show_block_dimensions');
echo $this->loadTemplate();
if(!empty($this->fields)){
//LAYOUT show_block_custom_main
$this->setLayout('show_block_custom_main');
echo $this->loadTemplate();
}
?>
</div>
Code:
<span id="hikashop_product_price_main" class="hikashop_product_price_main">
<?php
//LAYOUT listing_price
if ($this->params->get('show_price')) {
$this->row = & $this->element;
$this->setLayout('listing_price');
echo $this->loadTemplate();
}
?>
</span><br />
The following user(s) said Thank You: Ruzza
Please Log in or Create an account to join the conversation.
13 years 5 months ago #105430
by Ruzza
Replied by Ruzza on topic hide shipping tax in chechout
Thank you very much. works great
Please Log in or Create an account to join the conversation.
Time to create page: 0.072 seconds