Hi,
Thank you for your feedback.
We'll fix this by adding the code:
if(empty($total)) {
return $taxes;
}
before the code:
foreach($products as $product){
if(empty($product->prices) || empty($product->prices[0]->taxes))
continue;
in that file a bit before the line of the warning.
The error happens because the system tries to get the taxes of the products to calculate the taxes on the shipping fee, but since the amount is 0, it tries to divide by 0 during the calculations, instead of skipping the caclulation process and just returning no taxes (which is what this patch does).
We'll add that for the next version of HikaShop.