Jump to content

Upload Files module /Module envoi de fichier


Recommended Posts

Hello,

 

I have a mission for you!

 

I just deployed a shop for printing on-line.

 

The customer is going to my site selects its product then it must send its graphics files as EPS, AI, PDF, JPG, ZIP, RAR. size limit to 500 MB

 

These files must be visible on the back office with a direct link in the e-mail that I receive when ordering.

 

I have found a basis that I paid $ 100, it Upload Files module. It's good but not enough as it is added when choosing the mode of delivery. I'd like to me it adds a step before or after the delivery method. I attached a screen-print of what I want.

 

Sincerely,

 

Paincuit

------------------------------------

Bonjour,

 

J'ai une mission pour vous !

 

Je viens de déployer une boutique pour imprimeur on-line.

 

Le client qui va sur mon site sélectionne son produit puis il doit envoyer ses fichiers graphiques au format EPS, AI, PDF, JPG, ZIP, RAR. taille limite à 500 MB

 

Ces fichiers doivent être visible sur le back office avec un lien direct dans l'e-mail que je reçois lors des commandes.

 

J'ai déjà trouvé une base que j'ai payé 100$, c'est Upload Files module. C'est bien mais pas assez car il s'ajoute au moment de choisir le mode de livraison. Moi j'aimerai qu'il ajoute une étape avant ou après le mode de livraison. Je vous joints un print-screen de ce que je voudrai.

 

Bien à vous,

 

Paincuit

post-307626-0-97566400-1324906985_thumb.jpg

Link to comment
Share on other sites

  • 3 weeks later...

Autant pour moi, j'ai trouvé ! http://prestasupport.com/fr/modules/32-file-upload-module.html

Mais effectivement quel dommage qu'il faille attendre la fin dun processus de commande pour uploader le visuel ! Quelqu'un sait-il quel raison technique empeche que des fichiers autres que .jpg .png et .gif puissent être chargés lors du choix d'un produit ?

Link to comment
Share on other sites

  • 5 years later...
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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...