Jump to content
vekia

[module] Customer files upload - add files to orders, accounts, checkout etc.

Recommended Posts

no, you can upload files only for products, like it is in default feature to upload images.

Share this post


Link to post
Share on other sites

Just a little "improvement".

add an icon before the text in the acount page.

 

In the file modules/ordefiles/views/templates/hook/my-account.tpl

add before <a href="{$link->getModuleLink('orderfiles', 'myfiles')}"....

 

<img src="http://www.monsite.fr/themes/montemplate/img/upload.gif" alt="Vos fichiers" class="icon">

 

here is the image

upload.gif

 

Hope it help a bit!

Share this post


Link to post
Share on other sites

Just a little "improvement".
add an icon before the text in the acount page.
 
In the file modules/ordefiles/views/templates/hook/my-account.tpl
add before <a href="{$link->getModuleLink('orderfiles', 'myfiles')}"....
 
<img src="http://www.monsite.fr/themes/montemplate/img/upload.gif" alt="Vos fichiers" class="icon">
 
here is the image
upload.gif
 
Hope it helps a bit!

Share this post


Link to post
Share on other sites

thank you, i will include this (if you agree) improvement to the nearest update :)

Share this post


Link to post
Share on other sites

Thank to you for you great modules !!!!!

I will be very proud if you put put this very small improvement in your module !

Share this post


Link to post
Share on other sites

Hi again!

another suggestion !!

Is it possible to have a separate text file when we download the files (when a comment is add to the files).

The best is to receive an email when the file is download (I know I am a bit repetitive!) with the description text in it !!

 

Thanks

Share this post


Link to post
Share on other sites

i don't get it.

when someone attach file.jpg - you are able to download.jpg

how you want to include... text file to jpg? ;)

Share this post


Link to post
Share on other sites

0_orderfile.png

here is an example with files (images) + description text. 

the idea is when you download the image file you have also a text file (or the possibility to just downlod the text with a button "download text"). 

What I miss much is to received an email of confirmation, when files are uploaded!!

 

Thanks

Share this post


Link to post
Share on other sites

new version of customer files upload module available

- updated translations for new ajax upload feature

Share this post


Link to post
Share on other sites

Hi,

 

 
With the default upload I can get a different image by combination.
 
qyhges.jpg
 
How is it possible ?
 
In customization table we have id_product_attribute.
Is there a way to add id_product_attribute in tables of the module ?
Edited by RomsWebDesign (see edit history)

Share this post


Link to post
Share on other sites

now this feature isn't available.

but in the nearest future it will be.

 

you can always modify it for own purposes, exactly as you suggested.

Share this post


Link to post
Share on other sites
Hi Vekia,

 

That is very good idea that you have added with the new featured as description field to each file, but as you can see when user makes uploading multi files it shows up a long list because each files are attached with description field. 

 

May i make some suggestion of these funtion, better you can add a new button  calling "Description" on the right side below "Delete" button. Once user wants add description to specific file than he/she click on these button and the description field will be opened near the file name as default now.

 

Hope that you can add these feature in the future.

 

Thank

Share this post


Link to post
Share on other sites

you can add the attributes of the files on the download page
 

I think you should add here:
orderfilestab5Controller.php line 281:
 

 <b>'.$file['product']->name.'</b> (<i>'.$file['filename'].'</i>)<br/>
         '.$file['description'].'

 

but I do not know how to retrieve attributes.

 

in some cases, the customer can buy the same product with two or more different attributes

Share this post


Link to post
Share on other sites

attributes feature is still under development, i will let you know here about update.

Share this post


Link to post
Share on other sites

compatible avec prestashop v1.6 ?

 

now not, but at the weekend will be :-)

MAJOR UPDATE

Share this post


Link to post
Share on other sites
updated! version 1.6.4.3 released

module supports prestashop in v1.6 now
  • Like 1

Share this post


Link to post
Share on other sites
new version released

- added new feature - now you can decide if you want to display upload form in shopping cart always, or only if it contains certain (selected by you) products

