반응형 대비 주문폼 수정
This commit is contained in:
@ -1,31 +1,5 @@
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
set_session("ss_direct", $sw_direct);
|
||||
// 장바구니가 비어있는가?
|
||||
if ($sw_direct) {
|
||||
$tmp_cart_id = get_session("ss_cart_direct");
|
||||
}
|
||||
else {
|
||||
$tmp_cart_id = get_session("ss_cart_id");
|
||||
}
|
||||
|
||||
if (get_cart_count($tmp_cart_id) == 0)
|
||||
alert('장바구니가 비어 있습니다.', G5_SHOP_URL.'/cart.php');
|
||||
|
||||
$g5['title'] = '주문서 작성';
|
||||
|
||||
include_once(G5_MSHOP_PATH.'/_head.php');
|
||||
if ($default['de_hope_date_use']) {
|
||||
include_once(G5_PLUGIN_PATH.'/jquery-ui/datepicker.php');
|
||||
}
|
||||
|
||||
// 새로운 주문번호 생성
|
||||
$od_id = get_uniqid();
|
||||
set_session('ss_order_id', $od_id);
|
||||
|
||||
$s_cart_id = $tmp_cart_id;
|
||||
$order_action_url = G5_HTTPS_MSHOP_URL.'/orderformupdate.php';
|
||||
if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
||||
|
||||
require_once(G5_MSHOP_PATH.'/settle_'.$default['de_pg_service'].'.inc.php');
|
||||
require_once(G5_SHOP_PATH.'/settle_kakaopay.inc.php');
|
||||
@ -1530,8 +1504,4 @@ $(function(){
|
||||
$("#od_hope_date").datepicker({ changeMonth: true, changeYear: true, dateFormat: "yy-mm-dd", showButtonPanel: true, yearRange: "c-99:c+99", minDate: "+<?php echo (int)$default['de_hope_date_after']; ?>d;", maxDate: "+<?php echo (int)$default['de_hope_date_after'] + 6; ?>d;" });
|
||||
});
|
||||
<?php } ?>
|
||||
</script>
|
||||
|
||||
<?php
|
||||
include_once(G5_MSHOP_PATH.'/_tail.php');
|
||||
?>
|
||||
</script>
|
||||
1556
shop/orderform.php
1556
shop/orderform.php
File diff suppressed because it is too large
Load Diff
1492
shop/orderform.sub.php
Normal file
1492
shop/orderform.sub.php
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user