안녕하세요.
상품판매가격이 시중가격보다 높을때 해당 시중가격은 노출안되게 할려면 어떻게 하여야 하는지요. 도움바랍니다.
/shop/item.php 에서
<? if ($it[it_cust_amount]) { // 1.00.03 ?>
<tr height=25>
<td> · 시중가격</td>
<td align=center>:</td>
<td><input type=text name=disp_cust_amount size=12 style='text-align:right; border:none; border-width:0px; font-weight:bold; width:80px; color:#777777; text-decoration:line-through;' readonly value='<?=number_format($it[it_cust_amount])?>'> 원</td>
</tr>
<tr><td colspan=3 height=1 background='<?=$g4[shop_img_path]?>/dot_line.gif'></td></tr>
<? } ?>
<tr height=25>
<td> · 판매가격</td>
<td align=center>:</td>
<td><input type=text name=disp_sell_amount size=12 style='text-align:right; border:none; border-width:0px; font-weight:bold; width:80px; font-family:Tahoma;' class=amount readonly> 원
<input type=hidden name=it_amount value='0'>
</td>
</tr>
<tr><td colspan=3 height=1 background='<?=$g4[shop_img_path]?>/dot_line.gif'></td></tr>
이부분인데
만약 판매가격이 시중가격보다 높을경우 시중가격을 안나오게 할려고 합니다.
도움바랍니다.
댓글 9개
아 네그렇군요..
echo "<tr><td align=center>".it_name_icon($row)."</td></tr>";
if ($row[it_cust_amount] && !$row[it_gallery])
echo "<tr><td align=center><strike>".display_amount($row[it_cust_amount])."</strike></td></tr>";
echo "<tr><td align=center>";
if (!$row[it_gallery])
echo "<span class=amount>".display_amount(get_amount($row), $row[it_tel_inq])."</span>";
echo "</td></tr></table></td>";
여기에는 어떻게 해야하나요?
죄송합니다.
echo "<tr><td align=center>".it_name_icon($row)."</td></tr>";
if ($row[it_cust_amount] && !$row[it_gallery])
echo "<tr><td align=center><strike>".display_amount($row[it_cust_amount])."</strike></td></tr>";
echo "<tr><td align=center>";
if (!$row[it_gallery])
echo "<span class=amount>".display_amount(get_amount($row), $row[it_tel_inq])."</span>";
echo "</td></tr></table></td>";
여기에는 어떻게 해야하나요?
죄송합니다.
게시글 목록
| 번호 | 제목 |
|---|---|
| 55940 | |
| 55939 | |
| 55934 | |
| 55933 | |
| 55931 | |
| 55928 | |
| 55925 | |
| 55922 | |
| 55921 | |
| 55919 | |
| 55915 | |
| 55912 | |
| 55911 | |
| 55907 | |
| 55901 | |
| 55893 | |
| 55891 | |
| 55884 | |
| 55882 | |
| 55881 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기