첨부해드린 사진대로 결제수단 하단에 내용을 삽입하고싶은데, 어떻게 해야하나요?
https://imgur.com/a/5LugL4c
감사합니다 수정되었어요
안녕하세요~^^
올려주신 이미지처럼 적용하시려면
스킨 파일을 수정해주셔야 합니다.
FTP로 접속해서 /wp-content/plugins/kboard/skin/사용중인스킨/order.php 파일에
아래의 코드를 찾아보세요.
<div class="kboard-attr-row">
<label class="attr-name" for="<?php echo $order->getFieldName('payment_method')?>"><?php echo __('Payment method', 'kboard')?> <span class="required">*</span></label>
<div class="attr-value">
<select class="kboard-payment-method-select" id="<?php echo $order->getFieldName('payment_method')?>" name="<?php echo $order->getFieldName('payment_method')?>" onchange="kboard_payment_method_change(this.value);">
<?php
// 코스모스팜 페이에서 선택된 결제 수단 표시
$pg_list = kboard_builtin_pg_list();
foreach($active_method as $active_method_name){
if(!isset($pg_list[$active_method_name])) continue;
?>
<option value="<?php echo esc_attr($active_method_name)?>"<?php if($order->payment_method == $active_method_name):?> selected<?php endif?>><?php echo esc_html($pg_list[$active_method_name]['front_display'])?></option>
<?php
}
?>
<?php if($board->meta->first_contents_mall_pay_method_card):?>
<option value="card"<?php if($order->payment_method == 'card'):?> selected<?php endif?>><?php echo __('Credit card', 'kboard')?></option>
<?php endif?>
<?php if($board->meta->first_contents_mall_pay_method_trans):?>
<option value="trans"<?php if($order->payment_method == 'trans'):?> selected<?php endif?>>실시간계좌이체</option>
<?php endif?>
<?php if($board->meta->first_contents_mall_pay_method_vbank):?>
<option value="vbank"<?php if($order->payment_method == 'vbank'):?> selected<?php endif?>>가상계좌</option>
<?php endif?>
<?php if($board->meta->first_contents_mall_pay_method_phone):?>
<option value="phone"<?php if($order->payment_method == 'phone'):?> selected<?php endif?>>휴대폰소액결제</option>
<?php endif?>
<?php if($board->meta->first_contents_mall_pay_method_samsung):?>
<option value="samsung"<?php if($order->payment_method == 'samsung'):?> selected<?php endif?>>삼성페이</option>
<?php endif?>
<?php if($board->meta->first_contents_mall_pay_method_kpay):?>
<option value="kpay"<?php if($order->payment_method == 'kpay'):?> selected<?php endif?>>KPay</option>
<?php endif?>
<?php if($board->meta->first_contents_mall_pay_method_cultureland):?>
<option value="cultureland"<?php if($order->payment_method == 'cultureland'):?> selected<?php endif?>>문화상품권</option>
<?php endif?>
<?php if($board->meta->first_contents_mall_pay_method_smartculture):?>
<option value="smartculture"<?php if($order->payment_method == 'smartculture'):?> selected<?php endif?>>스마트문상</option>
<?php endif?>
<?php if($board->meta->first_contents_mall_pay_method_happymoney):?>
<option value="happymoney"<?php if($order->payment_method == 'happymoney'):?> selected<?php endif?>>해피머니</option>
<?php endif?>
<?php if($board->meta->first_contents_mall_pay_method_booknlife):?>
<option value="booknlife"<?php if($order->payment_method == 'booknlife'):?> selected<?php endif?>>도서문화상품권</option>
<?php endif?>
<?php if($board->meta->first_contents_mall_pay_method_paypal):?>
<option value="paypal"<?php if($order->payment_method == 'paypal'):?> selected<?php endif?>><?php echo __('PayPal', 'kboard')?></option>
<?php endif?>
<?php if($board->meta->first_contents_mall_pay_method_point):?>
<option value="point"<?php if($order->payment_method == 'point'):?> selected<?php endif?>><?php echo __('Point', 'kboard')?></option>
<?php endif?>
<?php if($board->meta->first_contents_mall_bank_account_list):?>
<option value="cash"<?php if($order->payment_method == 'cash'):?> selected<?php endif?>><?php echo __('Make a deposit', 'kboard')?></option>
<?php endif?>
</select>
</div>
</div>
찾은 코드 밑에 아래의 코드를 추가해보시겠어요?
<div class="kboard-attr-row">
<div class="attr-value">※ 문구를 입력해보세요.</div>
</div>
위의 코드에서 문구는 적절히 변경해주세요.
고맙습니다.