Skip to main content

shipping price displayed with taxes

More
15 years 6 months ago #9894 by jasonm
I see in the checkout/cart view there is a check to see whether the shipping price should be displayed with or without taxes but I can't for the life of me see where to set that option in the backend?

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

More
15 years 6 months ago #9897 by nicolas
If you go in the menu System->Shipping methods and edit your shipping methods, you can set there the tax category which hikashop will use for the prices of the shipping methods.

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

More
15 years 6 months ago #9899 by jasonm
The tax category is set and everything is working fine from the calculation point of view, I just want to change the way the shipping is displayed in the cart from without taxes to with taxes.

This code in the checkout/cart view appears to give you the options of how it is displayed
Code:
<span class="hikashop_checkout_cart_shipping"> <?php if(bccomp($taxes,0,5)){ echo $this->currencyHelper->format(@$this->shipping->shipping_price,$this->shipping->shipping_currency_id); }else{ echo $this->currencyHelper->format(@$this->shipping->shipping_price_with_tax,$this->shipping->shipping_currency_id); } ?> </span>
but I cant work out where the options is on how to display it.

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

More
15 years 6 months ago #9900 by nicolas
Do you use the latest version of HikaShop ? We actually corrected HikaShop to display the shipping price with taxes.

Otherwise, you can just change the line:
if(bccomp($taxes,0,5)){

to:
if(false){

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

More
15 years 6 months ago #9901 by jasonm
Lets try the code again!

<span class="hikashop_checkout_cart_shipping">
<?php
if(bccomp($taxes,0,5)){
echo $this->currencyHelper->format(@$this->shipping->shipping_price,$this->shipping->shipping_currency_id);
}else{
echo $this->currencyHelper->format(@$this->shipping->shipping_price_with_tax,$this->shipping->shipping_currency_id);
}
?>
</span>

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

More
15 years 6 months ago #9902 by jasonm
Oops crossover, we are using Essential 1.4.7, but our checkout/cart file is 1.4.3

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

More
15 years 6 months ago #9903 by jasonm
Ok, sorted. copied our customisations out of our 1.4.3 file into 1.4.7 and its all good.

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

Time to create page: 0.196 seconds
Powered by Kunena Forum