Hi,
I only sell e-books in my store and I wanted a way for authors/publishers to be able to upload their own books. What I've done is I made changes to the attributes_controller.php file so that the Attributes Image Swatch browse button and Image Directory drop down box is now link directly to my download folder.
Now they can upload the files while still selecting the file format attributes. Normally the extra images you have uploaded via attributes will show up under the description and such of the product. I have edited the product_info template and removed that so it doesn't show.
Now what I would like to find out is...
When I select the file to upload, how do I get the file name that I selected to echo into the input field of the Filename? I assume a change needs to be made in the attributes_controller.php file around about line 1403.
Can anyone help me with that?


Reply With Quote
