Jump to content

OpenCart City

Members
  • Posts

    25
  • Joined

  • Last visited

Everything posted by OpenCart City

  1. Hello, Is there anyone who can help us to solve the issue? Thanks!
  2. Hello, Is there anyone who can help us to solve the issue? Thanks!
  3. Hello, Is there anyone who can help us to solve the issue? Thanks!
  4. Hello, Yes, it is saved properly. We have checked it multiple times. Thanks!
  5. Hello, Custom module menus are not displaying for all users/profile except superadmin. Thanks!
  6. Hello, We have created one profile and employee and set the permission. We are able to see all pages except our customer modules. Although we have provided the permissions and when we are trying to access pages via direct links, it is working. So can anyone help us to get the menus? Thanks!
  7. Hello, We are trying to set multiple select option in select box but getting the issue. So below is the code we are trying to use: array( 'type' => 'select', 'multiple' => true, 'label' => $this->l('Test'), 'name' => 'TEST', 'options' => array( 'query' => array( array('id' => 'demo', 'name' => 'demo'), array('id' => 'dummy', 'name' => 'dummy'), ), 'id' => 'id', 'name' => 'name', ) ), We are getting the undefined index issue. So please can some one correct this code. Thanks!
  8. Hello, Thank you for your response. We have tried both the solutions but didn't worked for us. 1. When we change the quantity in $this->fields_list as a.quantity or sa.quantity, it is not displaying any quantity. We are getting only -- in this column. 2. When we add sa.quantity AS qty and change fields_list from quantity to qty it is giving the error "Unknown column 'qty' in 'where clause'". So please check and provide some solution. Thanks!
  9. Hello, We are trying to create controller in admin side and created successfully. We have added below code to get the product fields: $this->_select .= 'sa.quantity'; $this->_join = 'LEFT JOIN ' . _DB_PREFIX_ . 'stock_available sa ON (a.id_product = sa.id_product)'; $this->fields_list = array( 'id_product' => array( 'title' => $this->l('PrestaShop Product ID'), ), 'quantity' => array( 'title' => $this->l('Quantity') ), ); But when we try to filter by quantity then getting the error "Column 'quantity' in where clause is ambiguous". We know the reason of this error. The reason is quantity field is present in both product and stock_available tables. So please let us know the solution. Thanks!
  10. Hello, We are trying to add module zip but always getting the message Your .zip name is already used in an other module. Please someone help us. Thanks!
  11. Hello, Is there any hook that executes after admin updates the customer? Thanks!
  12. Hello, Thank you for your help. It worked. Can you please help us with https://validator.prestashop.com/auth/login. We are unable to login here. Thanks!
  13. Hello, We are trying to add module zip in seller account but always getting the message "No product key found in this file!". So please let us know where we should add this product key. We can see the product key while adding zip. Thanks!
  14. Hello, The $url and $post_data contains the correct value because URL is working in Postman. Thanks!
  15. Hello, Trying to use CURL in PS 1.7 but getting the error Port number ended with ':' Below is the CURL code: $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => $url, CURLOPT_RETURNTRANSFER => true, CURLOPT_CUSTOMREQUEST => "POST", CURLOPT_SSL_VERIFYHOST => false, CURLOPT_SSL_VERIFYPEER => false, CURLOPT_POSTFIELDS => $post_data, )); $response = json_decode(curl_exec($curl), 1); $err = curl_error($curl); curl_close($curl); Thanks!
  16. Hello, How to remove translate and check update button from custom module? We have attached an image also. Is there any way from which we may call the function from both admin and front end controller? Thanks!
  17. 1. Why it should be in front? We are creating back end controller. 2. We have checked the link but we are not looking for this. We want to display like customer list in prestashop. The main problem is in format.
  18. Hello, Thank you for your comment but our file is located under modules/test/controllers/admin/some.php. So, 1. Is the path correct? 2. We are able to get the data but main issue is while trying to display this data using table, it is not displaying in proper format. No bootstrap, css is applied. So please share one example for this. Thanks!
  19. Hello, I want to develop a simple module in which I've created few tables and configuration page. Now I want to display the data from these tables along with some default PS tables like customer etc. So how can I do that. I'm new to prestashop and tried many solutions and table is displaying but no proper layout. So please share one complete example. Thanks!
  20. Hello, I want to develop a simple module in which I've created few tables and configuration page. Now I want to display the data from these tables along with some default PS tables like customer etc. So how can I do that. I'm new to prestashop and tried many solutions and table is displaying but no proper layout. So please share one complete example. Thanks!
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More