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

  1. Tboucher21
    Posted 2 years 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!


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic