제품 상세페이지 "item.form.skin.php" 중 별색처리 하고싶은 부분이 있는데

제품 상세페이지 "item.form.skin.php" 중 별색처리 하고싶은 부분이 있는데

QA

제품 상세페이지 "item.form.skin.php" 중 별색처리 하고싶은 부분이 있는데

답변 1

본문

제품 상세페이지(item.form.skin.php) 중

"구매금액(추가옵션 제외)의 30%" 이렇게 노출되는 걸

"구매금액(추가옵션 제외)의 30%" 이런 식으로 **% 만 별색처리를 하고싶은데

어떻게 해야될지 모르겠어요. 혹시 아시는 분 계신가요???

 


<?php if ($config['cf_use_point']) { // 포인트 사용한다면 ?>
            <tr>
                <th scope="row" style="color:#F00;"><?php echo _t('포인트'); ?></th>
                <td>
                    <?php
                    if($it['it_poin제품 상세페이지 "item.form.skin.php" 중 별색처리 하고싶은 부분이 있는데t_type'] == 2) {
                        echo _t('구매금액(추가옵션 제외)의').' '.$it['it_point'].'%';
                    } else {
                        $it_point = get_item_point($it);
                        echo number_format($it_point)._t('점');
                    }
                    ?>
                </td>
            </tr>
            <?php } ?>

 

 

이 질문에 댓글 쓰기 :

답변 1

<?php if ($config['cf_use_point']) { // 포인트 사용한다면 ?>
            <tr>
                <th scope="row" style="color:#F00;"><?php echo _t('포인트'); ?></th>
                <td>
                    <?php
                    if($it['it_point_type'] == 2) {
                        echo _t('구매금액(추가옵션 제외)의').' <span class="red">'.$it['it_point'].'%</span>';
                    } else {
                        $it_point = get_item_point($it);
                        echo number_format($it_point)._t('점');
                    }
                    ?>
                </td>
            </tr>
            <?php } ?>

 

이렇게 해보세요.

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
전체 123,197
© SIRSOFT
현재 페이지 제일 처음으로