Following an upgrade, to 158a one of our clients reported the issue. On investigation, checkinmg the vanilla versions from 157 and 158, we found that this code is missing from function zen_get_products_discount_price_qty in functions_prices.php
PHP Code:
$new_qty = $_SESSION['cart']->in_cart_mixed_discount_quantity($product_id);
// check for discount qty mix
if ($new_qty > $check_qty) {
$check_qty = $new_qty;
}
The session var looks at the cart to see how many item have mixed_discount_quantity and updates $check_qty to this value.
We don't know what the intention was when it was removed, but it doesn't exist in v2.0.0rc1 either.
Bookmarks