Home › Forums › WooCommerce Personalized Product Options Manager (PPOM) › Issue with bundled Products › Reply To: Issue with bundled Products
September 27, 2018 at 11:07 am
#9458
Participant
I have managed to get this working, by adding this to functions.php
// REMOVE PPOM META FROM BUNDLED SUBITEMS
add_filter ( 'woocommerce_get_item_data', 'ppom_woocommerce_remove_item_meta', 9, 2 );
function ppom_woocommerce_remove_item_meta($item_data, $cart_item) {
if ( class_exists('WC_Bundles') && wc_pb_is_bundled_cart_item( $cart_item )) {
remove_filter ( 'woocommerce_get_item_data', 'ppom_woocommerce_add_item_meta', 10, 2 );
}
}
/* END REMOVE PPOM META FROM BUNDLED SUBITEMS */
For me this results in NO PPOM data on Bundled items.