Share this post


Link to post
Share on other sites
new version released!

Now you can enable or disable upload form for unlogged customers 

Share this post


Link to post
Share on other sites

Hi Vekia

 

I bought the module last weekend

It is great

 

I have a doubt on how to "place it" in the right position

Maybe because i am using a template I see it different.

I need to have the uploader just below the product (as seen in the picture).

And (i think this is also due to the template) button of add description & delete are huge

 

If you could please tell me wich files to touch in order to change this i would very much appreciate.

 

thanks in advance

Share this post


Link to post
Share on other sites

i received your email, i will reply asap (i still have many unreplied topics in my support system)

thank you in advance for your patience

i will also reply here with detailed explanation

Share this post


Link to post
Share on other sites

Hey Vekia.

 

I´m surely going to buy this module, it will save me a great amount of time and looks great:)

 

Just have one question; is it possible to deny an order, or return an error if the customer does not upload a file for a product? in a simple way of course?...i know everything is possible

 

Regards,

NB

Edited by NBBO (see edit history)
  • Like 1

Share this post


Link to post
Share on other sites

new version released!

- new version contains: AJAX uploader for my account section

  • Like 1

Share this post


Link to post
Share on other sites
new version released

- possibility to definie how many files form will accept (various settings related to number of files)

Share this post


Link to post
Share on other sites

Hey Vekia.

 

I´m surely going to buy this module, it will save me a great amount of time and looks great:)

 

Just have one question; is it possible to deny an order, or return an error if the customer does not upload a file for a product? in a simple way of course?...i know everything is possible

 

Regards,

NB

 

Hello!

 

This feature could save my project... :)

Do you think it is possible, Vekia?

 

Thank you,

 

Cristina

Share this post


Link to post
Share on other sites

Hello!

 

This feature could save my project... :)

Do you think it is possible, Vekia?

 

Thank you,

 

Cristina

 

 

at the moment this feature is not available to set it up on module configuration page.

but it's possible with little workaround.

 

where you want to allow to upload files? cart? product page? everything depends on it ;-)

Share this post


Link to post
Share on other sites

okay thank you

i think that i can update it for this feature :-)

  • Like 1

Share this post


Link to post
Share on other sites

new version released!

- remove debug mode from module

- remove "download" buttons from order details page (not useful, they didn't work)

Share this post


Link to post
Share on other sites

hello!

 

i' m using your module - as i can see so far it' s working perfect. but there is one improvment which would be very useful for us - my workmates who just work on articles and orders don' t have administration rights, i set them on Status "Verkauf"/Sales - but then they don' t have access to the uploaded files (which would be definitely neccessary in our case) - or can i configure this anywhere?

 

lg sigls

Share this post


Link to post
Share on other sites

you can grant them access to module menu item.

just go to administration > permissions and for your employee group grant access to "files manager"

8PBjNW5.png

Share this post


Link to post
Share on other sites

thanks for your quick answer. i didn' t notice this site before thanks for the hint. i forgot to write that i work with 1.5.6.1 - but the rights management site looks very similar.

 

but - although all rights are set (i put them away and set them again) it does not work. any idea? i' ve tried sales & logistik both dont have access although they should have......

Share this post


Link to post
Share on other sites

but what doesnt work? you don't see tab? make sure that main "orders" tab is visible :-) (customer will see only menu item, will not be able to manage and see the orders)

Share this post


Link to post
Share on other sites

sry sry sry, i did not read your first post exactly. now i did, make the right settings and everything works as it should. thanks a lot!

Share this post


Link to post
Share on other sites

thank you for confirmation, i was affraid that there is something wrong with files manager tab :-)

Share this post


Link to post
Share on other sites

me again with a question. i activated ajax cart now - which is quite very cool - compliments! but how to change the button which does not fit my theme. send a pic which button i mean. i' ve searched all pics which are included in the orderfiles-module but didn' t find it?

 

thanks lg sigls

post-736905-0-75897000-1401789100_thumb.jpg

