WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
After update, Add to Cart button missing (1 post)

  1. Tboucher21
    Member
    Posted 6 months ago #

    After updating wordpress (to (v3.6.1)and all of my plugins, my add to cart button is now missing from all of my product pages.

    I have done some research and am thinking that it is most likely a JavaScript error. I think I have pinpointed the problem area in the WooCommerce code, but I am still unsure on how to fix it.

    My website is Lifefarout.com

    This is the code area in woocommerce that i believe has the issue.

    // Queue frontend scripts conditionally
    if ( $ajax_cart_en )
    wp_enqueue_script( 'wc-add-to-cart', $frontend_script_path . 'add-to-cart' . $suffix . '.js', array( 'jquery' ), $this->version, true );

    if ( is_cart() )
    wp_enqueue_script( 'wc-cart', $frontend_script_path . 'cart' . $suffix . '.js', array( 'jquery' ), $this->version, true );

    I would greatly appreciate any advice that could help me out.

    Thank You!

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

Reply

You must log in to post.

About this Plugin

About this Topic