Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter rboulet

    (@rboulet)

    Updated WooC & still using the 2013 theme. Still can’t get the Add to Cart button to show after making variable selections. Still can’t get the ‘clear selection’ link to work as well.

    Thanks for the assist anyone!

    Having the exact same problem myself. Am yet to find anyone that has solved the issue though!

    The problem appears even with the most basic site using woocommerce as the only activated plugin meaning there are no plugin conflicts. This problem also is present no matter what theme i use. So there is no theme conflict either.

    I’m confused too.

    Thread Starter rboulet

    (@rboulet)

    FYI, I tried the solution from an earlier post:

    https://docs.woothemes.com/document/jquery-cookie-fails-to-load/

    This still did not resolve things. (on a shared platform, so I used the DIY instructions. Also, the github link for changes the host could make was a 404 not found.)

    Thread Starter rboulet

    (@rboulet)

    Ok and now Firebug is telling me the browser isn’t using that code yet. I guess I’ll walk away for now & see if a little flush does the trick

    Having this issue with IE only. Im using IE9. I opened the developer tools and i changed my browser mode to IE8 the button shows up. When I switch it back to IE9 and refresh the check out button shows up..

    Here’s the answer.

    Add this code to your functions file and the Add to cart buttons will appear.

    function mv_my_theme_scripts()
    {
    wp_enqueue_script('add-to-cart-variation', plugins_url() . '/woocommerce/assets/js/frontend/add-to-cart-variation.js',array('jquery'),'1.0',true);
    }
    add_action('wp_enqueue_scripts','mv_my_theme_scripts');

    I brought the site up on another computer and was able to replicate the issue. I brought up IE’s developer tools and opened console and refreshed the page to see if any errors were generated… and after refreshing the add to cart button loaded.

    I’m wondering if something is failing to load when the page first loads.

    Thread Starter rboulet

    (@rboulet)

    Hey Ruth!

    I should’ve mentioned that I tried your solution first, to no avail unfortunately.

    I had this problem this morning and this is what I did…

    1. changed theme I was using to default 2013 that didn’t fix it
    2. deactivated all plugins except Woo and that didn’t fix it
    3. Created a functions.php file in my child theme with the code above wrapped in php tags and that worked.

    I just looked on IE and fortunately it’s working there for me.

    I hope you find the solution for your IE issue.

    Ruth your solution worked perfectly. Even in IE.
    Thank you!

    The ‘clear selection’ link is not working for me either.

    Thread Starter rboulet

    (@rboulet)

    Drat. Mine’s a plugin conflict. Thanks for the assist… now to figure out which one it is…

    Thread Starter rboulet

    (@rboulet)

    Aha! It was the Root Relative plugin that was installed by default by my host. In case anyone else runs into this issue – try turning this off & installing Ruth’s code above.

    Thanks Ruth! That worked great!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘No Add to cart with variable products’ is closed to new replies.