묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
누리고 일괄 등록 문의드립니다.
2017.07.24 02:12
누리고 일괄등록을 사용중, 섬네일 부분과 상세내용부분이 같이 추가되면 편하지 않을까해서
나름대로 검색해서 구연을 해보았는데요.
전송값이 전송이 되지 않는다는점이 문제점이네요..
결국 겉보기용 폼이랄까요...
<thead> <tr> <th>{$lang->item_number}</th> <th>{$lang->item_code}</th> <th></th> <th>{$lang->item_name}</th> <th>{$lang->tax_or_not}</th> <th>{$lang->display_or_not}</th> <th>{$lang->price}</th> <th>{$lang->thumbnail}</th> <!--상세--> </tr> </thead> <tbody> {@$cnt=0} <tr loop="$update_list=>$item_code,$upd"> {@$val=$original_list[$item_code]} {@$org_taxfree=''} {@$org_display=''} <block cond="$val->taxfree=='Y'">{@$org_taxfree=$lang->no_taxation}</block> <block cond="$val->taxfree=='N'">{@$org_taxfree=$lang->taxation}</block> <block cond="$val->display=='Y'">{@$org_display=$lang->display}</block> <block cond="$val->display=='N'">{@$org_display=$lang->not_display}</block> <td><input type="hidden" name="item_srls[]" value="{$val->item_srl}"|cond="$val->item_srl" value="0"|cond="!$val->item_srl" />{++$cnt}</td> <td cond="$val->item_code"><input type="hidden" name="item_code[]" value="{$upd->item_code}" />{$val->item_code}</td> <td cond="!$val->item_code"><input type="text" name="item_code[]" style="width:120px;border:solid red 1px;" value="{$upd->item_code}" />{$val->item_code}</td> <td><a href="{getUrl('act','dispNstore_digitalAdminUpdateItem','item_srl',$val->item_srl)}"><span style="margin-right:6px;"><img src="{$val->getThumbnail(30)}" /></span></a></td> <td><div>{$val->item_name}<div><input type="text" name="item_name[]" style="border:solid red 1px;"|cond="$upd->item_name!=$val->item_name" value="{$upd->item_name}" /></td> <td><div>{$org_taxfree}</div><select name="taxfree[]" style="border:solid red 1px;"|cond="$upd->taxfree!=$val->taxfree"><option value="N" selected="selected"|cond="$upd->taxfree=='N'">{$lang->taxation}</option><option value="Y" selected="selected"|cond="$upd->taxfree=='Y'">{$lang->no_taxation}</option></select></td> <td><div>{$org_display}</div><select name="display[]" style="border:solid red 1px;"|cond="$upd->display!=$val->display"><option value="Y" selected="selected"|cond="$upd->display=='Y'">{$lang->display}</option><option value="N" selected="selected"|cond="$upd->display=='N'">{$lang->not_display}</option></select></td> <td><div cond="$val->price">{$val->price}</div><input type="text" name="price[]" style="width:50px"|cond="$upd->price==$val->price" style="width:50px;border:solid red 1px;"|cond="$upd->price!=$val->pricee" value="{$upd->price}" /></td> <td><input type="file" name="thumbnail_image" id="thumbnail_image" /></td> <!--섬네일--> </div>
섬네일 부분이라도 따서 넣어보려하는데 전송값이 없어서 그런건지.. 어떻게 해야될지 고민입니다
고수님들의 도움을 구해봅니다..