Ejemplo n.º 1
0
 /**
  * Method to give availale shipprofile against store.
  *
  * @since   2.2
  * @return   Json Plugin shipping methods list.
  */
 function qtcUpdateShipProfileList()
 {
     $app = JFactory::getApplication();
     $jinput = $app->input;
     $store_id = $jinput->get('store_id', 0, "INTEGER");
     $qtcshiphelper = new qtcshiphelper();
     $response['selectList'] = $qtcshiphelper->qtcLoadShipProfileSelectList($store_id, '');
     echo json_encode($response);
     $app->close();
 }