Share this post


Link to post
Share on other sites

Hey sigls.

 

You need to change the CSS file; .modules/orderfiles/css/ajaxuploader.css

 

Around line 79, u will find this:

 

ajax-file-upload {
    font-family: Arial,Helvetica,sans-serif;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
    height: 25px;
    margin: 0px 10px;
    display: inline-block;
    text-decoration: none;
    border-radius: 3px;
    padding: 6px 10px 4px;
    color: #FFF;
    background: none repeat scroll 0% 0% #2F8AB9;
    border: medium none;
    box-shadow: 0px 2px 0px 0px #13648D;
    vertical-align: middle;
}

 

Change the background color to fit your theme, you can also change the box-shadow or other properties

  • Like 2

Share this post


Link to post
Share on other sites
new version released!

- upgraded translations

  • Like 1

Share this post


Link to post
Share on other sites
new version released!

- added fixes related to installation procedure in prestashop 1607+

- updated translations (french)

  • Like 1

Share this post


Link to post
Share on other sites

I have just a couple of questions on this.

 

1. Does it work with Prestashop 1.6?

2. Can it be set so the customer uploads the file once the customer has paid for their order?

3. Can the admin upload files to this specific for each customer i.e. customer 1 we upload file 1, for customer 2 we upload file 2 etc so the customer can see it?

4. When either the customer or admin uploads a file, the other is notified, i.e. admin uploads a file, the customer receives an email telling them?

 

Sorry for all the questions, just want to make sure this does what I need it to before I purchase. 

 

Thanks in advance

Share this post


Link to post
Share on other sites

1) yes - it works with prestashop 1.6

2) at the moment no, but you can disable feature to upload on product pages, and in cart - then customer will be able to upload files only after order, it just means - customer will be able to upload files to his valid orders only

3) administrator can't upload files to orders, only customers

4) module send message about uploaded file

Share this post


Link to post
Share on other sites

Is there a way so that the admin could upload a file for a customer and sends an email to the customer using your module or nother way you may no of, either coding or module?

Share this post


Link to post
Share on other sites

so simply you want to:

- as admin add files to order 

- allow customers to view these files and download them 

 

right?

Share this post


Link to post
Share on other sites

Exactly and then if possible, when I add a file to the customers order it send them an automated email (although the email is more of a wishlist item).

Share this post


Link to post
Share on other sites

Hello, and thanks a lot for this nice plugin.

 

I wonder how to add 

- a title

- a description

- an order's product reference

 

in customer's backoffice form, just like in basket's upload form.

 

In fact, basket form works great (using ps_orderfiles_cart table), but it seems later uploads by customer in his own backoffice doens't implement these inputs (and files are stored in ps_orderfiles table, where title, description and idproduct are present and set to NULL)

 

I hope my explainations were clear enough, and answer is not trivial. I couldn't find one after a short search.

 

Regards,

 

Sebf

Share this post


Link to post
Share on other sites

Hello, and thanks a lot for this nice plugin.

 

I wonder how to add 

- a title

- a description

- an order's product reference

 

in customer's backoffice form, just like in basket's upload form.

 

In fact, basket form works great (using ps_orderfiles_cart table), but it seems later uploads by customer in his own backoffice doens't implement these inputs (and files are stored in ps_orderfiles table, where title, description and idproduct are present and set to NULL)

 

I hope my explainations were clear enough, and answer is not trivial. I couldn't find one after a short search.

 

Regards,

 

Sebf

 

hello Sebf,

so, simply you want possibility to add description and title also to form in "my account > file upload" section, 

right?

Share this post


Link to post
Share on other sites

Hello Vekia, and thanks for your message,

 

In fact I would first need to be able to link uploaded files to an order's products, like it's done in cart  upload form.

 

Title and descriptions are less important for my project, but I think they would be useful for some people.

 

 

To give you more precisions, I need for my project to make a mysql query that searches for new orders data, and creates an xml file containing these data + uploaded files that will be printed on order's products.

