Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
goodsshare_www_encrypt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
goodmorning
goodsshare
goodsshare_www_encrypt
Commits
adb2d534
Commit
adb2d534
authored
Jan 05, 2022
by
platyhouse
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- encrypted
parent
92e98cd9
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
16 deletions
+39
-16
modules/ptyshop/ptyshop.kmclub.common.controller.php
modules/ptyshop/ptyshop.kmclub.common.controller.php
+0
-0
modules/ptyshop/ptyshop.product.edit.admin.view.html
modules/ptyshop/ptyshop.product.edit.admin.view.html
+39
-16
modules/ptyshop/ptyshop.products.admin.controller.php
modules/ptyshop/ptyshop.products.admin.controller.php
+0
-0
modules/ptyshop/ptyshop.products.common.model.php
modules/ptyshop/ptyshop.products.common.model.php
+0
-0
No files found.
modules/ptyshop/ptyshop.kmclub.common.controller.php
View file @
adb2d534
No preview for this file type
modules/ptyshop/ptyshop.product.edit.admin.view.html
View file @
adb2d534
...
...
@@ -49,8 +49,10 @@ namespace platyFramework;
<?= $form->getSelect("오늘 출발 노출 여부", "isTodayDelivery", ["노출" => 1, "비노출" => 0]) ?>
<?= $form->getSelect("홈 노출 여부", "isHomeVisible", ["노출" => 1, "비노출" => 0]) ?>
<?= $form->getInput("짧은글 링크 주소", "shortUrl") ?>
<!-- -->
<?//= $form->getInput("카테고리1", "category"); ?>
<!-- -->
<?//= $form->getInput("카테고리2", "category2"); ?>
<!-- -->
<? //= $form->getInput("카테고리1", "category");
?>
<!-- -->
<? //= $form->getInput("카테고리2", "category2");
?>
<?= $form->getTextEdit("상품설명", "desc"); ?>
<?
$optionByForm = json_decode($item->optionByForm, true);
...
...
@@ -75,7 +77,28 @@ namespace platyFramework;
</div>
<? } ?>
<?= $form->getTextView("상품원본정보", print_r(json_decode($item->json, true), true)); ?>
<div
class=
"form-group"
>
<label
class=
"col-sm-2 control-label"
></label>
<div
class=
"col-sm-10"
>
<button
type=
"button"
class=
"btnRefreshItem btn btn-warning"
>
굿즈쉐어 센터로부터 상품 정보 갱신
</button>
<script>
$
(
"
.btnRefreshItem
"
).
click
(
function
()
{
// itemId = $(this).attr("itemId");
if
(
confirm
(
"
주요 상품 정보를 갱신하시겠습니까? 상품명, 상품 정보, 소비자가, 판매가, 배송비 유형, 재고수가 갱신됩니다.
"
))
{
<
?
/** @see ptyshopProductsController::refreshItem() */
?
>
ptyPost
(
"
<?=$this->request->appUrl?>/ptyshop/products/refreshItem/
"
,
{
id
:
<
?
=
$item
->
id
?
>
,
returnCode
:
"
json
"
},
function
(
result
)
{
if
(
result
==
true
)
{
window
.
location
.
reload
();
}
});
}
});
</script>
</div>
</div>
</div>
<div
class=
"box-footer"
>
<button
type=
"submit"
class=
"btn btn-primary"
>
저장
</button>
...
...
modules/ptyshop/ptyshop.products.admin.controller.php
View file @
adb2d534
No preview for this file type
modules/ptyshop/ptyshop.products.common.model.php
View file @
adb2d534
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment