Hi
In the products shop url, there are some messages on some products.
We compre products with erro message and without erro message but cant find the diffrence and why this error.
Please can you help us debug this ?
Notice: product_type was called incorrectly. Product properties should not be accessed directly. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/xstore/woocommerce/archive-product.php'), wc_get_template_part, load_template, require('/themes/xstore/woocommerce/content-product.php'), do_action('woocommerce_after_shop_loop_item'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_template_loop_add_to_cart, wc_get_template, include('/plugins/woocommerce/templates/loop/add-to-cart.php'), WC_Product_Simple->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP_Hook->apply_filters, custom_woocommerce_product_add_to_cart_text, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 3.0.) in /home/customer/www/dev.sommier.biz/public_html/wp-includes/functions.php on line 4986