• This has been asked many times, and none of the solutions in the threads seem to help me.

    I have I client who I just installed woocommerce for. The “Add to Cart” button doesn’t show up for variable products. I am losing my mind. Anyone have any solutions? Thank you in advance.

    Cheers from California!

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Roy Ho

    (@splashingpixelscom)

    What solutions have you tried?

    Thread Starter spy789

    (@spy789)

    I have tried disabling plugins, I have tried inserting this man-made code in functions.php

    function fix_woo_var_cart()
    {
      wp_enqueue_script('add-to-cart-variation', '/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart-variation.js',array('jquery'),'1.0',true);
    }
    add_action('wp_enqueue_scripts','fix_woo_var_cart');
    Thread Starter spy789

    (@spy789)

    This is the page.. I don’t know if you can see any errors with firebug?

    http://sajanascollection.com/product/327/

    Roy Ho

    (@splashingpixelscom)

    ….but have you tried the most important one…switching your theme to 2012 theme.

    Thread Starter spy789

    (@spy789)

    I have not. It’s a great suggestion. Let’s assume it does work.. does that mean the client can’t use their theme anymore?

    Roy Ho

    (@splashingpixelscom)

    That means it is your responsibility to make your current theme work with it…What is your PHP skill level? Have you looked at the docs on woothemes.com?

    Thread Starter spy789

    (@spy789)

    My php skill level is 0. I have looked thru the docs and videos, but I haven’t found one that addresses this issue. Some other company put this theme in for them. Isn’t there a way to force “Add to Cart” to show? I should mention, the “Add to Cart” button does show when it is a simple product.

    Roy Ho

    (@splashingpixelscom)

    Then perhaps get yourself a developer one with WC experience to do this for you or get a theme that is already WC compatible…

    Thread Starter spy789

    (@spy789)

    Anyone else have anymore tips? I saw a plethora of threads prior to mine. I would hate to believe that one has to get a developer anytime the “Add to Cart” button doesn’t show.

    @spy,
    The @splash-man is 100% correct… your theme is not playing well with woo, and the fix may be easy or hard, but would require someone skilled to do the triage.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘*Add to Cart* Not Showing for Variable Products’ is closed to new replies.