영카트 5.4 버전 내용 적용
This commit is contained in:
@ -25,8 +25,7 @@ echo '<?xml version="1.0" encoding="UTF-8"?>';
|
||||
<response>
|
||||
<?php
|
||||
foreach($itemIds as $it_id) {
|
||||
$sql = " select * from {$g5['g5_shop_item_table']} where it_id = '$it_id' ";
|
||||
$it = sql_fetch($sql);
|
||||
$it = get_shop_item($it_id, true);
|
||||
if(!$it['it_id'])
|
||||
continue;
|
||||
|
||||
@ -60,7 +59,7 @@ foreach($itemIds as $it_id) {
|
||||
<name><![CDATA[<?php echo $it['ec_mall_pid']; ?>]]></name>
|
||||
<?php } ?>
|
||||
<name><![CDATA[<?php echo $name; ?>]]></name>
|
||||
<url><?php echo G5_SHOP_URL.'/item.php?it_id='.$it_id; ?></url>
|
||||
<url><?php echo shop_item_url($it_id); ?></url>
|
||||
<description><![CDATA[<?php echo $description; ?>]]></description>
|
||||
<image><?php echo $image; ?></image>
|
||||
<thumb><?php echo $image; ?></thumb>
|
||||
|
||||
@ -85,7 +85,7 @@ $sel_options = array();
|
||||
$sup_options = array();
|
||||
|
||||
if($_POST['naverpay_form'] == 'item.php')
|
||||
$back_uri = '/item.php?it_id='.$_POST['it_id'][0];
|
||||
$back_uri = shop_item_url($_POST['it_id'][0]);
|
||||
else if($_POST['naverpay_form'] == 'cart.php')
|
||||
$back_uri = '/cart.php';
|
||||
else
|
||||
@ -106,8 +106,7 @@ for($i=0; $i<$count; $i++) {
|
||||
}
|
||||
|
||||
// 상품정보
|
||||
$sql = " select * from {$g5['g5_shop_item_table']} where it_id = '$it_id' ";
|
||||
$it = sql_fetch($sql);
|
||||
$it = get_shop_item($it_id, true);
|
||||
if(!$it['it_id'])
|
||||
return_error2json('상품정보가 존재하지 않습니다.');
|
||||
|
||||
|
||||
@ -14,8 +14,7 @@ for($i=0; $i<$count; $i++) {
|
||||
$it_id = $_POST['it_id'][$i];
|
||||
|
||||
// 상품정보
|
||||
$sql = " select * from {$g5['g5_shop_item_table']} where it_id = '$it_id' ";
|
||||
$it = sql_fetch($sql);
|
||||
$it = get_shop_item($it_id, true);
|
||||
if(!$it['it_id'])
|
||||
alert_close('상품정보가 존재하지 않습니다.');
|
||||
|
||||
@ -24,7 +23,7 @@ for($i=0; $i<$count; $i++) {
|
||||
$description = urlencode($it['it_basic']);
|
||||
$price = get_price($it);
|
||||
$image = urlencode(get_naverpay_item_image_url($it_id));
|
||||
$item_url = urlencode(G5_SHOP_URL.'/item.php?it_id='.$it_id);
|
||||
$item_url = urlencode(shop_item_url($it_id));
|
||||
|
||||
$item .= '&ITEM_ID='.$id;
|
||||
if($it['ec_mall_pid'])
|
||||
|
||||
Reference in New Issue
Block a user