WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: FoxyShop] Product Variations display key jquery not working

[Resolved] [Plugin: FoxyShop] Product Variations display key jquery not working

  • Michael

    @michaelcostanza

    Tried using a display key to trigger a product variation input, but nothing was happening. After digging around in variation.process.jquery.js, I noticed that the updateVariations() function was looking for an attribute that doesn’t exist (line 29: “displaykey” where it should have been “name”).

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author sparkweb

    @sparkweb

    The reason it uses the displaykey attribute is because anything that has a display key on it (supposed to be hidden until triggered on) gets one of those attributes. Here’s how it should be setup on the backend:

    http://i46.tinypic.com/e199w5.png

    If it’s still not working please post the url you are working on or email me at web at sparkweb [dot] net

    Michael

    @michaelcostanza

    Ah, I found the source of my confusion. I’m using a checkbox variation as the display key for a text input variation. I assumed that the name of the checkbox could be used as the display key for the text input. I didn’t realize that I needed to append {dkey=the_display_key} to the label text of the checkbox.

    All set now. Thanks for the quick response.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: FoxyShop] Product Variations display key jquery not working’ is closed to new replies.