Support » Plugin: WooCommerce » *Add to Cart* Not Showing for Variable Products

  • 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!

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


    What solutions have you tried?

    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);

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

    Roy Ho


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

    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


    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

    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


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

    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.

    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.