Attribute Upload File
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?
By timestands in forum Setting Up Categories, Products, Attributes
Last Post: 12 Oct 2011, 09:40 PM
By rapid564 in forum General Questions
Last Post: 13 Sep 2010, 09:02 PM
By mwsebesta in forum Setting Up Categories, Products, Attributes
Last Post: 23 Sep 2009, 09:01 AM
By tee-dot in forum Templates, Stylesheets, Page Layout
Last Post: 24 Jul 2008, 05:52 PM
Content and Graphics Copyright (c) 2003 - 2013 Zen Ventures, LLC - all rights reserved
Zen Cart® is a Registered Trademark of Zen Ventures, LLC