배송비 결제 부분 주석처리 방법 질문드립니다 채택완료

배송비결제 주문시 결제 부분을 않보이게 하기 위한 주석처리를 어느 부분에 해야 하나요?
/www/theme/ey54_shop_001/skin/shop/basic/item.form.skin.php 파일에서 아래 부분에서 주석처리 해봐도 반응이 없네요 ^^;;
if($it['it_sc_type'] == 1) $sc_method = '무료배송'; else { if($it['it_sc_method'] == 1) $sc_method = '수령후 지불'; else if($it['it_sc_method'] == 2) { $ct_send_cost_label = ''; $sc_method = ''; } else $sc_method = '주문시 결제'; } ?>
답변 2개
답변에 대한 댓글 4개
직접 주석할때는 php랑 태그랑 구분해서 주석처리 해야되요
채택 부탁드려요
댓글을 작성하려면 로그인이 필요합니다.
이렇게 감싸면 된다구요
해본거 맞아요?
안될일이 없는데..
끝까지 해보시고 도저히 안되겠으면 질문을 남겨주세요..
</p>
<pre>
<?php
/* $ct_send_cost_label = '배송비결제';
if($it['it_sc_type'] == 1)
$sc_method = '무료배송';
else {
if($it['it_sc_method'] == 1)
$sc_method = '수령후 지불';
else if($it['it_sc_method'] == 2) {
$ct_send_cost_label = '<label for="ct_send_cost">배송비결제</label>';
$sc_method = '<select name="ct_send_cost" id="ct_send_cost">
<option value="0">주문시 결제</option>
<option value="1">수령후 지불</option>
</select>';
}
else
$sc_method = '주문시 결제';
}*/
?>
<!--<tr>
<th><?php /*echo $ct_send_cost_label; */?></th>
<td><?php /*echo $sc_method; */?></td>
</tr>-->
</pre>
<p>
답변에 대한 댓글 1개
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인