• Resolved FletcherSyntax

    (@fletchersyntax)


    So I’ve read a bunch of threads and tried a bunch of things but I’m at the end of my rope cause I think it might be an issue specific to my site.

    https://www.divebartender.com

    I’ve added a t-shirt with size variations and I get no “add to cart” button when a size is selected.

    It seemed after reading a bunch of threads on this, that a lot of people were having this same issue. Unfortunately, they all seemed to need different solutions. So after trying like 5 different things, I turn to you people of wordpress forums for help. Can anyone please direct me to a solution for this?

    I’m using the newest version of WooCommerce 2.1.5

Viewing 1 replies (of 1 total)
  • Thread Starter FletcherSyntax

    (@fletchersyntax)

    Bam!

    Some dude wrote this and it worked! Case closed!

    add_action('wp_head','add_to_cart_script');
    function add_to_cart_script(){
    if(is_product()){
    wp_enqueue_script('wc-add-to-cart-variation');
    }
    }
Viewing 1 replies (of 1 total)
  • The topic ‘WooCommerce, Yootheme, Variation and no "Add To Cart" button’ is closed to new replies.