Results 1 to 10 of 31

Hybrid View

  1. #1
    Join Date
    Jul 2008
    Location
    Paris, France
    Posts
    5
    Plugin Contributions
    0

    Default Attribute File Upload [REQUIRED]

    I'm desperately searching for a solution to my problem: My products require customers to upload files (customized merchandise).

    But Zen Cart 1.3.8 allows customers to put items in the cart without the mandatory upload. No test for the upload seems to be run, even though the attribute is "Required".

    Can anyone help, please?

    Many thanks!

  2. #2
    Join Date
    May 2008
    Location
    Pennsylvania
    Posts
    25
    Plugin Contributions
    0

    Default Re: Attribute File Upload

    Is the attribute for uploading a file only for images? I would like customers to be able to upload a text file or maybe a MS Word document. Is there a way to associate file types that are acceptable to upload (ie., .doc, pdf, .txt, etc.)?

    -Melissa

  3. #3
    Join Date
    May 2008
    Location
    Pennsylvania
    Posts
    25
    Plugin Contributions
    0

    Default Re: Attribute File Upload

    Ok, I finally found the answer to my question. I just couldn't remember where to find file types accepted to upload. It's under "Configuration", "Maximum Values" and then "Allowed Filename Extensions for uploading". I added the filename extensions I needed.

    -Melissa

  4. #4
    Join Date
    Jul 2008
    Location
    Paris, France
    Posts
    5
    Plugin Contributions
    0

    Default Re: Attribute File Upload

    Glad you found it. It's easy to set.

    But the upload function is buggy. I still haven't been able to make the upload required.

    And if a user tries to upload an unacceptable file type associated with a product, the error message displays in the cart... where the product has already been added.


    Franck
    Last edited by Franck; 24 Aug 2008 at 08:06 PM.

  5. #5
    Join Date
    May 2008
    Location
    Pennsylvania
    Posts
    25
    Plugin Contributions
    0

    Default Re: Attribute File Upload

    Thanks for replying. Do you know the file extension for a MS Word 2007 document? When I look under the file properties, it just says "MS Word Document". I've tried the .doc extension and the file is being rejected when I try to add it to my shopping cart for testing purposes.

    -Melissa

  6. #6
    Join Date
    May 2008
    Location
    Pennsylvania
    Posts
    25
    Plugin Contributions
    0

    Default Re: Attribute File Upload

    Yippie! Word 2007 uses the XML file format and uses the extension .docx. The file is no longer being rejected. I double checked and I can read the file too! It never hurts to check whether or not the file was saved without being corrupted.

    -Melissa

  7. #7
    Join Date
    Jul 2008
    Location
    Paris, France
    Posts
    5
    Plugin Contributions
    0

    Default Re: Attribute File Upload

    Quote Originally Posted by misscharlotte View Post
    Yippie! Word 2007 uses the XML file format and uses the extension .docx. The file is no longer being rejected.
    When you say the wrong file exension was rejected, can you tell me where the system was catching the error. If you choose a PDF file, for example, and then click Add To Cart, what happens? Does the error stop you on the product information page, or do you get directed to the Cart page with the item in the cart and NO FILE uploaded?

    This is the glitch I was referring to. If you're getting another behavior, I'd love to hear how it's working for you.

  8. #8
    Join Date
    Aug 2008
    Posts
    9
    Plugin Contributions
    0

    Default Re: Attribute File Upload

    Franck, did you ever figure out a way to make an upload required?

    I'm in the same boat as you...without a logo the order is basically incomplete, so I'd really like to make it required.

 

 

Similar Threads

  1. Thumbnail Preview of file after upload via Attribute File uploader?
    By NWFAP in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 7 Aug 2015, 03:40 AM
  2. v139h uploading artwork file (attribute) does not upload file
    By delia in forum General Questions
    Replies: 11
    Last Post: 1 Sep 2013, 08:41 PM
  3. File Upload Attribute - File Size Limit?
    By Genevieve in forum General Questions
    Replies: 2
    Last Post: 4 May 2010, 06:33 PM
  4. Attribute Upload File
    By leilanddale in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 26 Feb 2010, 06:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg