Totally Zenned
- Join Date:
- Oct 2004
- Location:
- Southport, UK
- Posts:
- 3,644
- Plugin Contributions:
- 6
Products Price Manager discounts aren't working on multiple attributes even though th
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
$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.
Development Manager @ JSWeb Ltd - suppliers of Applepay/Googlepay for Zencart
20 years with Zencart !