cart uploader was perfect for that, but I've been disappointed to see backoffice uploader doesn't offer this functionnality :)

 

 

As an addition, if I could make useful suggestions, I think :

 

- it could be interresting to change uploaded filenames for a unique id in order to avoid overwriting problems

 

- It maybe cool to offer (as a 4th upload option) a unified mode that manages uploads made when ordering (in cart ) and uploads made after ordering (in customer backoffice) (Right now, they are in 2 different tables, and stored in different folders - files/orderid and cartfiles/cartid).

I had to disable cart uploader because of this different usage : in Manager, files uploaded through cart have titles and descriptions, but not other files.

 

 

Thanks again for your answer, and sorry for this new long message :)

 

Regards,

 

Sebf

Share this post


Link to post
Share on other sites

Hello,

 

Do you think linking products to uploaded files in backoffice upload form is actually possible ?

 

Best regards,

 

SebF

Share this post


Link to post
Share on other sites
new version relesased!

we upgraded translations of the module (for languages available in module)

  • Like 1

Share this post


Link to post
Share on other sites

Hey Vekia,

 

the Module is working very well, but i miss the german translation.

 

In the description of the module i can see the german flag.. :) 

 

where do i find the file?

 

thank you!

Share this post


Link to post
Share on other sites

hello

what prestashop version you use?

some of the ps versions has got problems with module translations

let me know and i will send you proper file

 

with regards,

MIlos

Share this post


Link to post
Share on other sites

hello

what prestashop version you use?

some of the ps versions has got problems with module translations

let me know and i will send you proper file

 

with regards,

MIlos

Hello,

 

i use the version 1.6.0.8.

 

i only have those file in the translationfolder:

cs

es

fr

it

pl

 

but there is no de.. :)

  • Like 1

Share this post


Link to post
Share on other sites

Hello,


Same problem ! no DE Translation 


 


i use the version 1.6.0.8.


 


i only have those file in the translationfolder:


cs


es


fr


it


pl


 


but there is no de.


Share this post


Link to post
Share on other sites

Hey Nico,

 

i changed the following file by myself into de:

 

