Jump to content

SilviaPimenta

Members
  • Posts

    24
  • Joined

  • Last visited

Profile Information

  • First Name
    Sílvia
  • Last Name
    Pimenta

SilviaPimenta's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Good Morning, At this point I am looking to implement Kpis in a module in prestashop 1.6 that I am developing. My goal is to use "renderKpis ()", similar to what exists in the backoffice on the products page. Can someone tell me how to use it? I am posting on this post because someone from you may know how I can implement it in the module as desire. Thanks.
  2. Good Morning, I've been watching this post, and I have to accomplish something that I think what you have said is possible with the resolution here post. But I wanted to be sure. My case is as follows: -I want to insert a layered filter on the AdminProducts page, the page where you have the listing of all the products in my store, but I want this filtering to be saved for each person who accesses the backoffice (saves the filtering of each person), -And only wanted to be able to add at most 15 filters, "I also wanted the filters to be a bit different from the ones that already exist. Can I adapt this example to myself? Thank you for the clarification. PS: My version of prestashop is 1.6
  3. Good afternoon, I found that in this post they are trying to send email with attached files. My problem is, but only when I want to attach more than one file to my email. My code below works perfectly for a single file. I would like to know how I can modify my code to insert more than one file into the email. Thanks for any tips. Thank you. if(!isset($_FILES) or !($_FILES > 0)) { $this->_error .= $this->displayError($this->l('Invalid file')); } else { for($i=0; $i < count($_FILES['FILE']['name']); $i++) { $explode = explode('.', $_FILES['FILE']['name'][$i]); $ext = end($explode); if(!in_array($ext, array('pdf','doc', 'docx', 'rar', 'zip')) ) { $this->_error .= $this->displayError($this->l('Invalid file extension')); } else { $ftype[] = $_FILES['FILE']['type'][$i]; $fname[] = $_FILES['FILE']['name'][$i]; $ftmp[] = $_FILES['FILE']['tmp_name'][$i]; $fsize[] = $_FILES['FILE']['size'][$i]; } } } $files = $fname; $file_attachment = array(); for($x=0;$x<count($files);$x++) { $tmpFilePath[$x] = $ftmp[$x]; $newFilePath[$x] = dirname(__FILE__ ).'/import/' . $files[$x]; move_uploaded_file($tmpFilePath[$x], $newFilePath[$x]); $file = fopen($newFilePath[$x],"r"); $data = fread($file,$fsize[$x]); fclose($file); $data = $data; $file_attachment['name'] = $files[$x]; $file_attachment['mime'] = 'application/pdf'; $file_attachment['content'] = $data; } //$file_attachment = array('content' => $data, 'mime' => 'application/pdf', 'name' => $files); //var_dump($file_attachment);exit; $res = Mail::Send( $this->context->language->id, 'recibos', $subject, array('{message}' => $msg_html, $template_vars = false,), $to, $to_name, $from, $from_name, $file_attachment, null, $this->local_path.'mails/', null, null, $bcc, null );
  4. Good afternoon, I am developing a module in prestashop where I send emails to my clients with attachments, but I can not attach more than one file to an array.pdf file. I am exposing my doubts here because I noticed that they are also having problems with the array in the function Mail :: Send. And someone can give me some tip thanks. Thanks. Code: if(!isset($_FILES) or !($_FILES > 0)) { $this->_error .= $this->displayError($this->l('Invalid file')); } else { for($i=0; $i < count($_FILES['FILE']['name']); $i++) { $explode = explode('.', $_FILES['FILE']['name'][$i]); $ext = end($explode); if(!in_array($ext, array('pdf','doc', 'docx', 'rar', 'zip')) ) { $this->_error .= $this->displayError($this->l('Invalid file extension')); } else { $ftype[] = $_FILES['FILE']['type'][$i]; $fname[] = $_FILES['FILE']['name'][$i]; $ftmp[] = $_FILES['FILE']['tmp_name'][$i]; $fsize[] = $_FILES['FILE']['size'][$i]; } } } $files = $fname; for($x=0;$x<count($files);$x++) { $tmpFilePath[$x] = $ftmp[$x]; $newFilePath[$x] = dirname(__FILE__ ).'/import/' . $files[$x]; move_uploaded_file($tmpFilePath[$x], $newFilePath[$x]); $file = fopen($newFilePath[$x],"r"); $data = fread($file,$fsize[$x]); fclose($file); $data = $data; } $file_attachment = array('content' => $data, 'mime' => 'application/pdf', 'name' => $files); $res = Mail::Send( $this->context->language->id, 'recibos', $subject, array('{message}' => $msg_html, $template_vars = false,), $to, $to_name, $from, $from_name, $file_attachment, null, $this->local_path.'mails/', null, null, $bcc, null ); I am developing a module in prestashop where I send emails to my clients with attachments, but I can not attach more than one file to an array.pdf file. I am exposing my doubts here because I noticed that they are also having problems with the array in the function Mail :: Send. And someone can give me some tip thanks. Thanks.
  5. Hello, I have a problem similar to the one above. My problem is that I need to add more than file in the email attachment, but I can not, I can upload the two attachments but I can not send it by email. My code is as follows: for ($i=0; $i <count($_FILES['FILE']['name']); $i++) { if(!isset($_FILES['FILE'][$i]) or !($_FILES['FILE']['size'][$i] > 0)) { $this->_error .= $this->displayError($this->l('Invalid file')); } $explode = explode('.', $_FILES['FILE']['name'][$i]); $ext = end($explode); if(!in_array($ext, array('pdf','doc', 'docx', 'rar', 'zip')) ) { $this->_error .= $this->displayError($this->l('Invalid file extension')); } else { $tmpFilePath[$i] = $_FILES['FILE']['tmp_name'][$i]; if ($tmpFilePath != ""){ $newFilePath[$i] = dirname(__FILE__ ).'/import/' . $_FILES['FILE']['name'][$i]; if(move_uploaded_file($tmpFilePath[$i], $newFilePath[$i])) { $file_name[$i] = $_FILES['FILE']['name'][$i]; $file_size[$i] = $_FILES['FILE']['size'][$i]; $tmp_name[$i] = $_FILES['FILE']['tmp_name'][$i]; $file_type[$i] = $_FILES['FILE']['type'][$i]; // attachment $handle = fopen($newFilePath[$i], "r"); $content = fread($handle, $file_size[$i]); fclose($handle); $content = $content; } } } } $sql1 = 'SELECT `envio_recibo` FROM `'._DB_PREFIX_.'contabilidade_faturacao` WHERE `id_contabilidade_faturacao` ='.$id_contabilidade_faturacao; $value = Db::getInstance()->ExecuteS($sql1); foreach($value as $key => $res) {$envio_recibo = $res['envio_recibo'];} if($envio_recibo == 0) { $res = Mail::Send( $this->context->language->id, 'recibos', $subject, array('{message}' => $msg_html, $template_vars = false,), $to, $to_name, $from, $from_name, array('content' => $content, 'mime' => 'application/pdf', 'name' => $file_name[$i]), null, $this->local_path.'mails/', null, null, $bcc, null ); (continue) Do not call my texts because I am Portuguese and they are Portuguese. Can someone give me a hand? Hello, I have a problem similar to the one above. My problem is that I need to add more than file in the email attachment, but I can not, I can upload the two attachments but I can not send it by email. My code is as follows: Can someone give me a hand?
  6. Hello, I am developing a module that among other functions I want to send me an email to the client that I selected and with the files they attach. When I upload files through code: $ Fields_form = array ( 'Form' => array ( 'Legend' => array ( 'Title' => $ this-> l ('Email Receipt Form'). '=> Client Name:'. $ Name_customer. ' - Email: '. $ Email_customer.' - Client language: '. $ Name_lang, 'Icon' => 'icon-cogs' ), 'Input' => array ( Array ( 'Type' => 'text', 'Label' => $ this-> l ('Email Client'), 'Name' => 'email', 'Search' => false, 'Orderby' => false, 'Align' => 'center', ), Array ( 'Type' => 'text', 'Label' => $ this-> l ('E-mail copy'), 'Name' => 'ACCOUNT_EMAIL', 'Search' => false, 'Orderby' => false, 'Align' => 'center', 'Desc' => $ this-> l ('Check if this is the email you want to send a copy of the email sent.') ), Array ( 'Type' => 'file', 'Label' => $ this-> l ('Attach documents'), 'Name' => 'FILE', 'Search' => false, 'Orderby' => false, 'Align' => 'center', 'Desc' => $ test, (to be continued) It works flawlessly, but only sends one attachment at a time. I wanted to now send more than one attachment through what I did in the following code: $ Fields_form = array ( 'Form' => array ( 'Legend' => array ( 'Title' => $ this-> l ('Email Receipt Form'). '=> Client Name:'. $ Name_customer. ' - Email: '. $ Email_customer.' - Client language: '. $ Name_lang, 'Icon' => 'icon-cogs' ), 'Input' => array ( Array ( 'Type' => 'text', 'Label' => $ this-> l ('Email Client'), 'Name' => 'email', 'Search' => false, 'Orderby' => false, 'Align' => 'center', ), Array ( 'Type' => 'text', 'Label' => $ this-> l ('E-mail copy'), 'Name' => 'ACCOUNT_EMAIL', 'Search' => false, 'Orderby' => false, 'Align' => 'center', 'Desc' => $ this-> l ('Check if this is the email you want to send a copy of the email sent.') ), Array ( 'Type' => 'file', 'Label' => $ this-> l ('Attach documents'), 'Name' => 'FILE', 'Search' => false, 'Orderby' => false, 'Align' => 'center', 'Desc' => $ test, 'Ajax' => true, 'Multiple' => true, ), (to be continued) Result: Unexpected token < in JSON at position 0 This code uploads multiple files but I can not get it to work. I can not get the second image code to work. Someone can help me"? Thank you
  7. Hello, I have a problem, which is not very similar but I wanted to upload multiple files. I am developing a module that among other functions I want to send me an email to the client that I selected and with the files they attach. When I upload files through code: $ Fields_form = array ( 'Form' => array ( 'Legend' => array ( 'Title' => $ this-> l ('Email Receipt Form'). '=> Client Name:'. $ Name_customer. ' - Email: '. $ Email_customer.' - Client language: '. $ Name_lang, 'Icon' => 'icon-cogs' ), 'Input' => array ( Array ( 'Type' => 'text', 'Label' => $ this-> l ('Email Client'), 'Name' => 'email', 'Search' => false, 'Orderby' => false, 'Align' => 'center', ), Array ( 'Type' => 'text', 'Label' => $ this-> l ('E-mail copy'), 'Name' => 'ACCOUNT_EMAIL', 'Search' => false, 'Orderby' => false, 'Align' => 'center', 'Desc' => $ this-> l ('Check if this is the email you want to send a copy of the email sent.') ), Array ( 'Type' => 'file', 'Label' => $ this-> l ('Attach documents'), 'Name' => 'FILE', 'Search' => false, 'Orderby' => false, 'Align' => 'center', 'Desc' => $ test, (to be continued) It works flawlessly, but only sends one attachment at a time. I wanted to now send more than one attachment through what I did in the following code: $ Fields_form = array ( 'Form' => array ( 'Legend' => array ( 'Title' => $ this-> l ('Email Receipt Form'). '=> Client Name:'. $ Name_customer. ' - Email: '. $ Email_customer.' - Client language: '. $ Name_lang, 'Icon' => 'icon-cogs' ), 'Input' => array ( Array ( 'Type' => 'text', 'Label' => $ this-> l ('Email Client'), 'Name' => 'email', 'Search' => false, 'Orderby' => false, 'Align' => 'center', ), Array ( 'Type' => 'text', 'Label' => $ this-> l ('E-mail copy'), 'Name' => 'ACCOUNT_EMAIL', 'Search' => false, 'Orderby' => false, 'Align' => 'center', 'Desc' => $ this-> l ('Check if this is the email you want to send a copy of the email sent.') ), Array ( 'Type' => 'file', 'Label' => $ this-> l ('Attach documents'), 'Name' => 'FILE', 'Search' => false, 'Orderby' => false, 'Align' => 'center', 'Desc' => $ test, 'Ajax' => true, 'Multiple' => true, ), (to be continued) This code uploads multiple files but I can not get it to work. I can not get the second image code to work. Someone can help me"? Thank you I have a problem, which is not very similar but I wanted to upload multiple files.
  8. Hello, I am developing a module that among other functions I want to send me an email to the client that I selected and with the files they attach. When I upload files through code: $ Fields_form = array ( 'Form' => array ( 'Legend' => array ( 'Title' => $ this-> l ('Email Receipt Form'). '=> Client Name:'. $ Name_customer. ' - Email: '. $ Email_customer.' - Client language: '. $ Name_lang, 'Icon' => 'icon-cogs' ), 'Input' => array ( Array ( 'Type' => 'text', 'Label' => $ this-> l ('Email Client'), 'Name' => 'email', 'Search' => false, 'Orderby' => false, 'Align' => 'center', ), Array ( 'Type' => 'text', 'Label' => $ this-> l ('E-mail copy'), 'Name' => 'ACCOUNT_EMAIL', 'Search' => false, 'Orderby' => false, 'Align' => 'center', 'Desc' => $ this-> l ('Check if this is the email you want to send a copy of the email sent.') ), Array ( 'Type' => 'file', 'Label' => $ this-> l ('Attach documents'), 'Name' => 'FILE', 'Search' => false, 'Orderby' => false, 'Align' => 'center', 'Desc' => $ test, (to be continued) It works flawlessly, but only sends one attachment at a time. I wanted to now send more than one attachment through what I did in the following code: $ Fields_form = array ( 'Form' => array ( 'Legend' => array ( 'Title' => $ this-> l ('Email Receipt Form'). '=> Client Name:'. $ Name_customer. ' - Email: '. $ Email_customer.' - Client language: '. $ Name_lang, 'Icon' => 'icon-cogs' ), 'Input' => array ( Array ( 'Type' => 'text', 'Label' => $ this-> l ('Email Client'), 'Name' => 'email', 'Search' => false, 'Orderby' => false, 'Align' => 'center', ), Array ( 'Type' => 'text', 'Label' => $ this-> l ('E-mail copy'), 'Name' => 'ACCOUNT_EMAIL', 'Search' => false, 'Orderby' => false, 'Align' => 'center', 'Desc' => $ this-> l ('Check if this is the email you want to send a copy of the email sent.') ), Array ( 'Type' => 'file', 'Label' => $ this-> l ('Attach documents'), 'Name' => 'FILE', 'Search' => false, 'Orderby' => false, 'Align' => 'center', 'Desc' => $ test, 'Ajax' => true, 'Multiple' => true, ), (to be continued) This code uploads multiple files but I can not get it to work. I can not get the second image code to work. Someone can help me"? Thank you
  9. Hello, I am developing a module that among other functions I want to send me an email to the client that I selected and with the files they attach. When I upload files through code: $ Fields_form = array ( 'Form' => array ( 'Legend' => array ( 'Title' => $ this-> l ('Email Receipt Form'). '=> Client Name:'. $ Name_customer. ' - Email: '. $ Email_customer.' - Client language: '. $ Name_lang, 'Icon' => 'icon-cogs' ), 'Input' => array ( Array ( 'Type' => 'text', 'Label' => $ this-> l ('Email Client'), 'Name' => 'email', 'Search' => false, 'Orderby' => false, 'Align' => 'center', ), Array ( 'Type' => 'text', 'Label' => $ this-> l ('E-mail copy'), 'Name' => 'ACCOUNT_EMAIL', 'Search' => false, 'Orderby' => false, 'Align' => 'center', 'Desc' => $ this-> l ('Check if this is the email you want to send a copy of the email sent.') ), Array ( 'Type' => 'file', 'Label' => $ this-> l ('Attach documents'), 'Name' => 'FILE', 'Search' => false, 'Orderby' => false, 'Align' => 'center', 'Desc' => $ test, (to be continued) It works flawlessly, but only sends one attachment at a time. I wanted to now send more than one attachment through what I did in the following code: $ Fields_form = array ( 'Form' => array ( 'Legend' => array ( 'Title' => $ this-> l ('Email Receipt Form'). '=> Client Name:'. $ Name_customer. ' - Email: '. $ Email_customer.' - Client language: '. $ Name_lang, 'Icon' => 'icon-cogs' ), 'Input' => array ( Array ( 'Type' => 'text', 'Label' => $ this-> l ('Email Client'), 'Name' => 'email', 'Search' => false, 'Orderby' => false, 'Align' => 'center', ), Array ( 'Type' => 'text', 'Label' => $ this-> l ('E-mail copy'), 'Name' => 'ACCOUNT_EMAIL', 'Search' => false, 'Orderby' => false, 'Align' => 'center', 'Desc' => $ this-> l ('Check if this is the email you want to send a copy of the email sent.') ), Array ( 'Type' => 'file', 'Label' => $ this-> l ('Attach documents'), 'Name' => 'FILE', 'Search' => false, 'Orderby' => false, 'Align' => 'center', 'Desc' => $ test, 'Ajax' => true, 'Multiple' => true, ), (to be continued) This code uploads multiple files but I can not get it to work. I can not get the second image code to work. Someone can help me"? Thank you
  10. Hello, I am developing a module that among other functions I want to send me an email to the client that I selected and with the files they attach. When I upload files through code: $ Fields_form = array ( 'Form' => array ( 'Legend' => array ( 'Title' => $ this-> l ('Email Receipt Form'). '=> Client Name:'. $ Name_customer. ' - Email: '. $ Email_customer.' - Client language: '. $ Name_lang, 'Icon' => 'icon-cogs' ), 'Input' => array ( Array ( 'Type' => 'text', 'Label' => $ this-> l ('Email Client'), 'Name' => 'email', 'Search' => false, 'Orderby' => false, 'Align' => 'center', ), Array ( 'Type' => 'text', 'Label' => $ this-> l ('E-mail copy'), 'Name' => 'ACCOUNT_EMAIL', 'Search' => false, 'Orderby' => false, 'Align' => 'center', 'Desc' => $ this-> l ('Check if this is the email you want to send a copy of the email sent.') ), Array ( 'Type' => 'file', 'Label' => $ this-> l ('Attach documents'), 'Name' => 'FILE', 'Search' => false, 'Orderby' => false, 'Align' => 'center', 'Desc' => $ test, (to be continued) It works flawlessly, but only sends one attachment at a time. I wanted to now send more than one attachment through what I did in the following code: $ Fields_form = array ( 'Form' => array ( 'Legend' => array ( 'Title' => $ this-> l ('Email Receipt Form'). '=> Client Name:'. $ Name_customer. ' - Email: '. $ Email_customer.' - Client language: '. $ Name_lang, 'Icon' => 'icon-cogs' ), 'Input' => array ( Array ( 'Type' => 'text', 'Label' => $ this-> l ('Email Client'), 'Name' => 'email', 'Search' => false, 'Orderby' => false, 'Align' => 'center', ), Array ( 'Type' => 'text', 'Label' => $ this-> l ('E-mail copy'), 'Name' => 'ACCOUNT_EMAIL', 'Search' => false, 'Orderby' => false, 'Align' => 'center', 'Desc' => $ this-> l ('Check if this is the email you want to send a copy of the email sent.') ), Array ( 'Type' => 'file', 'Label' => $ this-> l ('Attach documents'), 'Name' => 'FILE', 'Search' => false, 'Orderby' => false, 'Align' => 'center', 'Desc' => $ test, 'Ajax' => true, 'Multiple' => true, ), (to be continued) This code uploads multiple files but I can not get it to work. I can not get the second image code to work. Someone can help me"? Thank you
  11. Hello, I am developing a module that among other functions I want to send me an email to the client that I selected and with the files they attach. When I upload files through code: $ Fields_form = array ( 'Form' => array ( 'Legend' => array ( 'Title' => $ this-> l ('Email Receipt Form'). '=> Client Name:'. $ Name_customer. ' - Email: '. $ Email_customer.' - Client language: '. $ Name_lang, 'Icon' => 'icon-cogs' ), 'Input' => array ( Array ( 'Type' => 'text', 'Label' => $ this-> l ('Email Client'), 'Name' => 'email', 'Search' => false, 'Orderby' => false, 'Align' => 'center', ), Array ( 'Type' => 'text', 'Label' => $ this-> l ('E-mail copy'), 'Name' => 'ACCOUNT_EMAIL', 'Search' => false, 'Orderby' => false, 'Align' => 'center', 'Desc' => $ this-> l ('Check if this is the email you want to send a copy of the email sent.') ), Array ( 'Type' => 'file', 'Label' => $ this-> l ('Attach documents'), 'Name' => 'FILE', 'Search' => false, 'Orderby' => false, 'Align' => 'center', 'Desc' => $ test, (to be continued) It works flawlessly, but only sends one attachment at a time. I wanted to now send more than one attachment through what I did in the following code: $ Fields_form = array ( 'Form' => array ( 'Legend' => array ( 'Title' => $ this-> l ('Email Receipt Form'). '=> Client Name:'. $ Name_customer. ' - Email: '. $ Email_customer.' - Client language: '. $ Name_lang, 'Icon' => 'icon-cogs' ), 'Input' => array ( Array ( 'Type' => 'text', 'Label' => $ this-> l ('Email Client'), 'Name' => 'email', 'Search' => false, 'Orderby' => false, 'Align' => 'center', ), Array ( 'Type' => 'text', 'Label' => $ this-> l ('E-mail copy'), 'Name' => 'ACCOUNT_EMAIL', 'Search' => false, 'Orderby' => false, 'Align' => 'center', 'Desc' => $ this-> l ('Check if this is the email you want to send a copy of the email sent.') ), Array ( 'Type' => 'file', 'Label' => $ this-> l ('Attach documents'), 'Name' => 'FILE', 'Search' => false, 'Orderby' => false, 'Align' => 'center', 'Desc' => $ test, 'Ajax' => true, 'Multiple' => true, ), (to be continued) This code uploads multiple files but I can not get it to work. I can not get the second image code to work. Someone can help me"? Thank you
  12. Hello, I am developing a module that among other functions I want to send me an email to the client that I selected and with the files they attach. When I upload files through code: $ Fields_form = array ( 'Form' => array ( 'Legend' => array ( 'Title' => $ this-> l ('Email Receipt Form'). '=> Client Name:'. $ Name_customer. ' - Email: '. $ Email_customer.' - Client language: '. $ Name_lang, 'Icon' => 'icon-cogs' ), 'Input' => array ( Array ( 'Type' => 'text', 'Label' => $ this-> l ('Email Client'), 'Name' => 'email', 'Search' => false, 'Orderby' => false, 'Align' => 'center', ), Array ( 'Type' => 'text', 'Label' => $ this-> l ('E-mail copy'), 'Name' => 'ACCOUNT_EMAIL', 'Search' => false, 'Orderby' => false, 'Align' => 'center', 'Desc' => $ this-> l ('Check if this is the email you want to send a copy of the email sent.') ), Array ( 'Type' => 'file', 'Label' => $ this-> l ('Attach documents'), 'Name' => 'FILE', 'Search' => false, 'Orderby' => false, 'Align' => 'center', 'Desc' => $ test, (to be continued) It works flawlessly, but only sends one attachment at a time. I wanted to now send more than one attachment through what I did in the following code: $ Fields_form = array ( 'Form' => array ( 'Legend' => array ( 'Title' => $ this-> l ('Email Receipt Form'). '=> Client Name:'. $ Name_customer. ' - Email: '. $ Email_customer.' - Client language: '. $ Name_lang, 'Icon' => 'icon-cogs' ), 'Input' => array ( Array ( 'Type' => 'text', 'Label' => $ this-> l ('Email Client'), 'Name' => 'email', 'Search' => false, 'Orderby' => false, 'Align' => 'center', ), Array ( 'Type' => 'text', 'Label' => $ this-> l ('E-mail copy'), 'Name' => 'ACCOUNT_EMAIL', 'Search' => false, 'Orderby' => false, 'Align' => 'center', 'Desc' => $ this-> l ('Check if this is the email you want to send a copy of the email sent.') ), Array ( 'Type' => 'file', 'Label' => $ this-> l ('Attach documents'), 'Name' => 'FILE', 'Search' => false, 'Orderby' => false, 'Align' => 'center', 'Desc' => $ test, 'Ajax' => true, 'Multiple' => true, ), (to be continued) This code uploads multiple files but I can not get it to work. I can not get the second image code to work. Someone can help me"? Thank you
  13. Hello, I am implementing a module in prestashop version 1.6, where nese module I intend to attach files and send them by email. If I put this code in the form: array ( 'Type' => 'file', 'Label' => $ this-> l ('Attach documents'), 'Name' => 'FILE', 'Search' => false, 'Orderby' => false, 'Align' => 'center', It can send a file that you select, but you can not select multiple files, and I want to attach several files. Anyone know how I can do it? Thank you.
  14. Hello, I am implementing a module in prestashop version 1.6, where nese module I intend to attach files and send them by email. If I put this code in the form: array ( 'Type' => 'file', 'Label' => $ this-> l ('Attach documents'), 'Name' => 'FILE', 'Search' => false, 'Orderby' => false, 'Align' => 'center', It can send a file that you select, but you can not select multiple files, and I want to attach several files. Anyone know how I can do it? Thank you.
  15. Hello, I am implementing a module in prestashop version 1.6, where nese module I intend to attach files and send them by email. If I put this code in the form: array ( 'Type' => 'file', 'Label' => $ this-> l ('Attach documents'), 'Name' => 'FILE', 'Search' => false, 'Orderby' => false, 'Align' => 'center', It can send a file that you select, but you can not select multiple files, and I want to attach several files. Anyone know how I can do it? Thank you.
×
×
  • Create New...