답변 2개
채택된 답변
+20 포인트
/shop/orderform.sub.php
의 600라인 정도쯤에
Copy
// 현장카드 사용
$multi_settle++;
echo '<input type="radio" id="od_settle_card" name="od_settle_case" value="현장카드" '.$checked.'> <label for="od_settle_card" class="lb_icon card_icon">현장카드드</label>'.PHP_EOL;
$checked = '';
이렇게 추가 하시구요..
이것도 마찬가지로 무통장과 같게 자비스크립쪽으로 추가 해주시면됩니다.
그리고 orderformupdate.php 쪽에서도..
Copy
if ($od_settle_case == "현장카드")
{
$od_receipt_price = $amount;
$od_receipt_point = $i_temp_point;
$od_receipt_price = 0;
$od_misu = 0;
$od_status = '입금';
$od_receipt_time = G5_TIME_YMDHIS;
}
이렇게 처리해주시면 됩니다.
답변을 작성하려면 로그인이 필요합니다.