상품 상세 페이지에서 어떤걸 바꿔야 하는지 모르겠습니다. 며칠째 이것 때문에 힘드네요
판매가= 금액(금액 넣는 곳에 숫자만 입력 가능 하다고 해서 가격 문의를 넣고 싶은데 도저히 오류가 뜨네요.
오류가 뜨는 상태로 표면상 판매가= 가격 문의가 뜨긴 하는데 구매하기나 장바구니 링크가 안되고 오류 뜬다고 하네요
웹 페이지 오류 세부 정보
메시지: 'span_price_str'이(가) 정의되지 않았습니다.
이거 오류 안뜨고 할 수 있는 방법 좀 알려주세요
<!-- PRO_GOODS_PRICE_INFO start-->
<form name="sell_form" action="goods_exec.php" method="post" targetx="ok_frame" ENCTYPE="multipart/form-data" style='margin:0'>
<INPUT TYPE=HIDDEN NAME=tmp_name VALUE="tmp_val">
<input type="hidden" name="mode" value="">
<input type="hidden" name="goods_idx" value="{GOODS_IDX}">
<input type="hidden" name="t_price" value="{GOODS_PRICE}">
<input type="hidden" name="add_price_str" value="">
<input type="hidden" name="option_m_str" value="">
{SUM_INPUT_HIDDEN} <!-- 필수 입력-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<script>
var tmp_name
var tmp_val
var tmp
var str ='';
for(i=0;i<sort.length;i++){
tmp = sort[i];
tmp_name = column_name[tmp];
tmp_val = price_info_arr[tmp];
if(!tmp_name || !tmp_val) continue;
if(tmp == 'sijung_price') tmp_val = "<s>"+tmp_val+"</s>";
if(tmp == 'goods_price'){
tmp_name = "<img src='/img_up/shop_pds/tyenc/design/template/3_99_861/ico_dir053.gif' width='14' height='13' style='vertical-align:middle'> <font color=000000>"+tmp_name+"</font>";
tmp_val = "<font color=dc2870><b><span id='span_price_str' style='position:relative;Z-INDEX:0;'>"+tmp_val+"</span></b></font><font color='#999999'><span id='span_price_sub_str' style='position:relative;Z-INDEX:0;'></span></font>";
}else{
tmp_name = "<img src='/img_up/shop_pds/tyenc/design/template/3_99_861/ico_dir053.gif' width='14' height='13' style='vertical-align:middle'> <font color=#404040>"+tmp_name+"</font>";
tmp_val = "<font color=#404040>"+tmp_val+"</font>";
}
str += "<tr height=25>";
str += "<td width='75' style='text-decoration:none; font-family:굴림, 굴림체, Gulim; font-size: 12;'>"+tmp_name+"</td> ";
str += "<td align=left style='text-decoration:none; font-family:verdana; font-size: 11; color: #040404;';>"+tmp_val+"</td>";
str += "</tr>";
}
document.write(str);
</script>
</table><br>
<span id="span_app_online_only" style="position:relative;Z-INDEX:0;display:none">
<font color=red>본 상품은 현금결제 전용 상품입니다.</font>
</span>
<span id="span_app_emoney_only" style="position:relative;Z-INDEX:0;display:none">
<font color=red>본 상품은 {EMONEY_NAME}결제 전용 상품입니다.</font>
</span>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="1" background='/img_up/shop_pds/tyenc/design/template/3_99_861/line_dot0312.gif'></td>
</tr>
<tr>
<td height="30" bgcolor="F6F6F6">
<table width="100%" height="30" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="75" style="text-decoration:none; font-family:굴림, 굴림체, Gulim; font-size: 9pt; color: #404040; letter-spacing:-1px;";><img src="/img_up/shop_pds/tyenc/design/template/3_99_861/ico_dir055.gif" width="14" height="13" style="vertical-align:middle">주문수량</td>
<td>
<span id="sale_cnt1" style="position:relative;Z-INDEX:0;display:none">
<font color=red>본 상품은 {SALE_MEMLV_STR}만 구매할수 있습니다.</font>
</span>
<span id="sale_cnt2" style="position:relative;Z-INDEX:0;display:none">
<font color=red><b>품절</b></font>
</span>
<span id="sale_cnt3" style="position:relative;Z-INDEX:0;display:none">
<table width="100%" height="30" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="50">
<input name="sale_cnt" type="text" onkeyup="add_price_chk()" style=" width: 35px; height: 18px; border: 1px solid #CACACA; font-family:verdana; font-size: 8pt; color: #666666; text-align:right;" value="1" size="5">
</td>
<td>
<table width="13" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><a href="javascript:sale_cnt_up()"><img src="/img_up/shop_pds/tyenc/design/template/3_99_861/bt_up011.gif" width="13" height="11" border="0"></a></td>
</tr>
<tr>
<td><a href="javascript:sale_cnt_down()"><img src="/img_up/shop_pds/tyenc/design/template/3_99_861/bt_down011.gif" width="13" height="11" border="0"></a></td>
</tr>
</table>
</td>
<td>
{SALE_MIN_CNT_STR}
</td>
</tr>
</table>
</span>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="1" background='/img_up/shop_pds/tyenc/design/template/3_99_861/line_dot0312.gif'></td>
</tr>
</table>