- edited description
$maxQuantity not working in bitter_shop_system/single_pages/shop/shopping_cart.php at line: 92
Issue #53
resolved
If you set maxQuantity in the general config it should not be possible to buy more than this.
It is working in the detail product page but not in the shopping cart.
Line 92:
if (is_object($shoppingCartItem->getProduct()) && intval($shoppingCartItem->getProduct()->getQuantity()) < $maxQuantity) {
should be (getQuantity()
->getProductQuantity()
):
if (is_object($shoppingCartItem->getProduct()) && intval($shoppingCartItem->getProduct()->getProductQuantity()) < $maxQuantity) {
Comments (2)
-
reporter -
repo owner - changed status to resolved
Thank you Jakob. This will come to the next release.
- Log in to comment