상품 배송비 설정에서 배송비 결제 사용자가 선택할 수 있도록 수정
This commit is contained in:
@ -1013,6 +1013,13 @@ $(function(){
|
|||||||
$(function() {
|
$(function() {
|
||||||
<?php
|
<?php
|
||||||
switch($it['it_sc_type']) {
|
switch($it['it_sc_type']) {
|
||||||
|
case 1:
|
||||||
|
echo '$("#sc_con_method").hide();'.PHP_EOL;
|
||||||
|
echo '$("#sc_con_basic").hide();'.PHP_EOL;
|
||||||
|
echo '$("#sc_con_minimum").hide();'.PHP_EOL;
|
||||||
|
echo '$("#sc_con_qty").hide();'.PHP_EOL;
|
||||||
|
echo '$("#sc_grp").attr("rowspan","1");'.PHP_EOL;
|
||||||
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
echo '$("#sc_con_method").show();'.PHP_EOL;
|
echo '$("#sc_con_method").show();'.PHP_EOL;
|
||||||
echo '$("#sc_con_basic").show();'.PHP_EOL;
|
echo '$("#sc_con_basic").show();'.PHP_EOL;
|
||||||
@ -1035,11 +1042,11 @@ $(function(){
|
|||||||
echo '$("#sc_grp").attr("rowspan","4");'.PHP_EOL;
|
echo '$("#sc_grp").attr("rowspan","4");'.PHP_EOL;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
echo '$("#sc_con_method").hide();'.PHP_EOL;
|
echo '$("#sc_con_method").show();'.PHP_EOL;
|
||||||
echo '$("#sc_con_basic").hide();'.PHP_EOL;
|
echo '$("#sc_con_basic").hide();'.PHP_EOL;
|
||||||
echo '$("#sc_con_minimum").hide();'.PHP_EOL;
|
echo '$("#sc_con_minimum").hide();'.PHP_EOL;
|
||||||
echo '$("#sc_con_qty").hide();'.PHP_EOL;
|
echo '$("#sc_con_qty").hide();'.PHP_EOL;
|
||||||
echo '$("#sc_grp").attr("rowspan","1");'.PHP_EOL;
|
echo '$("#sc_grp").attr("rowspan","2");'.PHP_EOL;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
@ -1047,6 +1054,13 @@ $(function(){
|
|||||||
var type = $(this).val();
|
var type = $(this).val();
|
||||||
|
|
||||||
switch(type) {
|
switch(type) {
|
||||||
|
case "1":
|
||||||
|
$("#sc_con_method").hide();
|
||||||
|
$("#sc_con_basic").hide();
|
||||||
|
$("#sc_con_minimum").hide();
|
||||||
|
$("#sc_con_qty").hide();
|
||||||
|
$("#sc_grp").attr("rowspan","1");
|
||||||
|
break;
|
||||||
case "2":
|
case "2":
|
||||||
$("#sc_con_method").show();
|
$("#sc_con_method").show();
|
||||||
$("#sc_con_basic").show();
|
$("#sc_con_basic").show();
|
||||||
@ -1069,11 +1083,11 @@ $(function(){
|
|||||||
$("#sc_grp").attr("rowspan","4");
|
$("#sc_grp").attr("rowspan","4");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
$("#sc_con_method").hide();
|
$("#sc_con_method").show();
|
||||||
$("#sc_con_basic").hide();
|
$("#sc_con_basic").hide();
|
||||||
$("#sc_con_minimum").hide();
|
$("#sc_con_minimum").hide();
|
||||||
$("#sc_con_qty").hide();
|
$("#sc_con_qty").hide();
|
||||||
$("#sc_grp").attr("rowspan","1");
|
$("#sc_grp").attr("rowspan","2");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
@ -145,14 +145,9 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
|||||||
<?php
|
<?php
|
||||||
$ct_send_cost_label = '배송비결제';
|
$ct_send_cost_label = '배송비결제';
|
||||||
|
|
||||||
if($default['de_send_cost_case'] == '무료')
|
|
||||||
$sc_method = '무료배송';
|
|
||||||
else
|
|
||||||
$sc_method = '주문시 결제';
|
|
||||||
|
|
||||||
if($it['it_sc_type'] == 1)
|
if($it['it_sc_type'] == 1)
|
||||||
$sc_method = '무료배송';
|
$sc_method = '무료배송';
|
||||||
else if($it['it_sc_type'] > 1) {
|
else {
|
||||||
if($it['it_sc_method'] == 1)
|
if($it['it_sc_method'] == 1)
|
||||||
$sc_method = '수령후 지불';
|
$sc_method = '수령후 지불';
|
||||||
else if($it['it_sc_method'] == 2) {
|
else if($it['it_sc_method'] == 2) {
|
||||||
|
|||||||
@ -158,14 +158,9 @@ if (!defined('_GNUBOARD_')) exit; // 개별 페이지 접근 불가
|
|||||||
<?php
|
<?php
|
||||||
$ct_send_cost_label = '배송비결제';
|
$ct_send_cost_label = '배송비결제';
|
||||||
|
|
||||||
if($default['de_send_cost_case'] == '무료')
|
|
||||||
$sc_method = '무료배송';
|
|
||||||
else
|
|
||||||
$sc_method = '주문시 결제';
|
|
||||||
|
|
||||||
if($it['it_sc_type'] == 1)
|
if($it['it_sc_type'] == 1)
|
||||||
$sc_method = '무료배송';
|
$sc_method = '무료배송';
|
||||||
else if($it['it_sc_type'] > 1) {
|
else {
|
||||||
if($it['it_sc_method'] == 1)
|
if($it['it_sc_method'] == 1)
|
||||||
$sc_method = '수령후 지불';
|
$sc_method = '수령후 지불';
|
||||||
else if($it['it_sc_method'] == 2) {
|
else if($it['it_sc_method'] == 2) {
|
||||||
|
|||||||
Reference in New Issue
Block a user