[YC5] $(달러) 쇼핑몰로 전환하기 .. (( 작업중 )) > 기술자료

본문 바로가기

사이트 내 전체검색

[YC5] $(달러) 쇼핑몰로 전환하기 .. (( 작업중 )) > 기술자료

영카트 [YC5] $(달러) 쇼핑몰로 전환하기 .. (( 작업중 ))

페이지 정보


본문

수정한 파일목록
1. / adm / shop_admin / itemform.php
2. / adm / shop_admin / itemoption.php
3. / js / shop.js
4. / lib / shop.lib.php
5. / shop / itemoption.php
6. / skin / shop / basic / item.form.skin.php


Ⅰ. phpMyAdmin 등에서 테이블의 필드속성 변경

1. g5_shop_item
it_cust_price  :  int(11)  →  float
it_price  :  int(11)  →  float
it_point  :  tinyint(4)  →  float
it_supply_point  :  int(11)  →  float
it_sc_price  :  int(11)  →  float
it_sc_minimum  :  int(11)  →  float

2. g5_shop_item_option
io_price  :  int(11)  →  float


Ⅱ. 판매가격 단위 변경

1. / adm / shop_admin / itemform.php

판매가격(530줄) / 시중가격(543줄) / 기본배송비(1149줄)  원  →  $ 로 변경


2. / adm / shop_admin / itemoption.php

80줄
$opt_price = (int)$row['io_price'];
↓↓↓↓
$opt_price = $row['io_price']; // 원 → 달러(USD) 변경


3. / js / shop.js

356줄
opt_prc = "(+"+number_format(String(price))+"원)";
↓↓↓↓
opt_prc = "(+$"+String(price)+")"; // 원 → 달러(USD) 변경

358줄
opt_prc = "("+number_format(String(price))+"원)";
↓↓↓↓
opt_prc = "($"+String(price)+")"; // 원 → 달러(USD) 변경

424줄
var it_price = parseInt($("input#it_price").val());
↓↓↓↓
var it_price = parseFloat($("input#it_price").val()); // 원 → 달러(USD) 변경

435줄
price = parseInt($(this).val());
↓↓↓↓
price = parseFloat($(this).val()); // 원 -> 달러(USD) 변경

446줄
$("#sit_tot_price").empty().html("총 금액 : "+number_format(String(total))+"원");
↓↓↓↓
$("#sit_tot_price").empty().html("총 금액 : $"+String(total.toFixed(2))+""); // 원 → 달러(USD) 변경


4. / lib / shop.lib.php

592줄
$price = number_format($price, 0).'원';
↓↓↓↓
$price = '$'.number_format($price, 2); // 원 → 달러(USD) 변경

608줄
return (int)$price;
↓↓↓↓
return $price; // 원 -> 달러(USD) 변경

615줄
return number_format($point, 0).'점';
↓↓↓↓
return number_format($point, 2).'점'; // 원 → 달러(USD) 변경

622줄
return (int)($amount * $point / 100);
↓↓↓↓
return ($amount * $point / 100); // 원 → 달러(USD) 변경

985줄
$price = '  + '.number_format($row['io_price']).'원';
↓↓↓↓
$price = '  + $'.number_format($row['io_price'],2); // 원 → 달러(USD) 변경

987줄
$price = '   '.number_format($row['io_price']).'원';
↓↓↓↓
$price = '   $'.number_format($row['io_price'],2); // 원 → 달러(USD) 변경

1034줄
$price = '  + '.number_format($row['io_price']).'원';
↓↓↓↓
$price = '  + $'.number_format($row['io_price'],2); // 원 → 달러(USD) 변경

1037줄
$price = '   '.number_format($row['io_price']).'원';
↓↓↓↓
$price = '   $'.number_format($row['io_price'],2); // 원 → 달러(USD) 변경

1555줄
$dc = floor(($tot_od_price * ($cp['cp_price'] / 100)) / $cp['cp_trunc']) * $cp['cp_trunc'];
↓↓↓↓
$dc = (floor((($tot_od_price * ($cp['cp_price'] / 100)) / $cp['cp_trunc'])*100)/100) * $cp['cp_trunc']; // 원 → 달러(USD) 변경

