I have a strange problem with a rule for shipping. I setup a rule that between 0 and 50 € in total each shipping item is charged with 1,40 €. The rule match like it should and when it's over 50 € shipping is free. Now when i choose an item which is below a 2 digit number the rule doesn't match anymore and it only match when it is over 60 €.
At the moment i have only one rule. The Filter is for every country and region Maximum Order Total is 50,00 € and per Item rate is 1,40.
Another problem is also with the shipping. When i set round item prices after tax and added all prices without tax inside the backend, all store frontend prices are fine, but the shipping of 1,40 display on two items always 2,81 and i don't want that. Independently if it round the value or not where does the 0,01 come from when i set the item charge to 1,40??
To fix this i commented the following lines out at store_shipping_default.php to prevent the strange rounding on shipping but this can't be a solution for my problem.
It would be nice if someone can have a look why this happens. Especially the wrong charging on items where the price is under 10,00 €?
Below is also the part i commented out of the function:
// this isn't particularly tidy, but it solves the tax rounding problem
// if ($this->EE->store_config->item('tax_rounding') == 'y')
// {
// $tax_multiplier = 1 + $order['tax_rate'];
// foreach (array('base_rate_val', 'per_item_rate_val', 'per_weight_rate_val', 'min_rate_val') as $field)
// {
// $rule[$field] = store_round_currency($rule[$field] * $tax_multiplier) / $tax_multiplier;
// }
// }
Thanks
Peter