희망배송일에 캘린터 넣기
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
include_once('./_common.php');
|
include_once('./_common.php');
|
||||||
|
if ($default['de_hope_date_use']) {
|
||||||
|
include_once(G4_PLUGIN_PATH.'/jquery-ui/datepicker.php');
|
||||||
|
}
|
||||||
|
|
||||||
if (G4_IS_MOBILE) {
|
if (G4_IS_MOBILE) {
|
||||||
include_once(G4_MSHOP_PATH.'/orderform.php');
|
include_once(G4_MSHOP_PATH.'/orderform.php');
|
||||||
@ -640,7 +643,7 @@ function get_intall_file()
|
|||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><label for="od_hope_date">희망배송일</label></th>
|
<th scope="row"><label for="od_hope_date">희망배송일</label></th>
|
||||||
<td>
|
<td>
|
||||||
<select name="od_hope_date" id="od_hope_date">
|
<!-- <select name="od_hope_date" id="od_hope_date">
|
||||||
<option value="">선택하십시오.</option>
|
<option value="">선택하십시오.</option>
|
||||||
<?php
|
<?php
|
||||||
for ($i=0; $i<7; $i++) {
|
for ($i=0; $i<7; $i++) {
|
||||||
@ -648,7 +651,8 @@ function get_intall_file()
|
|||||||
echo '<option value="'.$sdate.'">'.$sdate.' ('.get_yoil($sdate).')</option>'.PHP_EOL;
|
echo '<option value="'.$sdate.'">'.$sdate.' ('.get_yoil($sdate).')</option>'.PHP_EOL;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</select>
|
</select> -->
|
||||||
|
<input type="text" name="od_hope_date" value="" id="od_hope_date" class="frm_input" size="11" maxlength="10" readonly="readonly"> 이후로 배송 바랍니다.
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
@ -1543,6 +1547,12 @@ function gumae2baesong(f)
|
|||||||
|
|
||||||
calculate_sendcost(String(f.od_b_zip1.value) + String(f.od_b_zip2.value));
|
calculate_sendcost(String(f.od_b_zip1.value) + String(f.od_b_zip2.value));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
<?php if ($default['de_hope_date_use']) { ?>
|
||||||
|
$(function(){
|
||||||
|
$("#od_hope_date").datepicker({ changeMonth: true, changeYear: true, dateFormat: "yy-mm-dd", showButtonPanel: true, yearRange: "c-99:c+99", minDate: "+<?php echo (int)$default['de_hope_date_after']; ?>d;", maxDate: "+<?php echo (int)$default['de_hope_date_after'] + 6; ?>d;" });
|
||||||
|
});
|
||||||
|
<?php } ?>
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
|||||||
Reference in New Issue
Block a user