1583줄
$dc = floor(($send_cost * ($cp['cp_price'] / 100)) / $cp['cp_trunc']) * $cp['cp_trunc'];
↓↓↓↓
$dc = (floor((($send_cost * ($cp['cp_price'] / 100)) / $cp['cp_trunc'])*100)/100) * $cp['cp_trunc']; // 원 → 달러(USD)러 변경

1675줄
$it_point = floor(($it_price * ($it['it_point'] / 100) / $trunc)) * $trunc;
↓↓↓↓
$it_point = (floor((($it_price * ($it['it_point'] / 100) / $trunc))*100)/100) * $trunc; // 원 → 달러(USD) 변경

1768줄
$sendcost = (int)$ct['it_sc_price'] * $q;
↓↓↓↓
$sendcost = $ct['it_sc_price'] * $q; // 원 → 달러(USD) 변경

1826줄
$sendcost = (int)$it['it_sc_price'] * $q;
↓↓↓↓
$sendcost = $it['it_sc_price'] * $q; // 원 → 달러(USD) 변경


5. / shop / itemoption.php

43줄
$price = '  + '.number_format($row['io_price']).'원';
↓↓↓↓
$price = '  + $'.number_format($row['io_price'],2); // 원 → 달러(USD) 변경

45줄
$price = '   '.number_format($row['io_price']).'원';
↓↓↓↓
$price = '   $'.number_format($row['io_price'],2); // 원 → 달러(USD) 변경


6. / skin / shop / basic / item.form.skin.php

157줄
echo number_format($it_point).'점';
↓↓↓↓
echo number_format($it_point,2).'점'; // 원 → 달러(USD) 변경

264줄
<span class="sit_opt_prc">(+0원)</span>
↓↓↓↓
<span class="sit_opt_prc">(+$0)</span><!-- 원 → 달러(USD) 변경 -->

댓글목록

profile_image

hiohawaii님의 댓글

no_profile hiohawaii 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일

원>달러 표기 업데이트 된 영카트 파일 어디서 찾을수있나요?
(아미나 보드  사용중입니다.)

profile_image

관리자1님의 댓글의 댓글

관리자1 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 작성일

본문의 안내에 따라서 하나씩 직접 수정해야 합니다
별도 첨부파일은 제공하지 않습니다


Total 125건 4 페이지
  • RSS
기술자료 목록
열람
영카트   25325  2014-08-08 01:14 ~ 2021-08-26 15:47  
64
영카트   14336  2014-08-06 23:20  
63
영카트   14057  2014-08-05 18:57  
62
영카트   14814  2014-08-03 18:23  
61
영카트   14459  2014-07-17 15:54  
60
영카트   17774  2014-06-16 05:40 ~ 2017-02-09 00:00  
59
영카트   24505  2014-06-14 15:19  
58
영카트   14414  2014-05-22 19:53  
57
영카트   13294  2014-02-19 12:42  
56
영카트   17590  2014-02-19 12:37 ~ 2018-05-24 19:34  
55
영카트   17090  2013-12-17 13:54  
54
영카트   13243  2013-09-24 16:44  
53
영카트   12222  2013-06-23 01:49  
52
영카트   12897  2013-05-22 14:32  
51
영카트   18821  2013-03-13 14:20 ~ 2023-01-27 12:48  
50
영카트   14419  2013-01-09 17:57  
49
영카트   22154  2013-01-07 18:34  
48
영카트   28085  2012-07-16 20:51  
47
영카트   16506  2012-07-16 20:41  
46
영카트   17906  2012-04-07 14:13 ~ 2015-01-23 00:00  

검색

해피정닷컴 정보

회사소개 회사연혁 협력사 오시는길 서비스 이용약관 개인정보 처리방침

회사명: 해피정닷컴   대표: 정창용   전화: 070-7600-3500   팩스: 042-670-8272
주소: (34368) 대전시 대덕구 대화로 160 대전산업용재유통단지 1동 222호
개인정보보호책임자: 정창용   사업자번호: 119-05-36414
통신판매업신고: 제2024-대전대덕-0405호 [사업자등록확인]  
Copyright 2001~2026 해피정닷컴. All Rights Reserved.