#267 cartupdate 에서 가격 포인트는 레코드의 값을 읽어서 저장하도록 수정

This commit is contained in:
chicpro
2013-07-31 15:28:28 +09:00
parent 7ad707090b
commit fc914c0a88
6 changed files with 61 additions and 113 deletions

View File

@ -163,8 +163,6 @@ else
<form name="fitem" action="<?php echo $action_url; ?>" method="post">
<input type="hidden" name="it_id" value="<?php echo $it['it_id']; ?>">
<input type="hidden" name="it_name" value="<?php echo $it['it_name']; ?>">
<input type="hidden" name="total_price" value="">
<input type="hidden" name="sw_direct">
<input type="hidden" name="url">
@ -311,7 +309,7 @@ else
<tr>
<th scope="row">판매가격</th>
<td>
<?php echo number_format($it['it_price']); ?> 원
<?php echo number_format(get_price($it)); ?> 원
<input type="hidden" name="it_price" value="<?php echo get_price($it); ?>">
</td>
</tr>
@ -333,7 +331,6 @@ else
$it_point = get_item_point($it);
echo number_format($it_point);
?> 점
<input type="hidden" name="it_point" value="<?php echo $it_point; ?>">
</td>
</tr>
<?php } ?>

View File

@ -65,9 +65,6 @@ include_once(G4_MSHOP_PATH.'/_head.php');
<?php } else { //품절이 아니면 체크할수 있도록한다 ?>
<input type="checkbox" name="it_id[<?php echo $i; ?>]" value="<?php echo $row['it_id']; ?>" onclick="out_cd_check(this, '<?php echo $out_cd; ?>');">
<?php } ?>
<input type="hidden" name="it_name[<?php echo $i; ?>]" value="<?php echo $row['it_name']; ?>">
<input type="hidden" name="it_price[<?php echo $i; ?>]" value="<?php echo $it_price; ?>">
<input type="hidden" name="it_point[<?php echo $i; ?>]" value="<?php echo $it_point; ?>">
<input type="hidden" name="ct_qty[<?php echo $i; ?>]" value="1">
</td>
<td class="td_smallmng"><a href="<?php echo G4_SHOP_URL; ?>/wishupdate.php?w=d&amp;wi_id=<?php echo $row['wi_id']; ?>">삭제</a></td>