WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
*Add to Cart* Not Showing for Variable Products (11 posts)

  1. spy789
    Member
    Posted 11 months ago #

    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/

  2. Roy Ho
    Member
    Posted 11 months ago #

    What solutions have you tried?

  3. spy789
    Member
    Posted 11 months ago #

    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');
  4. spy789
    Member
    Posted 11 months ago #

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

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

  5. Roy Ho
    Member
    Posted 11 months ago #

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

  6. spy789
    Member
    Posted 11 months ago #

    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?

  7. Roy Ho
    Member
    Posted 11 months ago #

    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?

  8. spy789
    Member
    Posted 11 months ago #

    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.

  9. Roy Ho
    Member
    Posted 11 months ago #

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

  10. spy789
    Member
    Posted 11 months ago #

    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.

  11. vark
    Member
    Posted 11 months ago #

    @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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.