Commit adb2d534 authored by platyhouse's avatar platyhouse

- encrypted

parent 92e98cd9
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment