WordPress.org

Ready to get started?Download WordPress

Forums

FoxyShop
[resolved] "Make Field Required" Not Working for Custom File Upload (2 posts)

  1. kaleidoscopecastaway
    Member
    Posted 2 years ago #

    First of all - great plugin, very user friendly!

    Secondly, for some reason checking the "Make Field Required" on a Custom File Upload variation doesn't seem to be working for me. I get error messages for the text fields I added if they are not filled in, but not for the file upload. I tried editing my theme copy of foxyshop-custom-upload.php directly to add "foxyshop required" to the appropriate inputs, but that doesn't seem to work either...am I missing something?

    And another question regarding custom uploads:
    I see in foxyshop-custom-upload.php a code snippet that I can "Use instead if you want to use timthumb to set the result as the product image in the cart" but I'm not sure which piece of code to substitute it for?

    Thanks for your help!

    http://wordpress.org/extend/plugins/foxyshop/

  2. sparkweb
    Member
    Plugin Author

    Posted 2 years ago #

    Hi there. Thanks for writing. I'm sorry about the delay in getting back to you. I was able to track down what's happening here and it had to do with a visibility filter which was getting a little too aggressive. I've dialed it back and it's working properly now. Please replace the following function in foxyshop/js/variation.process.jquery.js

    http://pastie.org/private/qsabzpcrbjtdcha1lue6za

    For anyone else finding this, this will be corrected in the 4.1.5+ release of FoxyShop.

    Regarding your timthumb question, I am trying to remember what I did here. I believe that you'll just comment out line 45 and uncomment those other lines. And make sure that timthumb is sitting in your root directory. You may have to tinker with it a little to get that to work. Let me know if you still run into any roadblocks and I'll dig up the site that I did this for.

    -David

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic