Notice: Function 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/leg-theme/woocommerce/single-product.php'), wc_get_template_part, load_template, require('/themes/leg-theme/woocommerce/content-single-product.php'), do_action('woocommerce_after_single_product'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_output_related_products, woocommerce_related_products, wc_get_template, include('/themes/leg-theme/woocommerce/single-product/related.php'), wc_get_template_part, load_template, require('/themes/leg-theme/woocommerce/content-product-lite.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('/themes/leg-theme/woocommerce/loop/add-to-cart.php'), WC_Product_Simple->add_to_cart_text, apply_filters('woocommerce_product_add_to_cart_text'), WP_Hook->apply_filters, woocommerce_add_to_cart_button, 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/londones/public_html/wp-includes/functions.php on line
6031
Add to Cart