/modules/orderfiles/views/hook/*.tpl

 

Here is an example (shopping-cart.tpl):

<th>{l s='Produkt' mod='orderfiles'}</th>
<th>{l s='Dateiname' mod='orderfiles'}</th>
<th>{l s='Optionen' mod='orderfiles'}</th>

You Just have to find the Words to translate and then you have to override it with the german words (s='Produkt')

Share this post


Link to post
Share on other sites

i reuploaded all module files to server

please verify it now, de translation (also for new features) should be there

  • Like 1

Share this post


Link to post
Share on other sites
new version released

- uploaded missed translations, also translated missed parts of new features

Share this post


Link to post
Share on other sites

Probably a really simply question but I am still new to Prestashop. This module currently is shown on the summary cart page. How would I go about moving it so it was displayed on the shipping page of the order process and moving it above the shipping options instead of it being underneath it?

 

Thanks in advance 

Share this post


Link to post
Share on other sites

you have to change position of hook inside shopping-cart tpl files, it will be necessary to move hook there, where you want to display contents

Share this post


Link to post
Share on other sites

And how would I do that sorry, what would I exactly need to change on the shopping cart.tpl file where it is currently shown to the new tpl file? Never done it this way sorry, still learning.

 

Thanks

Share this post


Link to post
Share on other sites

Hello,

 

Sorry for coming back again with this question, but would it be possible for customer in his account to link uploaded files to particular products in his command ?

 

Uploaded files when ordering (in cart) are well linked to products, but if customer delays his uploads and makes them later, it seems there's no option to manage this relation.

 

Best regards,

Share this post


Link to post
Share on other sites

Hi Vekia, i buy this module few days ago in your website and i have few problems. I left a note on your contact page but assume you are busy in forums or you dont get the notification. Anyway, i cant use AJAX uploader "internal server error" with all files and with the classic sometimes i get "missing page" or "Not response 500". Im using Prestashop 1.6.0.5 on InMotion Housting (not dedicated) can you help me with that?

Share this post


Link to post
Share on other sites

Hello Vekya,

i have your " orderfiles " module, but i need not to assciate this module to categories but i only need that customer can upload pdf files about their shop documentation into their my account area.

i hope you can help me!

 

Best regards

tanzj

Share this post


Link to post
Share on other sites

Hello Vekya,

i have your " orderfiles " module, but i need not to assciate this module to categories but i only need that customer can upload pdf files about their shop documentation into their my account area.

i hope you can help me!

 

Best regards

tanzj

 

hello

can you shed some more light on your demand, please?

i will develop it for you but i need a little more explanation

 

what kind of feature you want?

 

 

 

 

Hi Vekia, i buy this module few days ago in your website and i have few problems. I left a note on your contact page but assume you are busy in forums or you dont get the notification. Anyway, i cant use AJAX uploader "internal server error" with all files and with the classic sometimes i get "missing page" or "Not response 500". Im using Prestashop 1.6.0.5 on InMotion Housting (not dedicated) can you help me with that?

change permission to php files located in module directory, it looks like your theme uses wrong permissions for these files

Share this post


Link to post
Share on other sites

hello vekia you're really kind,

I need that customers can simply upload some documents about their activities, no  relation to the categories

".My account - file upload - "  I bought the module hoping to adapt it to this function but i'm not able to.

Thank's a lot

tanzj

Share this post


Link to post
Share on other sites

hello vekia you're really kind,

I need that customers can simply upload some documents about their activities, no  relation to the categories

".My account - file upload - "  I bought the module hoping to adapt it to this function but i'm not able to.

Thank's a lot

tanzj

 

that's not a problem

currently im testing new feature

customers can upload files in their 'my-account' section

and this upload form is not related to order ! :) :) 

after several tests i will release new version

Hi Vekia, i buy this module few days ago in your website and i have few problems. I left a note on your contact page but assume you are busy in forums or you dont get the notification. Anyway, i cant use AJAX uploader "internal server error" with all files and with the classic sometimes i get "missing page" or "Not response 500". Im using Prestashop 1.6.0.5 on InMotion Housting (not dedicated) can you help me with that?

 

i replied to your email, btw.

did you saw my reply here? :(

Share this post


Link to post
Share on other sites

Hi, i buyed and Installed your Module 10 Minutes ago. In the Module view is everything fine, i can acess and set everything. But in the product view if i click on the "Tab" Ibo-Upload, the site stays white and then there is a error message "Loading not correct..."

 

Do you have an Idea why this happens?

Edited by mediakom (see edit history)

Share this post


Link to post
Share on other sites

Hi, i buyed and Installed your Module 10 Minutes ago. In the Module view is everything fine, i can acess and set everything. But in the product view if i click on the "Tab" Ibo-Upload, the site stays white and then there is a error message "Loading not correct..."

 

Do you have an Idea why this happens?

 

Jack

 

please share url to your website

you can do it here or if you want directly to me at support [at] mypresta [dot] eu

cases like that need an inspection

Share this post


Link to post
Share on other sites
new major upgrade of spanish translations!

new version available to download!

Share this post


Link to post
Share on other sites

Hi Vekia

 

I am wondering if your module

 

- support multi-store?

- add watermark to uploaded file? if image

Share this post


Link to post
Share on other sites

Hi Vekia,

I have somes quastions for you:

 - I have a problem with the ajax fonction when the smartcache CSS is enable. (www.impression-rollup.fr the check out page). No problem when the ajax option is disable.

 - Is it now possible to received an email when a customer is uploading a file?

 - I thought the update of the addon was unlimited, but it is not possible to download the last version. Is it normal?

 

Thanks a lot

 

Patrick

 

prestashop 1.5.6.1

post-313132-0-28074400-1414079779_thumb.png

post-313132-0-30570500-1414079789_thumb.png

Share this post


Link to post
Share on other sites

cases like you described (ajax uploader) needs an inspection of shop (while ajax option is enabled)

is there any chance to see it?

 

if so, let me know, i will inspect it.

Share this post


Link to post
Share on other sites
 
 
btw. i checked your website and i see ajax upload:
24gypNw.png

Share this post


Link to post
Share on other sites

Yes I disable the CCC. I have others problem with it on my homepage!

 

Could you tell me how much it would cost me to make a complete check of my website?

 

contact (at) big-print (dot) fr

Share this post


Link to post
Share on other sites
new version released!

added feature to upload files as a shop administrator,

customers will be able to see and download these files from "my orders" page

 


  • Like 2

Share this post


Link to post
Share on other sites

Hi Vekia!

is it possible to received an email when a customer upload a file in is order?

 

Thanks,

Patrick

Share this post


Link to post
Share on other sites

1) module hasn't got email feature at the moment

2) yes it is possible to translate it to pt-BR


Hi friend. I'm brazilian buyer.

 

It's possible translate the module for PT-BR? thank's

 

yea, sure

module can be translated to any language you want.

Share this post


Link to post
Share on other sites

Hi, i buyed and Installed your Module 10 Minutes ago. In the Module view is everything fine, i can acess and set everything. But in the product view if i click on the "Tab" Ibo-Upload, the site stays white and then there is a error message "Loading not correct..."

 

Do you have an Idea why this happens?

 

Jack

 

ibo-upload is not mine module. i don't provide support for not mine modules.

Share this post


Link to post
Share on other sites

Hi Vekia,

 

I'm interested in this module, but I have two questions please:

Can we set the max number of upload to 1 (per product)?

Can we use an external image hosting api (like imageshack, imgur, or uploads.im), in order to avoid saturating database? It could be VERY usefull!

 

Thank you.

Regards.

Share this post


Link to post
Share on other sites

 hello ,

I've installed this module (v. 1.6.5.7) on my prestashop (v.1.5.4.0) , but it does not work : at the end of the loading bar comes the error

 

ERROR: Internal Server Error

 

I have tried with many file types , but the error is always the same.

 

files are allowed esp,cdr,jpg,png,tif,pdf,zip,rar but no charges

 

my web site: http://www.emmeadesign.it

 

how should I do?

 

thank you

Share this post


Link to post
Share on other sites

 hello ,

I've installed this module (v. 1.6.5.7) on my prestashop (v.1.5.4.0) , but it does not work : at the end of the loading bar comes the error

 

ERROR: Internal Server Error

 

I have tried with many file types , but the error is always the same.

 

files are allowed esp,cdr,jpg,png,tif,pdf,zip,rar but no charges

 

my web site: http://www.emmeadesign.it

 

how should I do?

 

thank you

 

it's a hosting error.

you're on aruba hosting and solution for this well know bug is here:

http://kb.aruba.it/KB/a210/permessi-obbligatori-da-attribuire-files-e-cartelle.aspx

 

please follow suggestions there for /modules/orderfiles/ directory and each .php file and directory there

  • Like 1

Share this post


Link to post
Share on other sites

I have a problem with the upload ajax

the bar fills in a few seconds, and not gradually

 

share url please i will check it

Share this post


Link to post
Share on other sites

Hi Vekia,

 

I'm interested in this module, but I have two questions please:

Can we set the max number of upload to 1 (per product)?

 

 

hello

module allows to define global "maximum" limit of files

you can specify it in 2 ways.

1) define it manually (for example:1, 2, 3, 4)

2) based on number of products in cart

 

 

Can we use an external image hosting api (like imageshack, imgur, or uploads.im), in order to avoid saturating database? It could be VERY usefull!

 

Thank you.

Regards.

 

no, it's not possible to use external services.

Share this post


Link to post
Share on other sites

Hi Vekia,

 

We would like to make the total number of files allowed different on a product-by-product basis. Are there any plans to make this feature available, or any way to achieve it right now?

 

Thanks

Share this post


Link to post
Share on other sites