• Resolved amgdre

    (@amgdre)


    Hello!

    I have saw in documentation that I can remove bundled product list (and display only the main title) on mini cart, cart and checkout. And set a manual price for that kit. Is that correct?
    Is that possible to also hide the bundled list on email order table too? And on order screen? I’d like to display only the main title and the manual price for the bundle.

    Thanks a lot!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @amgdre,

    We’re very sorry for late responces.

    Yes, you can hide bundled product list on mini cart, cart and checkout by setting in the backend of WPC Product Bundles. https://prnt.sc/18q4ox3

    You can try to add below snippet to current-theme (or child-theme) / functions.php if you would like to exclude bundled products list from the order:

    add_filter( 'woocommerce_order_get_items', 'woosb_exclude_bundled_from_order', 10, 1 );
    function woosb_exclude_bundled_from_order( $items ) {
    	foreach ( $items as $key => $item ) {
    		if ( $item->meta_exists( '_woosb_parent_id' ) ) {
    			unset( $items[ $key ] );
    		}
    	}
    
    	return $items;
    }

    Regards,

    tnhks

    Thread Starter amgdre

    (@amgdre)

    Thanks a lot!! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Order Table’ is closed to new replies.