장바구니 가격 변동 사항 체크 코드 추가

This commit is contained in:
thisgun committed 2020-10-28 15:13:16 +09:00
1 parent 27bddb9208
commit c6669f76e5
4 files changed
+107

No files matched your search

+4
View File
@@ -24,6 +24,10 @@ else {
if (get_cart_count($tmp_cart_id) == 0)
alert('장바구니가 비어 있습니다.', G5_SHOP_URL.'/cart.php');
if (function_exists('before_check_cart_price')) {
if(! before_check_cart_price($tmp_cart_id) ) alert('장바구니 금액에 변동사항이 있습니다.\n장바구니를 다시 확인해 주세요.', G5_SHOP_URL.'/cart.php');
}
// 새로운 주문번호 생성
$od_id = get_uniqid();
set_session('ss_order_id', $od_id);