1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
|
<?php Global $prodinfo, $cateinfo, $hasWishcnt, $is_soldout, $opt_array, $addopt_array; Global $configshop, $cinfo, $app_id;
//_pr($prodinfo);
$cur_img_url = $j3_img_url."/".$sk['sk_img_path'];
$prodinfo['img_url'] = get_it_thumbnail($prodinfo['code'],$prodinfo['pic1'],$configshop['img_max_width'], $configshop['img_max_height']);
if($skin_css!=''){ echo $skin_css; } else { ?> <style> .sit_view_tab_fix { position:fixed;top:0px;} #sit_ov_wrap:after {display:block;visibility:hidden;clear:both;content:"";}
.point::before {content:"";display:inline-block;width:18px;height:15px;vertical-align:middle;background:url('<?php echo $cur_img_url;?>/item.png') no-repeat;} .dotline {height:13px;background:url('<?php echo $cur_img_url;?>/dotline.png') 0 6px no-repeat;} .more::after {content:"";display:inline-block;width:16px;height:30px;margin-left:5px;vertical-align:middle;background:url('<?php echo $cur_img_url;?>/location.png') 0 -45px no-repeat;}
.wish_ico_off { background:url('<?php echo $cur_img_url;?>/item.png') 0 -88px no-repeat; } .wish_ico_on { background:url('<?php echo $cur_img_url;?>/item.png') 0 -138px no-repeat; } </style> <?php } ?> <div class="class_skin_idx_<?php echo $sk_idx;?>"> <div id="sit" class="pt20 gray_line_t "> <?php if($is_admin){?><a class="absolute ab_top_right box100_40 align_c l_height40 bg_custom1" href="<?php echo "{$j3_adm_url}/product_reg.php?code={$prodinfo['code']}";?>" target="_blank"><span class="white bold">상품관리</span></a><?php }?> <div id="sit_ov_wrap" class="block mb50" style="min-height:545px;height:auto !important;"> <div id="sit_pvi" class="block float_l mr50 width420" style="height:505px;"> <div id="sit_pvi_big" class="mb20"><img src="<?php echo $prodinfo['img_url'];?>" class='item_img_class'></div> <div id="sit_pvi_thumb" class="height65 img_list_class">
</div> </div><!-- 상품이미지끝 #sit_pvi -->
<div id="sit_ov" class="relative block float_l mr50 width480" style="height:auto !important;min-height:355px;"> <h2 class="mt40 pb15 gray_line_b"> <p class="mb10 title txt21"><?php echo $prodinfo['name']?></p> <p class="title txt14 gray2"><?php echo $prodinfo['remarks']?></p> </h2> <div id="sit_ov_icon" class="absolute ab_top_left mb10 height24"> <ul> <?php if($prodinfo['p_type1']==1){?><li class="float_l p3 mr5 bg_seagreen"><span class="white"><?php echo prod_type_rep_txt(1);?></span></li><?php }?> <?php if($prodinfo['p_type2']==1){?><li class="float_l p3 mr5 bg_cornblue"><span class="white"><?php echo prod_type_rep_txt(2);?></span></li><?php }?> <?php if($prodinfo['p_type3']==1){?><li class="float_l p3 mr5 bg_purple"><span class="white"><?php echo prod_type_rep_txt(3);?></span></li><?php }?> <?php if($prodinfo['p_type4']==1){?><li class="float_l p3 mr5 bg_violetred"><span class="white"><?php echo prod_type_rep_txt(4);?></span></li><?php }?> </ul> </div> <table class="sit_ov_tbl" class="width480"> <colgroup> <col class="width140"><col class="width340"> </colgroup> <tbody> <?php if($configshop['price_level']<=$cinfo['mb_lv']){ // 가격표시권한이 있을경우만?> <?php if($prodinfo['marketprice']>0 && $prodinfo['p_price_tel']!='1'){ // 시중가가 있을경우만 표시?> <tr> <th class="align_l txt14 height30 l_height30">시중가</th> <td class="l_height30"><span class="cost_hid gray2"><?php echo number_format($prodinfo['marketprice']);?></span>원</td> </tr> <?php }?> <tr> <th class="align_l txt14 height30 l_height30">판매가</th> <td class="l_height30"> <?php if($prodinfo['p_price_tel']=='1'){ echo "<span class='red cost2'>{$prodinfo['price_msg']}</span>"; } else { ?> <span class="red cost2"><?php echo number_format($prodinfo['saleprice']);?></span>원 <?php if($prodinfo['point']>0 && $configshop['po_use']=='1'){ // 포인트가 있을경우만 표시?> <span class="point ml10"><?php echo number_format($prodinfo['point']);?></span> <?php } } ?> </td> </tr> <?php }?> <tr> <th class="align_l txt14 height30 l_height30">배송비</th> <td class="l_height30"><?php echo $prodinfo['deli_txt'];?></td> </tr>
<tr><td colspan="2" class="dotline"></td></tr> <tr> <th class="align_l txt14 height30">규격/단위</th> <td class="l_height30"><?php echo $prodinfo['norm']?> / <?php echo $prodinfo['unit']?></td> </tr> <?php if($prodinfo['maker_code']>0){?> <tr class='<?php if($app_id=='europe0515'){ echo "none"; } // 유로상사일경우 제조사 숨김?>'> <th class="align_l txt14 height30 l_height30">제조사</th> <td class="l_height30"><?php echo $prodinfo['maker_name'];?><!--<a class="brand float_r" href='<?php echo "{$j3_shop_url}/brand.php?code={$prodinfo['maker_code']}";?>'><span class="more block pl5 box120_28 l_height28 gray_line">브랜드바로가기</span></a>--></td> </tr> <?php } ?> <?php if($prodinfo['p_origin']!=""){?> <tr> <th class="align_l txt14 height30 l_height30">원산지</th> <td class="l_height30"><?php echo $prodinfo['p_origin'];?><!--<a class="brand float_r" href='<?php echo "{$j3_shop_url}/brand.php?code={$prodinfo['maker_code']}";?>'><span class="more block pl5 box120_28 l_height28 gray_line">브랜드바로가기</span></a>--></td> </tr> <?php } ?> <?php if($prodinfo['p_expdate']!=""){?> <tr> <th class="align_l txt14 height30 l_height30">유통기한</th> <td class="l_height30"><?php echo $prodinfo['p_expdate'];?><!--<a class="brand float_r" href='<?php echo "{$j3_shop_url}/brand.php?code={$prodinfo['maker_code']}";?>'><span class="more block pl5 box120_28 l_height28 gray_line">브랜드바로가기</span></a>--></td> </tr> <?php } ?> <?php if($prodinfo['opt_yn']==1 && $prodinfo['p_price_tel']!='1'){ // 옵션상품일경우 ?> <tr><td colspan="2" class="dotline"></td></tr> <tr> <th class="align_l txt14 height30 l_height30">상품선택</th> <td class="l_height30"> <div class="sit_ov_sel relative box340_30 gray_line" style="background:url('<?php echo $cur_img_url;?>/location.png') -20px -85px no-repeat;"> <label for="opt" class="absolute ab_top_left10 width300 ellipsis pointer label_class" id='label_id' >선택</label> <select id="opt" title="옵션선택" class="width_full height30 l_height30 p0_10 opacity0 pointer"> <option value=''> 선택 </option> <?php $jego_cnt = 0; foreach($opt_array as $key=>$opt){ if($opt['p_soldout']!='1'){ if($opt['jego']>0){ $jego_cnt += $opt['jego']; } } ?> <option value='<?php echo $opt['code']?>'> <?php echo $opt['name']." ".$opt['opt_price'];?> <?php if($opt['jego']<"0" || $opt['p_soldout']==1){ echo "[품절]"; } else { if($configshop['qty_hidden']!='1'){ echo "[재고:".number_format($opt['jego'])."]"; } } ?> </option> <?php } if($jego_cnt=='0'){ $is_soldout = true; } ?> </select> </div> </td> </tr> <?php } else { // 일반상품일경우 재고 표시?> <?php if($configshop['qty_hidden']!='1'){?> <tr> <th class="align_l txt14 height30 l_height30">재고</th> <td class="l_height30"><?php echo $prodinfo['jego'];?>개</td> </tr> <?php }?> <?php }?> <?php if(count($addopt_array)>0 && $prodinfo['p_price_tel']!='1'){ ?> <tr><td colspan="2" class="dotline"></td></tr> <tr> <th class="align_l txt14 height30">추가구성상품</th> <td class="l_height30"> <div class="sit_ov_sel relative box340_30 gray_line" style="background:url('<?php echo $cur_img_url;?>/location.png') -20px -85px no-repeat;"> <label for="opt_add" class="absolute ab_top_left10 width300 ellipsis pointer">선택</label> <select id="opt_add" title="옵션선택" class="width_full height30 l_height30 p0_10 opacity0 pointer"> <option value=''> 선택 </option> <?php foreach($addopt_array as $key=>$opt){ ?> <option value='<?php echo $opt['code']?>'> <?php echo $opt['name']." +".$opt['saleprice'];?>원 <?php if($opt['jego']<"0" || $opt['p_soldout']==1){ echo "[품절]"; } else { if($configshop['qty_hidden']!='1'){ echo "[재고:".number_format($opt['jego'])."]"; } } ?> </option> <?php } ?> </select> </div> </td> </tr> <?php } ?> </tbody> </table> <form name='item_cart_form' id='item_cart_form' method='post'> <!-- 옵션 선택 항목이 이곳에 표시됨 --> <input type='hidden' name='code' value='<?php echo $prodinfo['code'];?>'> <input type='hidden' name='ct_name' value='<?php echo $prodinfo['name'];?>'> <input type='hidden' name='ct_price' value='<?php echo $prodinfo['saleprice'];?>'> <input type='hidden' name='dmode' value=''> <div class='opt_sel_class'> </div> <!-- .opt_sel_class end--> </form>
<div id="sit_tot_price" class="mt20">총 상품금액 : <div class="float_r"><span class="gray">옵션 총수량 <span class='all_qty_class'>0</span>개 │</span><span class="ml10 cost2 all_price_class <?php if($configshop['price_level']>$cinfo['mb_lv']){ echo "screen_out"; }?>">0</span>원</div> </div>
<!--<div id="sit_ov_soldout" class="mt20 red align_c txt15 bold">상품의 재고가 부족하여 구매할 수 없습니다.</div>-->
<div id="sit_ov_btn" class="block mt20"> <?php if($is_soldout){?> <input type="submit" value="품절상품입니다." class="float_l box380_50 mr15 white txt15 bold line0 bg_custom3 pointer"/> <?php } else {?> <input type="submit" id="sit_btn_buy" value="바로구매" class="float_l box230_50 mr15 white txt15 bold line0 bg_custom1 pointer"/> <input type="submit" id="sit_btn_cart" value="장바구니" class="float_l box170_50 mr15 white txt15 bold line0 bg_custom3 pointer"/> <?php }?> <a id="sit_btn_wish" title="위시리스트" class="box50 txt15 bg_custom4 <?php if($hasWishcnt>0){?>wish_ico_on<?php } else {?>wish_ico_off<?php }?>" ><span class="screen_out">위시리스트</span></a> </div> </div><!-- 상품상세끝 #sit_ov -->
<div id="sit_rel" class="relative block float_l width200" style="height:auto !important;min-height:500px;"> <h2 class="pb10 mb10 txt15 gray_line_b">관련상품</h2> <ul id="sit_rel_list">
</ul> </div><!-- 관련상품끝 #sit_rel --> <!--<div id="sit_siblings">이전상품 / 다음상품</div>--> </div><!--#sit_ov_wrap--> </div><!--#sit--> </div> <script> $(function(){ }); </script>
|