예제 #1
0
파일: ajax.php 프로젝트: habypk/zocart
 public static function loadItem()
 {
     $langId = Context::getContext()->language->id;
     $shopId = Context::getContext()->shop->id;
     $itemId = intval($_POST['itemId']);
     $groupId = intval($_POST['groupId']);
     $response = new stdClass();
     $module = new GroupCategory();
     $response->form = $module->ovicRenderItemForm($itemId, $groupId);
     $response->status = 1;
     die(Tools::jsonEncode($response));
 }