WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: FoxyShop] "Make Field Required" Not Working for Custom File Upload

[Resolved] [Plugin: FoxyShop] "Make Field Required" Not Working for Custom File Upload

  • kaleidoscopecastaway
    Member

    @kaleidoscopecastaway

    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/

Viewing 1 replies (of 1 total)
  • Plugin Author sparkweb
    Participant

    @sparkweb

    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

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: FoxyShop] "Make Field Required" Not Working for Custom File Upload’ is closed to new replies.