WooCommerce 3.0 Compatibility with Product Bundles
-
Hi again,
Seeing the following notice related to direct accessing of product properties. I believe it’s coming from line 286 of class-jitso-woocommerce-product-bundles.php:
if ( $bundled_item->product->product_type == 'variable' ) {
[Jun 05, 15:51:46] product_type was called incorrectly. Product
properties should not be accessed directly. Backtrace:
do_action(‘wp_ajax_jitso_execute_accept_offer_actions’),
WP_Hook->do_action, WP_Hook->apply_filters,
JITSO_AJAX_Interfaces->jitso_execute_accept_offer_actions,
JITSO_Offer_Accept_Action->execute_accept_offer_actions,
apply_filters(‘jitso_accept_offer_action_add_bundle_product_to_cart’),
WP_Hook->apply_filters,
JITSO_WooCommerce_Product_Bundles->accept_offer_action_add_bundle_product_to_cart,
WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was
added in version 3.0.Thanks again,
Will
- The topic ‘WooCommerce 3.0 Compatibility with Product Bundles’ is closed to new replies.