#211 주문시 추가배송비 처리 코드 추가

This commit is contained in:
chicpro
2013-06-17 15:50:06 +09:00
parent 97d9e2e097
commit 04ec45c0c5
18 changed files with 231 additions and 29 deletions

19
shop/ordersendcost.php Normal file
View File

@ -0,0 +1,19 @@
<?php
include_once('./_common.php');
$code = $_POST['zipcode'];
if(!$code)
die('0');
$sql = " select sc_id, sc_amount
from {$g4['shop_sendcost_table']}
where sc_zip1 <= $code
and sc_zip2 >= $code ";
$row = sql_fetch($sql);
if(!$row['sc_id'])
die('0');
die($row['sc_amount']);
?>