- Posts: 94
- Thank you received: 0
Vat calculation? Why is it on?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I don't see why new products wouldn't be added to the cart.
Maybe you have some cache turned on in your joomla configuration or the system cache plugin ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
There is no reason that tax rules are applied if they are unpublished...
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Could you change the line:
$rate->shipping_price = $rate->shipping_price + $price*$rate->shipping_params->shipping_percentage/100;
to:
$currencyClass = hikashop_get('class.currency');
$rate->shipping_price = round($rate->shipping_price + $price*$rate->shipping_params->shipping_percentage/100,$currencyClass->getRounding($rate->shipping_params->shipping_currency_id));
and try again ? That should round properly the shipping price and thus avoid the problem.
Please Log in or Create an account to join the conversation.
Also will this be fixed in future updates?
Please Log in or Create an account to join the conversation.
It's in the file plugins/hikashopshipping/manual.php
Yes, it will be added in next release.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
$currencyClass = hikashop_get('class.currency');
$rates[$k]->shipping_price = round($rate->shipping_price + $price*$rate->shipping_params->shipping_percentage/100,$currencyClass->getRounding($rate->shipping_params->shipping_currency_id));
Please Log in or Create an account to join the conversation.
What is going on? I can repeat this and it reproduces every time.
Please Log in or Create an account to join the conversation.
Make sure that you logout/login before trying again.
Please Log in or Create an account to join the conversation.
- Shipping was not calculating percents
- We implemented the code change
- Shipping was still not calculating percentsv
- I did some troubleshooting and found out why
- It turns out that the only way I could get it to work was create a SECOND shipping option called test, enable it, and set it virtual products, this then caused BOTH shipping options to calculate percents
- I further tested it by turning off this test shipping option and then it the "real" option still calculated shipping correctly
- Finally, I deleted the test option completely from the system and the "real" option stopped calculating shipping correctly again
- So as a last resort I put the test option back on and unpublished it but did not delete it and again everything works
Somehow it is not calculating shipping unless this other shipping option exists as well. There has to be a bug where some code is crossed for some reason.
Thoughts?
Please Log in or Create an account to join the conversation.
I don't see why and how that would be the case.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.