Home › Forums › Themes Support › Gecko › Fatal error: Uncaught Error: Call to undefined function wc_get_stock_htm
- This topic has 3 replies, 4 voices, and was last updated 7 years ago by Harry.
-
AuthorPosts
-
-
May 13, 2017 at 10:31 pm #4006
In simple products appear the next error:
Fatal error: Uncaught Error: Call to undefined function wc_get_stock_html() in /home/mariomon/public_html/wp-content/themes/gecko/core/libraries/vendors/woocommerce/templates/single-product/add-to-cart/simple.php:28 Stack trace: #0 /home/mariomon/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(203): include() #1 /home/mariomon/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(940): wc_get_template(‘single-product/…’) #2 /home/mariomon/public_html/wp-includes/class-wp-hook.php(298): woocommerce_simple_add_to_cart(”) #3 /home/mariomon/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array) #4 /home/mariomon/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /home/mariomon/public_html/wp-content/plugins/woocommerce/includes/wc-template-functions.php(929): do_action(‘woocommerce_sim…’) #6 /home/mariomon/public_html/wp-includes/class-wp-hook.php(298): woocommerce_template_single_add_to_cart(”) #7 /home/mariomon/public_html/ in /home/mariomon/public_html/wp-content/themes/gecko/core/libraries/vendors/woocommerce/templates/single-product/add-to-cart/simple.php on line 28
-
May 13, 2017 at 10:34 pm #4007
Hi,
Please upgrade WooCommerce to the latest version.
-
December 8, 2017 at 5:10 pm #14606
Hi,
I have activated “only 1 product to cart” option on product page. Whenever a user tries to add the product to cart twice, a small notification appears saying “undefined”. How do I remove this notification or change the error message to “Maximum one quantity. Product is already in cart. Kindly Checkout”
-
December 8, 2017 at 11:19 pm #14629
Hi Mikestar,
Could you create new topic and send us link of product you see the issue.
We check on our local it still work well http://take.ms/gvkql
Harry
Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio
-
-
AuthorPosts
You must be logged in to reply to this topic.