diff --git a/shop/cartupdate.php b/shop/cartupdate.php index 79a6e0e2f..4508d75d9 100644 --- a/shop/cartupdate.php +++ b/shop/cartupdate.php @@ -184,7 +184,9 @@ else // 장바구니에 담기 and ct_status = '쇼핑' "; $row4 = sql_fetch($sql4); - if(($sum_qty + $row4['ct_sum']) > $it['it_buy_max_qty']) + $option_sum_qty = ( $act === 'optionmod' ) ? $sum_qty : $sum_qty + $row4['ct_sum']; + + if(($option_sum_qty) > $it['it_buy_max_qty']) alert($it['it_name'].'의 선택옵션 개수 총합 '.number_format($it['it_buy_max_qty']).'개 이하로 주문해 주십시오.', './cart.php'); } } diff --git a/theme/basic/mobile/shop/category.php b/theme/basic/mobile/shop/category.php index 5e648de80..9ee08f71b 100644 --- a/theme/basic/mobile/shop/category.php +++ b/theme/basic/mobile/shop/category.php @@ -72,7 +72,7 @@ $mshop_categories = get_shop_category_array(true); echo '