[관리자] 쇼핑몰 분류관리에서 모바일 이미지 크기 조절
현재 영카트의 모바일 이미지의 폭과 높이를 설정하려면 아래와 같습니다.
관리자 > 분류관리 > 수정하고자하는 분류의 수정 > 값변경 > 저장
... 이렇게 분류를 하나씩 찾아다니면서 수정을 해야합니다.
... 게시판 설정의 전체 분류를 한번에 수정하게 해주는 기능을 없죠
이것을 위와 같은 모습으로 개선하는 팁입니다.
1-1. 영카트5 / adm / shop_admin / categorylist.php 111~ 112줄
<th scope="col" id="sct_imgw">이미지 폭</th>
<th scope="col" id="sct_imgh">이미지 높이</th>
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ 변경 ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
<th scope="col" id="sct_imgw">이미지 폭/모바일</th>
<th scope="col" id="sct_imgh">이미지 높이/모바일</th>
1-2. 영카트5 / adm / shop_admin / categorylist.php 184 ~ 189줄
<label for="ca_out_width<?php echo $i; ?>" class="sound_only">출력이미지 폭</label>
<input type="text" name="ca_img_width[<?php echo $i; ?>]" value="<?php echo get_text($row['ca_img_width']); ?>" id="ca_out_width<?php echo $i; ?>" required class="required frm_input" size="3" > <span class="sound_only">픽셀</span>
</td>
<td headers="sct_imgh" class="td_output">
<label for="ca_img_height<?php echo $i; ?>" class="sound_only">출력이미지 높이</label>
<input type="text" name="ca_img_height[<?php echo $i; ?>]" value="<?php echo $row['ca_img_height']; ?>" id="ca_img_height<?php echo $i; ?>" required class="required frm_input" size="3" > <span class="sound_only">픽셀</span>
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ 변경 ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
<label for="ca_out_width<?php echo $i; ?>" class="sound_only">출력이미지 폭</label>
<input type="text" name="ca_img_width[<?php echo $i; ?>]" value="<?php echo get_text($row['ca_img_width']); ?>" id="ca_out_width<?php echo $i; ?>" required class="required frm_input" size="3" > / <input type="text" name="ca_mobile_img_width[<?php echo $i; ?>]" value="<?php echo get_text($row['ca_mobile_img_width']); ?>" id="ca_mobile_img_width<?php echo $i; ?>" required class="required frm_input" size="3" > <span class="sound_only">픽셀</span>
</td>
<td headers="sct_imgh" class="td_output">
<label for="ca_img_height<?php echo $i; ?>" class="sound_only">출력이미지 높이</label>
<input type="text" name="ca_img_height[<?php echo $i; ?>]" value="<?php echo $row['ca_img_height']; ?>" id="ca_img_height<?php echo $i; ?>" required class="required frm_input" size="3" > / <input type="text" name="ca_mobile_img_height[<?php echo $i; ?>]" value="<?php echo $row['ca_mobile_img_height']; ?>" id="ca_mobile_img_height<?php echo $i; ?>" required class="required frm_input" size="3" > <span class="sound_only">픽셀</span>
2. 영카트5 / adm / shop_admin / categorylistupdate.php 34줄
ca_stock_qty = '{$_POST['ca_stock_qty'][$i]}'
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ 변경 ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
ca_stock_qty = '{$_POST['ca_stock_qty'][$i]}', ca_mobile_img_width = '{$_POST['ca_mobile_img_width'][$i]}', ca_mobile_img_height= '{$_POST['ca_mobile_img_height'][$i]}'
관리자 > 분류관리 > 수정하고자하는 분류의 수정 > 값변경 > 저장
... 이렇게 분류를 하나씩 찾아다니면서 수정을 해야합니다.
... 게시판 설정의 전체 분류를 한번에 수정하게 해주는 기능을 없죠
이것을 위와 같은 모습으로 개선하는 팁입니다.
1-1. 영카트5 / adm / shop_admin / categorylist.php 111~ 112줄
<th scope="col" id="sct_imgw">이미지 폭</th>
<th scope="col" id="sct_imgh">이미지 높이</th>
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ 변경 ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
<th scope="col" id="sct_imgw">이미지 폭/모바일</th>
<th scope="col" id="sct_imgh">이미지 높이/모바일</th>
1-2. 영카트5 / adm / shop_admin / categorylist.php 184 ~ 189줄
<label for="ca_out_width<?php echo $i; ?>" class="sound_only">출력이미지 폭</label>
<input type="text" name="ca_img_width[<?php echo $i; ?>]" value="<?php echo get_text($row['ca_img_width']); ?>" id="ca_out_width<?php echo $i; ?>" required class="required frm_input" size="3" > <span class="sound_only">픽셀</span>
</td>
<td headers="sct_imgh" class="td_output">
<label for="ca_img_height<?php echo $i; ?>" class="sound_only">출력이미지 높이</label>
<input type="text" name="ca_img_height[<?php echo $i; ?>]" value="<?php echo $row['ca_img_height']; ?>" id="ca_img_height<?php echo $i; ?>" required class="required frm_input" size="3" > <span class="sound_only">픽셀</span>
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ 변경 ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
<label for="ca_out_width<?php echo $i; ?>" class="sound_only">출력이미지 폭</label>
<input type="text" name="ca_img_width[<?php echo $i; ?>]" value="<?php echo get_text($row['ca_img_width']); ?>" id="ca_out_width<?php echo $i; ?>" required class="required frm_input" size="3" > / <input type="text" name="ca_mobile_img_width[<?php echo $i; ?>]" value="<?php echo get_text($row['ca_mobile_img_width']); ?>" id="ca_mobile_img_width<?php echo $i; ?>" required class="required frm_input" size="3" > <span class="sound_only">픽셀</span>
</td>
<td headers="sct_imgh" class="td_output">
<label for="ca_img_height<?php echo $i; ?>" class="sound_only">출력이미지 높이</label>
<input type="text" name="ca_img_height[<?php echo $i; ?>]" value="<?php echo $row['ca_img_height']; ?>" id="ca_img_height<?php echo $i; ?>" required class="required frm_input" size="3" > / <input type="text" name="ca_mobile_img_height[<?php echo $i; ?>]" value="<?php echo $row['ca_mobile_img_height']; ?>" id="ca_mobile_img_height<?php echo $i; ?>" required class="required frm_input" size="3" > <span class="sound_only">픽셀</span>
2. 영카트5 / adm / shop_admin / categorylistupdate.php 34줄
ca_stock_qty = '{$_POST['ca_stock_qty'][$i]}'
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ 변경 ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
ca_stock_qty = '{$_POST['ca_stock_qty'][$i]}', ca_mobile_img_width = '{$_POST['ca_mobile_img_width'][$i]}', ca_mobile_img_height= '{$_POST['ca_mobile_img_height'][$i]}'
댓글 5개
9년 전
1-1. 영카트5 / adm / shop_admin / categorylist.php 111~ 112줄
--> 최신버전은 97,98 줄 입니다
--> 최신버전은 97,98 줄 입니다
9년 전
1-2. 영카트5 / adm / shop_admin / categorylist.php 184 ~ 189줄
-> 최신버젼은 178줄 부터 시작합니다
-> 최신버젼은 178줄 부터 시작합니다
9년 전
2. 영카트5 / adm / shop_admin / categorylistupdate.php 34줄
ca_stock_qty = '{$_POST['ca_stock_qty'][$i]}'
--> 이게 신 버젼에는 없습니다
ca_stock_qty = '{$_POST['ca_stock_qty'][$i]}'
--> 이게 신 버젼에는 없습니다
9년 전
2014년 9월 출시된 영카트를 기준으로 정리된 것이라서 줄수 변동이 있었군요.
정보 감사합니다. ^^
정보 감사합니다. ^^
9년 전
아닙니다 고생해서 공개하신 분께 감사드립니다
게시판 목록
영카트5 팁자료실
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 431 | 1개월 전 | 117 | ||
| 430 | 1개월 전 | 153 | ||
| 429 | 1개월 전 | 177 | ||
| 428 |
선택과집중
|
1개월 전 | 222 | |
| 427 |
선택과집중
|
2개월 전 | 377 | |
| 426 |
비버팩토리
|
2개월 전 | 349 | |
| 425 |
선택과집중
|
2개월 전 | 255 | |
| 424 |
선택과집중
|
2개월 전 | 383 | |
| 423 |
선택과집중
|
2개월 전 | 355 | |
| 422 |
선택과집중
|
3개월 전 | 321 | |
| 421 |
선택과집중
|
3개월 전 | 373 | |
| 420 | 3개월 전 | 409 | ||
| 419 |
선택과집중
|
3개월 전 | 352 | |
| 418 |
세르반데스
|
3개월 전 | 321 | |
| 417 |
선택과집중
|
3개월 전 | 405 | |
| 416 |
선택과집중
|
4개월 전 | 319 | |
| 415 |
선택과집중
|
4개월 전 | 355 | |
| 414 |
선택과집중
|
4개월 전 | 366 | |
| 413 |
선택과집중
|
4개월 전 | 452 | |
| 412 |
선택과집중
|
5개월 전 | 396 | |
| 411 |
선택과집중
|
5개월 전 | 305 | |
| 410 |
다케미카코
|
7개월 전 | 819 | |
| 409 |
다케미카코
|
7개월 전 | 573 | |
| 408 | 7개월 전 | 556 | ||
| 407 |
|
9개월 전 | 914 | |
| 406 | 10개월 전 | 1006 | ||
| 405 |
|
10개월 전 | 546 | |
| 404 | 1년 전 | 1260 | ||
| 403 | 1년 전 | 731 | ||
| 402 | 1년 전 | 765 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기