#278 cartupdate에서 사용되지 않는 필드의 name 제거
This commit is contained in:
@ -27,7 +27,7 @@ if(!mysql_num_rows($result))
|
||||
<form name="foption" method="post" action="<?php echo G4_SHOP_URL; ?>/cartupdate.php" onsubmit="return formcheck(this);">
|
||||
<input type="hidden" name="act" value="optionmod">
|
||||
<input type="hidden" name="it_id[]" value="<?php echo $it['it_id']; ?>">
|
||||
<input type="hidden" name="it_price" value="<?php echo $row2['ct_price']; ?>">
|
||||
<input type="hidden" id="it_price" value="<?php echo $row2['ct_price']; ?>">
|
||||
<input type="hidden" name="ct_send_cost" value="<?php echo $row2['ct_send_cost']; ?>">
|
||||
<input type="hidden" name="sw_direct">
|
||||
<?php
|
||||
@ -96,8 +96,8 @@ if($option_2) {
|
||||
<input type="hidden" name="io_type[<?php echo $it['it_id']; ?>][]" value="<?php echo $row['io_type']; ?>">
|
||||
<input type="hidden" name="io_id[<?php echo $it['it_id']; ?>][]" value="<?php echo $row['io_id']; ?>">
|
||||
<input type="hidden" name="io_value[<?php echo $it['it_id']; ?>][]" value="<?php echo $row['ct_option']; ?>">
|
||||
<input type="hidden" name="io_price[]" value="<?php echo $row['io_price']; ?>">
|
||||
<input type="hidden" name="io_stock[]" value="<?php echo $it_stock_qty; ?>">
|
||||
<input type="hidden" class="io_price" value="<?php echo $row['io_price']; ?>">
|
||||
<input type="hidden" class="io_stock" value="<?php echo $it_stock_qty; ?>">
|
||||
<span class="sit_opt_subj"><?php echo $row['ct_option']; ?></span>
|
||||
<span class="sit_opt_prc"><?php echo $io_price; ?></span>
|
||||
<div>
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user