Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #3231877
Bundled Items in shipstation
Closed

Comments

  • Kraig started the conversation

    when the orders for a bundled product come through to shipstation to ship the item it will show the bundled item purchased and then the individual items in that bundle with a $0.00 amount. This is confusing to the shipper because it appears they bought a bundle and also all of the individual parts. However, I did not see a way that you can make the individual items not attach to the order that is sent to shipstation. Any help would be appreciated.

    Attached files:  ShipStationBundle.jpg

  •  1,226
    Dustin replied

    Hi Kraig,

    We already have the Compatible settings here https://www.screencast.com/t/rvoNjaQM but seem that you aren't using these plugins.

    So, please try adding the below custom code (How to add custom code?)

    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;
    }

    If it doesn't work for you, please send me your website credentials (wp-admin link, username, password) then I can check and fix it for you. You also can create a dev/staging site with the same configurations then I'll work on it.

    Best regards,
    Dustin