Support » Plugin: WooCommerce » Always display Add To Cart button without animation

  • So I have set the CSS for ‘single_variation_wrap’ to always display as block but when the page loads as well as when I go back to selecting the default selection in the variable drop down, the Add To Cart button reloads in he vertically swiping animation.

    Is there a way to remove this animation from happen so the Add To Cart is always available

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Could this be fixed?

    Could this be fixed?

    It’s animated via jQuery, so you’d have to somehow unhook the jQuery. Easiest way is probably to rename the HTML element IDs / classes, and adjust CSS to match the new names.

    Hey thanks for the response, but I think that could potentially lead to more problems because I’m sure a lot of other things are dependent on the class/ID. Is there a way to find the specific bit of code doing that animation?

    I have removed the following two lines of code and still getting the same issue
    $single_variation_wrap.slideDown('200').trigger( 'show_variation', [ variation ] );
    $variation_form.find('.single_variation_wrap').slideUp('200');

    Here’s a test page
    http://coreytegeler.com/bolivares/shop/salvador-crewneck-sweater-copy/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Always display Add To Cart button without animation’ is closed to new replies.