#278 cartupdate에서 사용되지 않는 필드의 name 제거

This commit is contained in:
chicpro
2013-08-09 10:26:35 +09:00
parent 728f34f69e
commit b98f7b8bde
5 changed files with 42 additions and 42 deletions

View File

@ -298,7 +298,7 @@ else
<th scope="row">판매가격</th>
<td>
<?php echo number_format(get_price($it)); ?> 원
<input type="hidden" name="it_price" value="<?php echo get_price($it); ?>">
<input type="hidden" id="it_price" value="<?php echo get_price($it); ?>">
</td>
</tr>
@ -401,8 +401,8 @@ else
<input type="hidden" name="io_type[<?php echo $it_id; ?>][]" value="0">
<input type="hidden" name="io_id[<?php echo $it_id; ?>][]" value="">
<input type="hidden" name="io_value[<?php echo $it_id; ?>][]" value="<?php echo $it['it_name']; ?>">
<input type="hidden" name="io_price[]" value="0">
<input type="hidden" name="io_stock[]" value="<?php echo $it['it_stock_qty']; ?>">
<input type="hidden" class="io_price" value="0">
<input type="hidden" class="io_stock" value="<?php echo $it['it_stock_qty']; ?>">
<span class="sit_opt_subj"><?php echo $it['it_name']; ?></span>
<span class="sit_opt_prc">(+0원)</span>
<div>
@ -652,7 +652,7 @@ else
function fitemcheck(f, act)
{
// 판매가격이 0 보다 작다면
if (f.it_price.value < 0)
if (document.getElementById("it_price").value < 0)
{
alert("전화로 문의해 주시면 감사하겠습니다.");
return;