답변 3개
채택된 답변
+20 포인트
답변에 대한 댓글 1개
a
alexseo
4년 전
댓글을 작성하려면 로그인이 필요합니다.
답변에 대한 댓글 2개
a
alexseo
4년 전
엑스엠엘 님, 답변 감사합니다.
있습니다.
g5_auth
g5_autosave
g5_board
g5_board_file
g5_board_good
g5_board_new
g5_cert_history
g5_config
g5_content
g5_faq
g5_faq_master
g5_group
g5_group_member
g5_login
g5_mail
g5_member
g5_member_social_profiles
g5_memo
g5_menu
g5_new_win
g5_point
g5_poll
g5_poll_etc
g5_popular
g5_qa_config
g5_qa_content
g5_scrap
있습니다.
g5_auth
g5_autosave
g5_board
g5_board_file
g5_board_good
g5_board_new
g5_cert_history
g5_config
g5_content
g5_faq
g5_faq_master
g5_group
g5_group_member
g5_login
g5_mail
g5_member
g5_member_social_profiles
g5_memo
g5_menu
g5_new_win
g5_point
g5_poll
g5_poll_etc
g5_popular
g5_qa_config
g5_qa_content
g5_scrap
�
엑스엠엘
4년 전
echo를 해 보셨으면 금방 답이 나왔을 텐데요...
댓글을 작성하려면 로그인이 필요합니다.
답변에 대한 댓글 1개
a
alexseo
4년 전
블랙캣77님, 답변 감사합니다.
/shop/cart.php 에 있습니다.
<?php
include_once('./_common.php');
$naverpay_button_js = '';
include_once(G5_SHOP_PATH.'/settle_naverpay.inc.php');
// 보관기간이 지난 상품 삭제
cart_item_clean();
$sw_direct = isset($_REQUEST['sw_direct']) ? (int) $_REQUEST['sw_direct'] : 0;
// cart id 설정
set_cart_id($sw_direct);
$s_cart_id = get_session('ss_cart_id');
// 선택필드 초기화
$sql = " update {$g5['g5_shop_cart_table']} set ct_select = '0' where od_id = '$s_cart_id' ";
sql_query($sql);
$cart_action_url = G5_SHOP_URL.'/cartupdate.php';
if(function_exists('before_check_cart_price')) {
before_check_cart_price($s_cart_id, true, true, true);
}
if (G5_IS_MOBILE) {
include_once(G5_MSHOP_PATH.'/cart.php');
return;
}
// 테마에 cart.php 있으면 include
if(defined('G5_THEME_SHOP_PATH')) {
$theme_cart_file = G5_THEME_SHOP_PATH.'/cart.php';
if(is_file($theme_cart_file)) {
include_once($theme_cart_file);
return;
unset($theme_cart_file);
}
}
$g5['title'] = '장바구니';
include_once('./_head.php');
?>
/shop/cart.php 에 있습니다.
<?php
include_once('./_common.php');
$naverpay_button_js = '';
include_once(G5_SHOP_PATH.'/settle_naverpay.inc.php');
// 보관기간이 지난 상품 삭제
cart_item_clean();
$sw_direct = isset($_REQUEST['sw_direct']) ? (int) $_REQUEST['sw_direct'] : 0;
// cart id 설정
set_cart_id($sw_direct);
$s_cart_id = get_session('ss_cart_id');
// 선택필드 초기화
$sql = " update {$g5['g5_shop_cart_table']} set ct_select = '0' where od_id = '$s_cart_id' ";
sql_query($sql);
$cart_action_url = G5_SHOP_URL.'/cartupdate.php';
if(function_exists('before_check_cart_price')) {
before_check_cart_price($s_cart_id, true, true, true);
}
if (G5_IS_MOBILE) {
include_once(G5_MSHOP_PATH.'/cart.php');
return;
}
// 테마에 cart.php 있으면 include
if(defined('G5_THEME_SHOP_PATH')) {
$theme_cart_file = G5_THEME_SHOP_PATH.'/cart.php';
if(is_file($theme_cart_file)) {
include_once($theme_cart_file);
return;
unset($theme_cart_file);
}
}
$g5['title'] = '장바구니';
include_once('./_head.php');
?>
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인
해결했습니다.