diff --git a/mobile/shop/orderaddress.php b/mobile/shop/orderaddress.php index c4297c767..0c43ad079 100644 --- a/mobile/shop/orderaddress.php +++ b/mobile/shop/orderaddress.php @@ -1,10 +1,18 @@
diff --git a/shop/orderaddress.php b/shop/orderaddress.php index 8abcb5039..32aa4d681 100644 --- a/shop/orderaddress.php +++ b/shop/orderaddress.php @@ -31,16 +31,25 @@ $result = sql_query($sql); if(!mysql_num_rows($result)) alert_close('배송지 목록 자료가 없습니다.'); +$order_action_url = G5_HTTPS_SHOP_URL.'/orderaddressupdate.php'; + if (G5_IS_MOBILE) { include_once(G5_MSHOP_PATH.'/orderaddress.php'); return; } +// 테마에 orderaddress.php 있으면 include +if(defined('G5_THEME_SHOP_PATH')) { + $theme_orderaddress_file = G5_THEME_SHOP_PATH.'/orderaddress.php'; + if(is_file($theme_orderaddress_file)) { + include_once($theme_orderaddress_file); + return; + unset($theme_orderaddress_file); + } +} + $g5['title'] = '배송지 목록'; include_once(G5_PATH.'/head.sub.php'); - -$order_action_url = G5_HTTPS_SHOP_URL.'/orderaddressupdate.php'; - ?>